A fix is available
APAR status
Closed as program error.
Error description
This issue is about the SQLCODE -16002 released when using function XMLMODIFY with some "abnormal" characters to update. And environment is using EBCDIC code page 424.
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: All DB2 10 and DB2 11 for z/OS users who use * * the XMLMODIFY function. * **************************************************************** * PROBLEM DESCRIPTION: SQLCODE16002 may be returned when the * * XMLMODIFY function is used in the * * EBCDIC encoding scheme and the xquery- * * update-constant text of the XMLMODIFY * * function contains special characters. * **************************************************************** * RECOMMENDATION: * **************************************************************** Here is an example to show the failing case. ========= EXAMPLE ========= CREATE TABLE PM91561T (CXML XML) CCSID EBCDIC; INSERT INTO PM91561T VALUES('<a>mytest</a>'); UPDATE PM91561T SET CXML = XMLMODIFY('replace value of node /a with '' ''');
Problem conclusion
DB2 code has been modified to handle the aforementioned problem correctly. Additional keywords: SQLCODE16002 SQLENCODING SQLXML
Temporary fix
Comments
APAR Information
APAR number
PM91561
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
A10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-06-21
Closed date
2013-08-28
Last modified date
2013-10-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK97000 UK97008
Modules/Macros
DSNXOFN2
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
Applicable component levels
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
03 October 2013