Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC89918 Status: Closed

A FEDERATED QUERIY CONTAINING SUBQUERY PREDICATES MAY FAIL WITH SQL0901N IN
AN SMP ENVIRONMENT.

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
In SMP mode, a federated query containing subquery predicates 
may fail with SQL0901N during compilation. 
An example of the failing query: 
SELECT 1 FROM NNT1 A  WHERE    (EXISTS(SELECT 1 FROM NNT2 WHERE 
C1=LOCALFUNC1('test')) OR C2='test'); 
where NNT1/NNT2 are remote tables and LOCALFUNC1 is a local 
function that accesses local tables. 
 
Error received: 
SQL0901N  The SQL statement failed because of a non-severe 
system error. 
Subsequent SQL statements can be processed.  (Reason 
"sqlnoSmpPlanShipOp 
[100]:rc(     0)                ".)  SQLSTATE=58004 
 
The following error stack can be found in the trace: 
-------Frame------ ------Function + Offset------ 
0x09000000004CD6B0 pthread_kill + 0xB0 
0x0900000005255D48 sqloDumpEDU + 0xA4 
0x09000000052B43BC sqldDumpContext__FP9sqeBsuEduiN42PCcPvT2 + 
0x100 
0x0900000005215250 
sqldDumpContext__FP9sqeBsuEduiN42PCcPvT2@glue59B + 0x98 
0x0900000005690BBC sqlrr_dump_ffdc__FP8sqlrr_cbiT2 + 0x360 
0x0900000009243FD4 sqlzeDumpFFDC__FP8sqeAgentUiP5sqlcai + 0x50 
0x0900000005920798 sqlzeSqlCode__FP8sqeAgentUiUlT2P5sqlcaiUsPc + 
0x238 
0x09000000055D96DC sqlnn_erds__FiN41e + 0x340 
0x09000000082B2600 
sqlnoSmpPlanShipOp__FP20SQLNO_SMP_POSTOPT_CBP21SQLNO_POSTOPT_CON 
TEXTPP19sqlno_plan_operator + 0x400 
0x09000000082ACCCC 
sqlnoSmpPlanNLJNOp__FP20SQLNO_SMP_POSTOPT_CBP21SQLNO_POSTOPT_CON 
TEXTPP19sqlno_plan_operator + 0xB38 
0x09000000082ACCCC 
sqlnoSmpPlanNLJNOp__FP20SQLNO_SMP_POSTOPT_CBP21SQLNO_POSTOPT_CON 
TEXTPP19sqlno_plan_operator + 0xB38 
0x09000000082B02A8 
sqlnoSmpPlanMateOp__FP20SQLNO_SMP_POSTOPT_CBP21SQLNO_POSTOPT_CON 
TEXTPP19sqlno_plan_operator + 0x54C 
0x09000000082B0678 
sqlnoSmpPlanPipeOp__FP20SQLNO_SMP_POSTOPT_CBP21SQLNO_POSTOPT_CON 
TEXTPP19sqlno_plan_operator + 0x340 
0x09000000082C7054 
sqlno_smp_process_subsection__FP20SQLNO_SMP_POSTOPT_CBP19sqlno_p 
lan_operatorP17sqlno_smp_ss_info + 0x444 
0x09000000082B612C 
sqlnoSmpPlanPass__FP20SQLNO_SMP_POSTOPT_CBP19sqlno_plan_operator 
P13sqlno_costtyp + 0x6C8 
0x09000000082B5934 sqlnoSmpPostPassMain + 0x2F8 
0x090000000658EA9C sqlno_final_phase__FP13sqlno_globals + 0x5B0 
0x0900000008E1A9D0 sqlno_exe__FP9sqlnq_qur + 0x638 
0x0900000008FE9084 sqlno_exe__FP9sqlnq_qur@glue1754 + 0x84 
0x0900000008FE91D0 
sqlnn_cmpl__FP8sqeAgentP11sqlrrstrings17sqlnn_compileModeT3P14sq 
lrr_cmpl_enviT7PP9sqlnq_qur + 0x94 
0x09000000090987E8 
sqlnn_cmpl__FP8sqeAgentP11sqlrrstrings17sqlnn_compileModeT3P14sq 
lrr_cmpl_env + 0x40
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All users running DB2 v10.1 FP1 or earlier.                  * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 v10.1 Fix Pack 2.                             * 
****************************************************************
Local Fix:
Disable SMP
Solution
The problem was fixed in DB2 v10.1 Fix Pack 2.
Workaround
Disable SMP
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
30.01.2013
19.02.2013
19.02.2013
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)