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 IT06501 Status: Geschlossen

QUERY CONTAINING A PREDICATE REFERENCING AN XMLTABLE COLUMN IN CORRELATED
QUERY BLOCK MAY FAIL WITH SQL0901 ERROR

Produkt:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problembeschreibung:
A query which satisfies the following conditions may fail with 
an SQL0901N error: 
 
(a) the query references an XMLTABLE 
(b) the query references a column from the XMLTABLE in a 
correlated query block 
(c) the query also references the same column outside the 
correlated query block. 
 
For example: 
 
SELECT 
FROM XMLTABLE(.... 
              COLUMNS "C2" INTEGER  PATH ..., 
             ) AS XT, 
     T1 
WHERE T1.C1 = (SELECT MAX(T2.C1) 
              FROM T2 
              WHERE T2.C1 <= XT.C2) AND 
      XT.C2 >= 5 
 
The db2diag.log will show a message similar to the following: 
 
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: 29 
 sqlerrmc: contextPid must be of XMLTYPE 
 sqlerrp : SQLNQ82A 
 sqlerrd : (1) 0x00000000      (2) 0x00000000      (3) 
0x00000000 
           (4) 0x00000000      (5) 0xFFFFFF9C      (6) 
0x00000000 
 sqlwarn : (1)      (2)      (3)      (4)        (5)       (6) 
 
           (7)      (8)      (9)      (10)        (11)
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to V10.1 FP5                                         * 
****************************************************************
Local-Fix:
Lösung
First fixed in V10.1 FP5
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
14.01.2015
16.07.2015
16.07.2015
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.1.0.5 FixList