A fix is available
APAR status
Closed as program error.
Error description
ABEND0C4 RC00000038 in DSNXOMW OFFSET04DE when running a MERGE SQL statement that references a DECLARED GLOBAL TEMPORARY TABLE Additional Keywords: SQLMERGE SQLDGTT
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: * * All Db2 12 for z/OS users with MERGE SQL * * statement that has an uncorrelated subquery * * predicate. * **************************************************************** * PROBLEM DESCRIPTION: * * ABEND0C4 RC00000038 at DSNXOMW +04DE * * may occur for a MERGE SQL statement * * that has an uncorrelated subquery * * predicate and the subquery predicate * * is virtual table access. * **************************************************************** * RECOMMENDATION: * * Apply corrective PTF when available * **************************************************************** ABEND0C4 RC00000038 at DSNXOMW +04DE may occur for a MERGE SQL statement that has an uncorrelated subquery predicate and the subquery predicate is virtual table access. An example for the error case may be: MERGE INTO T1 USING (SELECT C1, C2 FROM T2 WHERE T2.C3 IN (SELECT DISTINCT C3 FROM T3) )AS S(C1, C2) ON T1.C2 = S.C2 WHEN NOT MATCHED THEN INSERT (C1,C2,C3) VALUES('3',5,'8') WHEN MATCHED THEN UPDATE SET (T1.C1,T1.C2) = (S.C1,S.C2) ;
Problem conclusion
The bindtime code in DB2 is modified to correct the conditions leading to the ABEND. Additional Keywords: ABEND0C4 RC00000038 SQLMERGE SQLIN SQLSUBQUERY
Temporary fix
Comments
APAR Information
APAR number
PH15848
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
C10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2019-08-19
Closed date
2019-09-25
Last modified date
2019-11-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI65516
Modules/Macros
DSNXOMW
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
Applicable component levels
RC10 PSY UI65516
UP19/10/11 P F910
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":"12.0","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":"12.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
01 November 2019