home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IT10951 Status: Geschlossen

SQL0901N ERROR MAY OCCUR WHEN THERE ARE XML PREDICATES IN THE QUERY AND XML
INDEXES DEFINED ON THE TABLE.

Produkt:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problembeschreibung:
When the statement includes XML predicates such as XMLEXISTS, 
filters within XMLTABLE, or native XQuery and it accesses XML 
indexes, it may fail with SQL0901N error.  This issue is in only 
applicable to v10.5 FP5 and v10.5 FP6 and does not affect 
earlier fixpaks or releases. 
 
  The combination of XML with ROWNUM in a predicate and the FOR 
FETCH ONLY clause will be a little more susceptible of this 
issue flow. 
 
  For example, when processing from JCC, db2 does some checks 
for the based on the cursor type and then invokes the processing 
equivalent to the FOR FETCH ONLY clause, and the endpoint 
SystemOut.log will have the following exception: 
 
ConnectionEve A J2CA0056I: The Connection Manager received a 
fatal connection error from the Resource Adapter for resource 
jdbc/activities. The exception is: 
com.ibm.db2.jcc.am.SqlException: The SQL statement or command 
failed because of a database system error. (Reason 
"sqlnq_qtbtbuerchild::delpr[ 10]:rc(     0)                "). 
SQLCODE=-901, SQLSTATE=58004, DRIVER=3.68.61 
 
  And the following messsage will be logged in db2diag.log in 
this case. 
 
2015-05-22-09.55.06.571269+540 I111362876G1017      LEVEL: 
Severe 
PID     : 2288                 TID : 2429545328     PROC : 
db2sysc 
INSTANCE: db2inst1             NODE : 000           DB   : 
DBNAME 
APPHDL  : 0-8650               APPID: 
10.231.164.108.51143.150522005459 
AUTHID  : DB2INST1             HOSTNAME: hostname 
EDUID   : 330                  EDUNAME: db2agent (DBNAME) 
FUNCTION: DB2 UDB, relation data serv, sqlrr_dump_ffdc, 
probe:250 
MESSAGE : ZRC=0x803100FD=-2144272131=SQLNN_E_QGMSYS 
          "generic error associated with system" 
DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes 
 sqlcaid : SQLCA     sqlcabc: 136   sqlcode: -901   sqlerrml: 58 
 sqlerrmc: sqlnq_qtbtbuerchild::delpr[ 10]:rc(     0) 
 sqlerrp : SQLNN067 
 sqlerrd : (1) 0x803100FD      (2) 0x000000FD      (3) 
0x00000000 
           (4) 0x00000000      (5) 0xFFFFFDA8      (6) 
0x00000000 
 sqlwarn : (1)      (2)      (3)      (4)        (5)       (6) 
           (7)      (8)      (9)      (10)        (11) 
 sqlstate: 
 
2015-05-22-09.55.07.281230+540 E111417681G2047      LEVEL: Info 
(Origin) 
PID     : 2288                 TID : 2429545328     PROC : 
db2sysc 
INSTANCE: db2inst1             NODE : 000           DB   : 
DBNAME 
APPHDL  : 0-8650               APPID: 
10.231.164.108.51143.150522005459 
AUTHID  : DB2INST1             HOSTNAME: hostname 
EDUID   : 330                  EDUNAME: db2agent (DBNAME) 
FUNCTION: DB2 UDB, SW- common services, sqlnn_cmpl, probe:650 
MESSAGE : ZRC=0x803100FD=-2144272131=SQLNN_E_QGMSYS 
          "generic error associated with system" 
DATA #1 : String, 62 bytes 
An unexpected error was detected during statement compilation. 
DATA #2 : Boolean, 1 bytes 
false 
DATA #3 : Boolean, 1 bytes 
false 
DATA #4 : Boolean, 1 bytes 
true 
DATA #5 : Boolean, 1 bytes 
false 
DATA #6 : Hex integer, 4 bytes 
0x00000000 
DATA #7 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes 
 sqlcaid : SQLCA     sqlcabc: 136   sqlcode: -901   sqlerrml: 58 
 sqlerrmc: sqlnq_qtbtbuerchild::delpr[ 10]:rc(     0) 
 sqlerrp : SQLNN067 
 sqlerrd : (1) 0x803100FD      (2) 0x000000FD      (3) 
0x00000000 
           (4) 0x00000000      (5) 0xFFFFFDA8      (6) 
0x00000000 
 sqlwarn : (1)      (2)      (3)      (4)        (5)       (6) 
           (7)      (8)      (9)      (10)        (11) 
 sqlstate: 
DATA #8 : Hex integer, 4 bytes 
0x00000040 
DATA #9 : String with size, 288 bytes 
SELECT id, info FROM xml_table WHERE 
(XMLEXISTS('$d/master[delete-flag/text() = "0"]' PASSING info AS 
"d")) AND (numer = '2000000000149') AND status = '0' AND (ROWNUM 
BETWEEN 1 AND 1) 
DATA #10: String, 367 bytes 
Compiler error stack for rc = -2144272131: 
sqlnn_cmpl[370] 
sqlnr_exe[1200] 
sqlnr_rcc[100] 
sqlnr_seq[100] 
sqlnr_comp[110] 
sqlnr_optprep_action[100] 
sqlnr_optprep_chunk2[411] 
sqlnr_xq_native_optprep[4600] 
sqlnq_qur::remove_orphaned[120] 
sqlnq_qtb::box_drop_ts[130] 
sqlnq_qtb::drop[250] 
sqlnq_qtbtbueeparent::delc[20] 
sqlnq_tbu::drop[120] 
sqlnq_qtbtbuerchild::delpr[10]
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* XML predicates user                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to db2 Version 10.5 FixPack 7 or higher              * 
****************************************************************
Local-Fix:
Lösung
Problem was first fixed in Version 10.5 FixPack 7
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
27.08.2015
20.01.2016
20.01.2016
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.5.0.7 FixList