A fix is available
APAR status
Closed as program error.
Error description
ABEND04E RC00E70005 in DSNXOLCM:M050 can occur when running a query, which references XML function and Parallelism is on. . Additional keywords: DB2PARALL/K
Local fix
Set Degree(1) to diable Parallelism.
Problem summary
**************************************************************** * USERS AFFECTED: All DB2 users who use XML functions * * in outer joins. * **************************************************************** * PROBLEM DESCRIPTION: An ABEND04E at DSNXOLCM:m050 * * could occur if a query contains * * the XMLTABLE function and outer * * join and parallelism is enabled. * **************************************************************** * RECOMMENDATION: * **************************************************************** An ABEND04E at DSNXOLCM:m050 could occur if a query contains the XMLTABLE function and outer join and parallelism is enabled. Because parallelism is not supported for XML functions, but DB2 failed to disable parallelism for XML due to outer join optimization. The following is an example of the failed queries. SET CURRENT DEGREE='ANY'; SELECT LAST_NM FROM PTL JOIN XMLTABLE('$D//PtlId' PASSING XMLPARSE('<INPUTS><INPUT> <PtlIds><PtlId>1</PtlId> <PtlId>5</PtlId></PtlIds></INPUT> </INPUTS>') AS D COLUMNS CLM_ID CHAR(13) PTL_ID SMALLINT PATH '.') AS X ON X.CLM_ID = PTL.CLM_ID AND X.PTL_ID = PTL.PTL_ID LEFT JOIN CLM_PRTPT_NM CPN ON CPN.CLM_ID =PTL.CLM_ID
Problem conclusion
DB2 is corrected to disable parallelism when XML functions are used with outer joins. Additional keywords: SQLXML, SQLPARALLEL, SQLOUTJOIN
Temporary fix
Comments
APAR Information
APAR number
PK82271
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-10
Closed date
2009-03-27
Last modified date
2011-04-28
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK45374
Modules/Macros
DSNXORMQ
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
Applicable component levels
R910 PSY UK45374
UP09/04/21 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:
28 April 2011