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 IC72687 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 / 950 - 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_v95fp5                                                   * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* IN A DPF ENVIRONMENT, QUERY CONTAINING AN OUTPUT             * 
* COALESCE(<COL1>,<COL2>) AND A PREDICATE <COL2>=<CONST> MAY   * 
* FAIL WITH SQL0901N                                           * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to db2_v95fp8                                        * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 for Linux, UNIX, and Windows

Solution
Fix in db2_v95fp8
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC73693 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
18.11.2010
22.07.2011
22.07.2011
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
9.5.0.8 FixList