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

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

product:
DB2 FOR LUW / DB2FORLUW / A10 - 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:                                              * 
* See Error Description                                        * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* upgrade to v101fp4                                           * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Solution
release from v101fp4
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
02.09.2013
09.06.2014
09.06.2014
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.4 FixList