After a successful conversion from DFSMShsm to Disk™ Backup and Restore, how can I remove any orphaned DSNINDEX entries that have been left over.
Release: Disk™ Backup and Restore
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
/*