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 IC73693 Status: Closed

QUERY CONTAINING AN OUTPUT COALESCE(<COL1>,<COL2>) AND A
PREDICA TE <COL2>=<CONST> MAY FAIL WITH SQL0901N IN A DPF
ENVIRONMENT

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
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 an expression of COALESCE (or its synonym VALUE) scalar 
function in the output column list 
- A column <col> used in the COALESCE function is also used in a 
equality predicate <col> = <const> where <const> is a constant 
or 
a host variable or a special register. 
 
The SQL0901N error message contains the following text: 
 
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
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* db2 v970                                                     * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* QUERY CONTAINING AN OUTPUT COALESCE(<COL1>,<COL2>) AND A     * 
* PREDICATE <COL2>=<CONST> MAY FAIL WITH SQL0901N IN A DPF     * 
* ENVIRONMENT                                                  * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* upgrade to db2_v97fp4                                        * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
Should not see SQL0901N fix in db2_v97fp4
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
06.01.2011
04.05.2011
04.05.2011
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.4 FixList