A fix is available
APAR status
Closed as program error.
Error description
ABEND0C4 RC00000010 occurred at DSNSLD1.DSNSVBK UK77823 when running Explain: EXPLAIN PLAN SET QUERYNO = 1 FOR SELECT EMPNO, FIRSTNME, SALARY FROM FINAL TABLE ( MERGE INTO EMP AS EMP2 USING ( VALUES( '999999', 'TAKER' ,77777)) AS T (EMPNO, FIRSTNME, SALARY) ON (EMP2.FIRSTNME = T.FIRSTNME) WHEN MATCHED THEN UPDATE SET SALARY = EMP2.SALARY + 5000WHEN NOT MATCHED THEN INSERT (EMPNO,FIRSTNME,MIDINIT,LASTNAME,WORKDEPT,SALARY)VALUES ( '999999','TAKER',' ','SUZUKY','E9V',77777));
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All DB2 9 for z/OS, DB2 10 for z/OS and * * DB2 11 for z/OS users of a query referencing * * a partition-by-growth table. * **************************************************************** * PROBLEM DESCRIPTION: An ABEND0C4 RC00000010 at * * DSNSLD1.DSNSVBK may occur when running * * a query referencing a * * partition-by-growth table. After the * * abend, DB2 may also be brought down. * **************************************************************** * RECOMMENDATION: * **************************************************************** An ABEND0C4 RC00000010 at DSNSLD1 .DSNSVBK may occur when running a query referencing a partition-by-growth table. After the abend, DB2 may also be brought down. It is because when running such query, a storage overlay may occur due to wrongly referencing an array index when retrieving/ updating data for a partition-by-growth table. If the storage overlay happens at the critical storage control block information area, it can further bring down DB2. Following is an example of a failing query: EXPLAIN PLAN SET QUERYNO = 1 FOR SELECT EMPNO, FIRSTNME, SALARY FROM FINAL TABLE ( MERGE INTO EMP AS EMP2 USING ( VALUES ('123456', 'ABCDE' ,11111)) AS T (EMPNO, FIRSTNME, SALARY) ON (EMP2.FIRSTNME = T.FIRSTNME) WHEN MATCHED THEN UPDATE SET SALARY = EMP2.SALARY + 100 WHEN NOT MATCHED THEN INSERT (EMPNO,FIRSTNME,MIDINIT,LASTNAME,WORKDEPT,SALARY) VALUES ('123456','ABCDE',' ','WXYZ','ABC',11111) );
Problem conclusion
DB2 is modified to reference the correct array index to prevent a storage overlay. Additional Keywords: SQLSTORAGE DB2OVRLAY/K PBG UTS ABEND0C4 RC00000010
Temporary fix
********* * HIPER * *********
Comments
APAR Information
APAR number
PM91243
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
910
Status
CLOSED PER
PE
NoPE
HIPER
YesHIPER
Special Attention
NoSpecatt
Submitted date
2013-06-17
Closed date
2013-08-08
Last modified date
2013-09-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK96548 UK96549 UK96550
Modules/Macros
DSNXOCN DSNXOLCM DSNXOLM1 DSNXOTPL
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
Applicable component levels
RA10 PSY UK96548
UP13/08/24 P F308 ½
RB10 PSY UK96549
UP13/08/24 P F308 ½
R910 PSY UK96550
UP13/08/24 P F308 ½
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:
03 September 2013