A fix is available
APAR status
Closed as program error.
Error description
MODIFY RECOVERY DELETE AGE(*) DELETEDS does not delete copy dataset, when it is migrated and datset name is greater 42 byte. Due to a wrong lenght field, the HSM request to delete the dataset results in a delete failed for datasets with lenght of 43 and 44 bytes. The dataset has to be deleted manually. Example copy dataset is 43 bytes in length : DSNU050I DSNUGUTC MODIFY RECOVERY TABLESPACE DSN8DC1U.NEWPHONE DELETE AGE(*) DELETEDS .. DSNU1325I DSNUMODB IMAGE COPY DATA SET DELETED FOR TABLESPACE DSN8DC1U.NEWPHONE DSNUM 0 DSN=SYSADM.T1234.DSN8DC1U.NEWPHONE.P000.T155814 DSNU575I DSNUMODB - MODIFY COMPLETED SUCCESSFULLY But in TSO we receive due to dsn name cut down to 42 byte : ARC1001I SYSADM.T1234.DSN8DC1U.NEWPHONE.P000.T15581 DELETE FAILED, ARC1001I (CONT.) RC=0002, REAS=0000 ARC1102I DATA SET IS NOT MIGRATED/BACKED UP
Local fix
Delete dataset manually.
Problem summary
**************************************************************** * USERS AFFECTED: * * All Db2 Db2 12 for z/OS MODIFY RECOVERY * * utility users. * **************************************************************** * PROBLEM DESCRIPTION: * * MODIFY RECOVERY with DELETEDS keyword * * completes with return code 0, and * * DSNU1325I IMAGE COPY DATA SET DELETED * * for a migrated image copy data set * * with name longer than 42 characters. * * * * However, ARC1001I is issued * * indicating the delete had failed. * **************************************************************** * RECOMMENDATION: * * Apply corrective PTF when available * **************************************************************** MODIFY RECOVERY with DELETEDS keyword completes with return code 0, and MSGDSNU1325I IMAGE COPY DATA SET DELETED for a migrated image copy data set with name longer than 42 characters. However, MSGARC1001I is issued in TSO indicating the delete had failed. The command built and passed to DFSMShsm to delete the migrated data set has an incorrect length, causing the data set name to be truncated.
Problem conclusion
MODIFY RECOVERY is modified to pass the correct length to DFSMShsm to fix the problem.
Temporary fix
Comments
APAR Information
APAR number
PH02757
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
2018-09-17
Closed date
2018-11-14
Last modified date
2018-12-12
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UI59700
Modules/Macros
DSNUMODB
Fix information
Fixed component name
DB2 OS/390 & Z/
Fixed component ID
5740XYR00
Applicable component levels
RC10 PSY UI59700
UP18/11/29 P F811
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:
12 December 2018