A fix is available
APAR status
Closed as program error.
Error description
ABEND0C4 RC04 in DSNXRXML+0E9C occurred when running a Merge statement with an XML data type Host variable.
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: All DB2 users who use XML host variables * * in MERGE statement * **************************************************************** * PROBLEM DESCRIPTION: An ABEND 0C4 at DSNXRXML could occur * * when a MERGE statement contains an * * XML host variable in the USING clause. * **************************************************************** * RECOMMENDATION: * **************************************************************** An ABEND 0C4 at DSNXRXML could occur when a MERGE statement contains an XML host variable in the USING clause and the XML host variable is not nullable. The following is an example of the failed statement: MERGE INTO T1 USING (VALUES(:int_hv, :xml_hv)) AS S(C1, X1) ON T1.C1 = S.C1 WHEN MATCHED THEN UPDATE SET T1.X1 = S.X1 WHEN NOT MATCHED THEN INSERT VALUES (S.C1, S.X1) Note if :xml_hv is replaced with :xml_hv:ind1, the XML host variable would be nullable type, then the ABEND would not happen.
Problem conclusion
DB2 is modified to process XML host variable in the MERGE statement correctly. Additional keywords: SQLMERGE SQLHOSTVAR SQLXML
Temporary fix
Comments
APAR Information
APAR number
PK82031
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
910
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-03-06
Closed date
2009-04-15
Last modified date
2009-05-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK45800
Modules/Macros
DSNXOB2
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
Applicable component levels
R910 PSY UK45800
UP09/04/30 P F904
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":"9.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":"9.1","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
01 May 2009