DB2 - Problem description
Problem IC89160 | Status: Closed |
DB2 MIGHT ABEND WHILE EXECUTING A COMPOUND SQL STATEMENT | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
DB2 provides support for compound SQL (compiled) statements aka Anonymous Blocks. Such blocks do not allow any DDL statements to be present inside and are expected to return a SQL0104N error message. However, under rare scenarios, the execution of such a block containing the DDL statement might cause DB2 to abend if the following conditions are satisfied: 1. The anonymous blocks declares one or more DDL statements 2. The block also contains one or more statements which has an isolation level set on them. ============================ The crash was with signal 11 as below ============================ 0x00002AAAABA6BB18 _ZNK17sqlnq_qtbqunchild2ppEv + 0x0000 (/db2home/dwpinst1/sqllib/lib64/libdb2e.so.1) 0x00002AAAACF57920 _Z30sqlnq_push_sub_select_iso_lockP9sqlnq_qun20sqlnq_isolationLe vel14sqlnq_lockModei 0x0056 (/db2home/dwpinst1/sqllib/lib64/libdb2e.so.1) 0x00002AAAABE12317 _Z15sqlnq_postParseP9sqlnq_qurP3loc + 0x05a7 (/db2home/dwpinst1/sqllib/lib64/libdb2e.so.1) 0x00002AAAABD32F5D _Z10sqlnn_cmplP8sqeAgentP11sqlrrstrings17sqlnn_compileModesP14sq lrr_cmpl _enviiPP9sqlnq_qur + 0x0bcb (/db2home/dwpinst1/sqllib/lib64/libdb2e.so.1) 0x00002AAAABD3238D_Z10sqlnn_cmplP8sqeAgentP11sqlrrstrings17sqlnn _compileModesP14sqlrr_cmpl _env + 0x0021 (/db2home/dwpinst1/sqllib/lib64/libdb2e.so.1) | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 version 970 fix pack 8 * **************************************************************** | |
Local Fix: | |
Remove the DDL statements from the block. | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows | |
Solution | |
Problem first fixed in DB2 version 970 fix pack 8 | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC91293 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 17.12.2012 01.05.2013 01.05.2013 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.0 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.8 |