home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
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 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
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
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 FixList
9.5.0.7 FixList