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

DB2 MIGHT ABEND OR PRODUCE SQL0901N WHEN EXECUTING QUERY WITH LIKE
PREDICATE IN ORA MODE

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
Under rare scenarios, DB2 might abend when the following 
conditions are true: 
1) DB2 is running with DB2_COMPATIBILITY_VECTOR=ORA 
2) The query contains one or more LIKE predicates 
3) The query contains a UNION with at least 2 branches. 
4) The column referenced in the LIKE predicate is of datatype 
CHAR/GRAPHIC 
5) The same column is also referenced in the output columns of 
the UNION ALL branches and is a complex expression with a 
resulting datatype of VARCHAR/VARGRAPHIC in at least one branch. 
 
 
You may see the following in the trap file: 
 
<POFDisassembly> 
 _ZNK9sqlnq_pid2opEv + 0x0000 
 
</POFDisassembly> 
<StackTrace> 
-----FUNC-ADDR---- ------FUNCTION + OFFSET------
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* V9.7                                                         * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Explicitly cast the LIKE predicate column to be of type      * 
* VARCHAR                                                      * 
* or VARGRAPHIC                                                * 
****************************************************************
Local Fix:
Explicitly cast the LIKE predicate column to be of type VARCHAR 
or VARGRAPHIC
Solution
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
16.03.2015
15.10.2015
15.10.2015
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.11 FixList