DB2 - Problem description
Problem IC69997 | Status: Closed |
DB2 TRAPPED WHILE DOING INSERT/UPDATE ON XML COLUMN FROM XML TRANSFORM STATEMENT. | |
product: | |
DB2 FOR LUW / DB2FORLUW / 950 - DB2 | |
Problem description: | |
DB2 trapped while doing INSERT/UPDATE from XML Transform statement because during Runtime the XML Transform is flagged as deferred when it should not be. Sample query: update TAB1 set XMLCOL = select XMLQUERY 'copy $new := $XMLCOL modify (...return $new) from TAB1 The stack trace should look like this: ossDumpStackTraceEx OSSTrapFile::dumpEx OSSTrapFile::dump sqlo_trce sqloEDUCodeTrapHandler __invoke_dynamic_linker__ xmlrnApplyPUL xmlrnInsertDocument sqldInsertXMLDocument sqldFormatXDADesc sqldFullFormatFixedVar sqldRowUpdate sqlriupd sqlriExecThreadFunc sqlriSectInvoke sqlrr_execute_immediate sqlrr_execimmd sqljs_ddm_excsqlimm sqljsParseRdbAccessed sqljsParse sqljsSqlam sqljsDriveRequests sqljsDrdaAsInnerDriver sqljsDrdaAsDriver sqeAgent::RunEDU sqzEDUObj::EDUDriver sqlzRunEDU sqloEDUEntry pthread_cond_timedwait@@GLIBC_2.3.2 clone | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * DB2 LUW ALL * **************************************************************** * PROBLEM DESCRIPTION: * * DB2 trapped while doing INSERT/UPDATE from XML * * Transformstatement because during Runtime the XML Transform * * isflagged asdeferred when it should not be.Sample * * query:update TAB1 set XMLCOL = select XMLQUERY 'copy $new * * :=$XMLCOLmodify (...return $new) from TAB1The stack trace * * should look like * * this:ossDumpStackTraceExOSSTrapFile::dumpExOSSTrapFile::dumpsq **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 9.5 Fix Pack 7 or newer release. * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 9.5 Fix Pack 7 for Linux, UNIX, and Windows | |
Solution | |
Problem was first fixed in DB2 Version 9.5 Fix Pack 7 and newer releases. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 16.07.2010 15.11.2010 15.11.2010 |
Problem solved at the following versions (IBM BugInfos) | |
9.5.FP7 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.1.0.7 | |
9.5.0.7 |