How to delete obsolete entries from the FDS
search cancel

How to delete obsolete entries from the FDS

book

Article ID: 251723

calendar_today

Updated On:

Products

Disk Backup and Restore - MVS

Issue/Introduction

                                             ARCHIVE           MANAGMNT
DATA SET NAME                                  DATE   EXPDATE   CLASS  
-------------------------------------------- -------- -------- --------
dddddd.dd#d#.dddd#.d#####.d#######.d#######  2010.004 1999.365 mmmmm  
dddddd.dd#d#.dddd#.d#####.d#######.d#######  2010.004 1999.365 mmmmm  

 

The above datasets no longer reside on disk but they still resides in the FDS, so how to clean them out of the FDS.

Environment

Release : All

Product : Disk Backup and Restore - MVS

Resolution

if the field :

SMS FLGS contains '08'

issuing the LISTS command for these datasets, this means 'Management Class bypassed.' as  in the documentation:

LISTS Flags

So, when the datasets were archived , the Sysparm  SMSMCBYPY (or B) was used  and 1999.365 was set as EXPDT.

Based on that, these records are a mix of SMS and NON-SMS datasets and in order to remove these obsolete DSNINDEX entries it is necessary to force the EXPTD and to blank out the MC: 

1. Set an explicit expiration date that is different from 1999.365 for that entry, using the IXUPDATE utility as follows: 

//STEP01  EXEC IXUPDATE      
//SYSIN     DD *
  CHANGE DSN=abc.sms.ds,
         MGMTCL=<>,EXPDT=yyyyddd                
/*  

Please indicate also a date that could be 1 week ago so that IXMAINT can be immediately executed to remove the entry.

Note that MC=<> means that the MC will be removed from the Dsnindex record. 

      
2. Rerun the LISTD report 

//STEP01  EXEC LISTD                                         
//SYSIN     DD *                                             
  LISTD DSN=abc.sms.ds,DUP,                              
        FIELDS=(DSNAM,ATIME,ARCDT,FLGSC,FLGRC,VERS,EXPDT,    
                DS1MD,DS1UD,SMSMC)                               
/*

to verify the EXPDT has changed for that entry and the "SMS MC BYPASSED" flag is now on for that entry.  

3. Run again the IXMAINT with  DSNDELETE using the SMSMCBYPY and UNCATPSUX for that entry