search cancel

How to clean-up MCDS (M00001)/BCDS (B00001) records in the FDB

book

Article ID: 256002

calendar_today

Updated On:

Products

Disk Backup and Restore - MVS

Issue/Introduction

During the conversion from DFHSM to DISK, if all the datasets with volser=MIGRAT/MIGRAT2 have been recalled, how to remove the remaining H2DMIG entries from the File Database.

Environment

Release : All

Resolution

if the conversion is complete and no tape has been missed or forgotten, the following IXMAINT PURGE can be used to check in SIMULATE if these  orphaned records will be deleted:

//STEP01 EXEC IXMAINT
//SMSPRINT DD SYSOUT=*
//SYSPARMS DD *
SYSPARMSS
UNCATARCN
UNCATPSUX
'TMSCTLEX         ' <= SYSPARM FOLLOWED BY 8 BLANKS
'DSNDLPEX         ' <= SYSPARM FOLLOWED BY 8 BLANKS
'RESCRNEX         ' <= SYSPARM FOLLOWED BY 8 BLANKS
//SYSIN DD *
PURGE SIMULATE,VOL=(B00001,M00001)


If all is ok in the output run then the SIMULATE can be removed and the job can be submitted to really perform the PURGE.