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

DECOMPOSE XML WILL FAIL TO RETURN AN SQLSTATE IN CASE OF UNSUCCESSFUL
DECOMPOSITION.

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
Decompose XML will fail to return an sqlstate in case of 
unsuccessful decomposition. Here you have an example: 
 
$db2 -a "DECOMPOSE XML DOCUMENT bookdetails.xml XMLSCHEMA 
xdb.bookdetails VALIDATE" 
 
SQLCA Information 
 
 sqlcaid : SQLCA     sqlcabc: 136   sqlcode: -16266   sqlerrml: 
44 
 sqlerrmc: ..details.xml -803 23505 1 ADMIN.BOOK_AUTHOR 
 sqlerrp : SQL 
 sqlerrd : (1) 0                (2) 0                (3) 0 
           (4) 0                (5) 0                (6) 0 
 sqlwarn : (1)      (2)      (3)      (4)        (5)       (6) 
           (7)      (8)      (9)      (10)       (11) 
 sqlstate: 225D2 
 
$db2 -a +c "DECOMPOSE XML DOCUMENT BAD-NOTVALID-bookdetails.xml 
XMLSCHEMA xdb.bookdetails VALIDATE" 
 
SQLCA Information 
 
 sqlcaid : SQLCA     sqlcabc: 136   sqlcode: -16129   sqlerrml: 
14 
 sqlerrmc: ChapterContent 
 sqlerrp : XdbAdvDo 
 sqlerrd : (1) -2147482953      (2) 0                (3) 0 
           (4) 0                (5) 0                (6) 0 
 sqlwarn : (1)      (2)      (3)      (4)        (5)       (6) 
           (7)      (8)      (9)      (10)       (11) 
 sqlstate: 2200M
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* XML functions.                                               * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* Please See Error Description.                                * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Please See Error Description.                                * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC95521 IC95656 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
15.08.2013
02.10.2013
02.10.2013
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.9 FixList
9.7.0.9 FixList