IDCAMS Delete is not deleting archieved data sets
search cancel

IDCAMS Delete is not deleting archieved data sets

book

Article ID: 441290

calendar_today

Updated On:

Products

Disk Backup and Restore - MVS

Issue/Introduction

We have upgraded DISK Backup & Restore from v12.5 to v14.0 version in our system and after this the IDCAMS delete is not deleting the archieved data sets. The following error is present in the job log.

  DELETE 'dataset'                                           
IDC3012I ENTRY dataset NOT FOUND                             
IDC3009I ** VSAM CATALOG RETURN CODE IS 8 - REASON CODE IS IGG0CLEG-42  
IDC0551I ** ENTRY dataset NOT DELETED                        
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 8               
                                                                        
IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE WAS 8       

Cause

Disk DMSAR hook is not installed

Resolution

Make sure Disk DMSAR hook is installed by issuing the following command in the syslogs.

/S DMSAR,DMSAR=STATUS

DIM152I ADSHS001-HOOK IS NOT INSTALLED.

If it returns as not installed as shown above, then issue the command to install the DMSAR.

/S DMSAR,DMSAR=INSTALL

After the log shows that DMSAR hook is installed then re-run the job (deleting archived data sets) again.