A fix is available
APAR status
Closed as program error.
Error description
RECOVER TOLASTFULLCOPY of a PBR partition after the partition has been ALTER ADDED gets an abend04E RC00E40100 with internal reason code 00C20040 if there is no recovery base available. DSNU050I 183 17:46:27.49 DSNUGUTC - RECOVER TABLESPACE PNRDBOG.PNRHLL01 DSNUM(30) TOLASTFULLCOPY. DSNU1502I -DBO1 183 17:46:27.52 DSNUCASA - RECOVER OF TABLESPACE PNRDBOG.PNRHLL01 DSNUM 30 WILL PROCEED TO LOG POINT X'00000000000000000000'. DSNU017I 183 17:46:27.55 DSNUGBAC - UTILITY DATA BASE SERVICES MEMORY EXECUTION ABENDED, REASON=X'00E40100'. CAUSE=X'00C20040'. The user tries RECOVER DSNUM(30) to current point in time and it works after externalizing msgdsnu510I: DSNU510I -DBO1 183 17:47:25.50 DSNUCALA - NO RECOVERY BASE AVAILABLE FOR RECOVERY OF TABLESPACE PNRDBOG.PNRHLL01 DSNUM 30 ... DSNU578I -DBO1 183 17:47:25.65 DSNUCALA - SYSLGRNX INFORMATION FOR MEMBER DBO1 DSNU513I -DBO1 183 17:47:25.65 DSNUCALA - RECOVER UTILITY LOG APPLY RANGE IS RBA 0000000027ECEA184E94 LRSN 00DF53BB184602223A0 00DF53BB184602223A00 TO RBA 0000000027ECEA186F5E LRSN 00DF53BB1846EA9A1000 ... DSNU010I 183 17:47:38.32 DSNUGBAC - UTILITY EXECUTION COMPLETE, HIGHEST RETURN CODE=0.
Local fix
Run RECOVER to current point in time.
Problem summary
**************************************************************** * USERS AFFECTED: All Db2 12 for z/OS and Db2 13 for z/OS * * users of the RECOVER utility with * * TOLASTFULLCOPY (or TOLASTCOPY) at the * * partition level. * **************************************************************** * PROBLEM DESCRIPTION: ABEND04E RC00E40100 RC00C20040 in * * DSNUCACR OFFSET02696 during a RECOVER * * utility with TOLASTFULLCOPY and DSNUM * * n options when a partition was added * * by ALTER to the Partition-By-Range * * (PBR) table space and no full image * * copy existed for the partition. * **************************************************************** * RECOMMENDATION: Apply corrective PTF when available * **************************************************************** ABEND04E RC00E40100 RC00C20040 in DSNUCACR +x'02696' during a RECOVER utility with TOLASTFULLCOPY and DSNUM options. The problem could occur with the following scenario: 1. COPY at partition level with the DSNUM option or using LISTDEF PARTLEVEL 2. ALTER TABLE db-name.table-name ALTER ADD PARTITION - which creates a new partition n 3. RECOVER TABLESPACE db-name.ts-name DSNUM n TOLASTFULLCOPY This message can be seen in the job output: DSNU510I - NO RECOVERY BASE AVAILABLE FOR RECOVERY OF TABLESPACE db-name.ts-name DSNUM n The abend occurred because there was no full image copy for the partition, or full image copy for the table space, leaving no recovery base for the new partition. The RECOVER should have ended with RC8, but continued processing which caused the abend. This problem could also occur for Partition-By-Growth (PBG) table spaces and partitioned indexes. Additional search keywords: INDEXSPACE
Problem conclusion
Code for RECOVER TOLASTCOPY and TOLASTFULLCOPY has been modified to fix the issue. If no image copy exists for the partition or table space, RECOVER with the TOLASTCOPY or TOLASTFULLCOPY and DSNUM n options will issue MSGDSNU510I, and end with RC8 without recovering the partition.
Temporary fix
Comments
APAR Information
APAR number
PH62765
Reported component name
DB2 OS/390 & Z/
Reported component ID
5740XYR00
Reported release
D10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2024-08-14
Closed date
2024-12-09
Last modified date
2025-01-02
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI99339 UI99340
Modules/Macros
DSNUCASA
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":"BU048","label":"IBM Software"},"Product":{"code":"SSEPEK","label":"DB2 for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D10","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
02 January 2025