Removing Disk Orphaned catalog entries
search cancel

Removing Disk Orphaned catalog entries

book

Article ID: 40591

calendar_today

Updated On:

Products

Disk Backup and Restore - MVS DISK BACKUP AND RESTORE- ADD-ON OPTIO DISK BACKUP AND RESTORE

Issue/Introduction

After a successful conversion from DFSMShsm to Disk™ Backup and Restore, how can I remove any orphaned DSNINDEX entries that have been left over.

Environment

Release: Disk™ Backup and Restore

Resolution

Run a LISTD VOL=(B00001,M00001) to review the orphaned DSNINDEX entries that have been left over. If the conversion is complete and no tape has been missed or forgotten, then the following IXMAINT PURGE can be used to delete the orphaned records: 

//STEP01       EXEC IXMAINT                                               
//SMSPRINT  DD SYSOUT=*                                                
//SYSPARMS DD *                                                       
  SYSPARMSS                                                           
  UNCATARCN                                                           
  UNCATPSUX                                                           
  'TMSCTLEX        ' <= SYSPARM FOLLOWED BY 8 BLANKS                  
  'RESCRNEX       '  <= SYSPARM FOLLOWED BY 8 BLANKS                  
//SYSIN DD *                                                          
  PURGE SIMULATE,VOL=(vol001,vol002)  <== Check with SIMULATE at first, then run in live mode  
/*