home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
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 IC69229 Status: Closed

SQL0901N MAY BE RETURNED FROM RUNNING A QUERY.

product:
DB2 FOR LUW / DB2FORLUW / 910 - DB2
Problem description:
SQL0901N may be returned when running a query. 
 
 
The complete error message may look like this: 
 
SQL0901N  The SQL statement failed because of a non-severe 
system error. 
Subsequent SQL statements can be processed.  (Reason 
"this->oprprd.op() != 
NULLP".)  SQLSTATE=58004 
 
 
 
db2diag messages may look as follows: 
 
2010-06-08-06.03.20.903000-240 I42694F869         LEVEL: Severe 
PID     : 3692                 TID  : 2772        PROC : 
db2syscs.exe 
INSTANCE: DB2                  NODE : 000         DB   : SAMPLE 
APPHDL  : 0-2688               APPID: GA070292.HC0F.127D08100227 
AUTHID  : db2inst1 
EDUID   : 2772                 EDUNAME: db2agent (SAMPLE) 
FUNCTION: DB2 UDB, relation data serv, sqlrr_dump_ffdc, 
probe:300 
DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes 
 sqlcaid : SQLCA     sqlcabc: 136   sqlcode: -901   sqlerrml: 26 
 sqlerrmc: this->oprprd.op() != NULLP 
 sqlerrp : SQLNQ0CA 
 sqlerrd : (1) 0x00000000      (2) 0x00000000      (3) 
0x00000000 
           (4) 0x00000000      (5) 0xFFFFFECA      (6) 
0x00000000 
 sqlwarn : (1)      (2)      (3)      (4)        (5)       (6) 
           (7)      (8)      (9)      (10)        (11) 
 sqlstate: 
 
 
2010-06-08-06.03.22.950000-240 E68922F849         LEVEL: Info 
(Origin) 
PID     : 3692                 TID  : 2772        PROC : 
db2syscs.exe 
INSTANCE: DB2                  NODE : 000         DB   : SAMPLE 
APPHDL  : 0-2688               APPID: GA070292.HC0F.127D08100227 
AUTHID  : db2inst1 
EDUID   : 2772                 EDUNAME: db2agent (SAMPLE) 
FUNCTION: DB2 UDB, SW- common services, sqlnn_cmpl, probe:650 
MESSAGE : ZRC=0x803100AF=-2144272209=SQLNN_E_BADNEWS 
          "unexpected error but state is OK" 
DATA #1 : String, 302 bytes 
Compiler error stack for rc = -2144272209: 
sqlnn_cmpl[370] 
sqlnr_exe[1200] 
sqlnr_rcc[100] 
sqlnr_seq[100] 
sqlnr_comp[110] 
sqlnr_optprep_action[100] 
sqlnr_optprep[660] 
sqlnr_inject_sel4nonlocal[700] 
sqlnq_qur::remove_orphaned[120] 
sqlnq_qtb::box_drop_ts[120] 
sqlnq_opr::drop[200] 
sqlnq_opr::destroy[310]
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* SQL0901N may be returned when running a query.               * 
*                                                              * 
*                                                              * 
*                                                              * 
* The complete error message may look like this:               * 
*                                                              * 
*                                                              * 
*                                                              * 
* SQL0901N  The SQL statement failed because of a non-severe   * 
* system error.                                                * 
*                                                              * 
* Subsequent SQL statements can be processed.  (Reason         * 
* "this->oprprd.op() != NULLP".)  SQLSTATE=58004               * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Update to Version 9.1 Fix Pack 10                            * 
****************************************************************
Local Fix:
As a temporary workaround, 
 
use the optimization level 3: 
 
db2 set current query optimization 3
available fix packs:
DB2 Version 9.1 Fix Pack 10  for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 11  for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 12  for Linux, UNIX and Windows

Solution
Problem was first fixed in Version 9.1 Fix Pack 10
Workaround
or 
 
Reduce optimization level 
 
e.g. db2 set current query optimization 3
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
16.06.2010
22.06.2011
22.06.2011
Problem solved at the following versions (IBM BugInfos)
9.1.FP10
Problem solved according to the fixlist(s) of the following version(s)
9.1.0.10 FixList