home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
14.10.xC11 FixList
12.10.xC16.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

Informix - Problem description

Problem IC61048 Status: Closed

RUNNING A SIMPLE SELECT WITH A SUB SELECT AND GETTING ERROR -768INTERNAL
ERROR IN ROUTINE AJ_ATTJL

product:
IBM IDS ENTRP E / 5724L2304 / B15 - IDS 11.50
Problem description:
Running a simple select with a sub select returns a -768 
internal error in routine aj_attjl 
 
select tap.as_of_datetime, tap.nike_fund_id, tap.preadd_qty 
, exists ( 
   select 1 from refr_share rs 
   join security_hist sh2 
     on sh2.nike_secrty_id = rs.nike_secrty_id 
     and sh2.history_nbr = 0 
     and sh2.secrty_class = 'DEBT' 
   where rs.nike_fund_id = tap.nike_fund_id //does not work 
  // where rs.nike_fund_id = tc.nike_fund_id   //works 
   and rs.as_of_date = 
      (select max(rs2.as_of_date) 
       from refr_share rs2 
       where rs2.nike_fund_id = rs.nike_fund_id 
       and rs2.nike_secrty_id = rs.nike_secrty_id 
       and rs2.as_of_date <= date(tap.as_of_datetime)) //does 
not work 
       //and rs2.as_of_date <= date(tc.as_of_datetime))  //works 
   and rs.qty is not null 
  ) has_treasury 
from trust_add_position tap 
join trust_cash tc 
 on tc.nike_fund_id = tap.nike_fund_id 
 and tc.as_of_datetime = tap.as_of_datetime 
where tap.as_of_datetime = '2009-04-21 16:00:00.000' 
and tap.nike_fund_id = 5986
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All users running a query which involves ansi-join with a    * 
* subquery with filters that can be promoted.                  * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* A query which involves an ansi-join with a filter that uses  * 
* a subquery with a filter which can be promoted might return  * 
* -768 error.                                                  * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to IDS 11.50.xC5 or above                            * 
****************************************************************
Local Fix:
Solution
Problem first fixed in IDS 11.50.xC5.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
06.05.2009
19.01.2010
19.01.2010
Problem solved at the following versions (IBM BugInfos)
11.50.xC5
Problem solved according to the fixlist(s) of the following version(s)
11.50.xC5 FixList