DB2 - Problem description
Problem IC79607 | Status: Closed |
QUERY COMPILER RETURNS -901 WITH ERROR MESSAGE "HAD TROUBLES WHILE REMOVING AN UNREFERENCED QCL." | |
product: | |
DB2 FOR LUW / DB2FORLUW / 950 - DB2 | |
Problem description: | |
If a query contains content like 'T1 LEFT OUTER JOIN T2 WHERE T2.COL IS NULL', the query compiler may return -901 error like below: SQL0901N The SQL statement failed because of a non-severe system error. Subsequent SQL statements can be processed. (Reason "Had troubles while removing an unreferenced QCL.".) SQLSTATE=58004 When the error is hit, the compiler error stack will be logged in db2diag.log like the following: Compiler error stack for rc = -2144272298: sqlnn_cmpl[370] sqlnr_exe[1200] sqlnr_rcc[100] sqlnr_seq[100] sqlnr_comp[110] sqlnr_optprep_action[100] sqlnr_optprep[125] sqlnr_Manual2NativeAJ[85] | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * DB2 V9.5 users * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 V9.5FP9 * **************************************************************** | |
Local Fix: | |
db2set DB2_ANTIJOIN=NO | |
available fix packs: | |
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows | |
Solution | |
Fix in DB2 V9.5FP9 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 03.11.2011 28.03.2012 28.03.2012 |
Problem solved at the following versions (IBM BugInfos) | |
9.5.FP9 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.5.0.9 |