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

EXECUTION OF A QUERY CONTAINING SCALAR SUBQUERY OUTPUT COLUMN REFERENCE
MAY FAIL WITH SQL0901N IN A DPF ENVIRONMENT

Produkt:
DB2 FOR LUW / DB2FORLUW / 980 - DB2
Problembeschreibung:
Execution of a query may fail with SQL0901N if the following 
conditions are satisfied: 
- Database is Data Partitioning Feature (DPF) enabled 
- Query or a view it references or one of its nested subselects 
contains a scalar subquery (SSQ) reference in the output column 
list 
- SSQ contains an equi-join predicate that directly references a 
local column and a column from the query that references SSQ 
- An SSQ output column (SSQOC) is from a base table or view (on 
at least one base table) that is referenced inside SSQ 
- SSQOC is used for output in the query column that references 
SSQ 
- SSQOC is not used in any predicates in the query that 
references SSQ 
 
The SQL0901N will look something like: 
SQL0901N  The SQL statement failed because of a non-severe 
system error. 
Subsequent SQL statements can be processed.  (Reason "probe 030 
in 
sqlkt_pack_tuple(), msg=cold=NULLABLE zvalue=NONULLS col(".) 
SQLSTATE=58004 
 
Corresponding entries in the db2diag.log may look something 
like: 
YYYY-MM-dd-hh.mm.SS.ssssss+sss xxxxxxxxxxx        LEVEL: Severe 
PID     : nnnnnnn              TID  : nnnn        PROC : db2sysc 
n 
INSTANCE: xxxxxxx              NODE : nnn         DB   : 
xxxxxxxx 
APPHDL  : nnn-nnnnn            APPID: *xxxx.xxxxxxx.nnnnnnnnnnnn 
AUTHID  : xxxxxxx 
EDUID   : nnnn                 EDUNAME: db2agntp (xxxxxxxx) n 
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: 70 
 sqlerrmc: probe 030 in sqlkt_pack_tuple(), msg=cold=NULLABLE 
zvalue=NONULLS col( 
 sqlerrp : SQLRI088 
 sqlerrd : (1) 0xhhhhhhhh      (2) 0xhhhhhhhh      (3) 
0xhhhhhhhh 
           (4) 0xhhhhhhhh      (5) 0xhhhhhhhh      (6) 
0xhhhhhhhh 
 sqlwarn : (1)      (2)      (3)      (4)        (5)       (6) 
           (7)      (8)      (9)      (10)        (11) 
 sqlstate:
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* EXECUTION OF A QUERY CONTAINING SCALAR SUBQUERY OUTPUT       * 
* COLUMN                                                       * 
* REFERENCE MAY FAIL WITH SQL0901N IN A DPF ENVIRONMENT        * 
*                                                              * 
* Execution of a query may fail with SQL0901N if the following * 
*                                                              * 
* conditions are satisfied:                                    * 
*                                                              * 
* - Database is Data Partitioning Feature (DPF) enabled        * 
*                                                              * 
* - Query or a view it references or one of its nested         * 
* subselects                                                   * 
* contains a scalar subquery (SSQ) reference in the output     * 
* column                                                       * 
* list                                                         * 
*                                                              * 
* - SSQ contains an equi-join predicate that directly          * 
* references a                                                 * 
* local column and a column from the query that references SSQ * 
*                                                              * 
* - An SSQ output column (SSQOC) is from a base table or view  * 
* (on                                                          * 
* at least one base table) that is referenced inside SSQ       * 
*                                                              * 
* - SSQOC is used for output in the query column that          * 
* references                                                   * 
* SSQ                                                          * 
*                                                              * 
* - SSQOC is not used in any predicates in the query that      * 
*                                                              * 
* references SSQ                                               * 
*                                                              * 
*                                                              * 
*                                                              * 
* The SQL0901N will look something like:                       * 
*                                                              * 
* SQL0901N  The SQL statement failed because of a non-severe   * 
*                                                              * 
* system error.                                                * 
*                                                              * 
* Subsequent SQL statements can be processed.  (Reason "probe  * 
* 030                                                          * 
* in                                                           * 
*                                                              * 
* sqlkt_pack_tuple(), msg=cold=NULLABLE zvalue=NONULLS col(".) * 
*                                                              * 
* SQLSTATE=58004                                               * 
*                                                              * 
*                                                              * 
*                                                              * 
* Corresponding entries in the db2diag.log may look something  * 
*                                                              * 
* like:                                                        * 
*                                                              * 
* YYYY-MM-dd-hh.mm.SS.ssssss+sss xxxxxxxxxxx        LEVEL:     * 
* Severe                                                       * 
* PID    : nnnnnnn              TID  : nnnn        PROC :      * 
* db2sysc                                                      * 
* n                                                            * 
*                                                              * 
* INSTANCE: xxxxxxx              NODE : nnn        DB  :       * 
*                                                              * 
* xxxxxxxx                                                     * 
*                                                              * 
* APPHDL  : nnn-nnnnn            APPID:                        * 
* *xxxx.xxxxxxx.nnnnnnnnnnnn                                   * 
* AUTHID  : xxxxxxx                                            * 
*                                                              * 
* EDUID  : nnnn                EDUNAME: db2agntp (xxxxxxxx) n  * 
* 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: 70 * 
* sqlerrmc: probe 030 in sqlkt_pack_tuple(), msg=cold=NULLABLE * 
*                                                              * 
* zvalue=NONULLS col(                                          * 
*                                                              * 
* sqlerrp : SQLRI088                                           * 
*                                                              * 
* sqlerrd : (1) 0xhhhhhhhh      (2) 0xhhhhhhhh      (3)        * 
*                                                              * 
* 0xhhhhhhhh                                                   * 
*                                                              * 
*           (4) 0xhhhhhhhh      (5) 0xhhhhhhhh      (6)        * 
*                                                              * 
* 0xhhhhhhhh                                                   * 
*                                                              * 
* sqlwarn : (1)      (2)      (3)      (4)        (5)      (6) * 
*                                                              * 
*           (7)      (8)      (9)      (10)        (11)        * 
*                                                              * 
* sqlstate:                                                    * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 9.8 Fix Pack 3.                       * 
****************************************************************
Local-Fix:
None exists apart from manually rewriting the query in question 
to preclude the conditions described
verfügbare FixPacks:
DB2 Version 9.8 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.8 Fix Pack 4 for AIX and Linux
DB2 Version 9.8 Fix Pack 5 for AIX and Linux

Lösung
Problem was first fixed in DB2 Version 9.8 Fix Pack 3.
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
30.04.2010
10.01.2011
10.01.2011
Problem behoben ab folgender Versionen (IBM BugInfos)
9.8.FP3
Problem behoben lt. FixList in der Version
9.8.0.3 FixList