Set an expiration date for an archived SMS dataset
search cancel

Set an expiration date for an archived SMS dataset

book

Article ID: 186002

calendar_today

Updated On:

Products

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

Issue/Introduction

The expiration date of user datasets is defined with SMS Management Class attribute "Expire After Days Non-Usage", set for example to 365 days.
Sometimes it is needed to prolongate the expiration date for some of the datasets of this MC.

Is there a possibility in CA Disk to change the dataset expiration date without recalling the dataset? 

Environment

Release : 12.5

Component : CA Disk Backup and Restore

Resolution

Assign another existing MC that will keep the record longer to the Archive entry (see item 2 below),
or set an explicit expiration date ( see item 3) to the Archive entry.

1) At first, run following LISTD report for the SMS managed data set to identify the entry that needs to be changed:
//STEP01  EXEC LISTD                                         
//SYSIN     DD *                                             
  LISTD DSN=abc.sms.ds,DUP,                              
        FIELDS=(DSNAM,ATIME,ARCDT,FLGSC,FLGRC,VERS,EXPDT,    
                DS1MD,DS1UD,SMSMC)                               
/*

2) Change the MC in that entry to another MC that will keep the record longer: 
//STEP01  EXEC IXUPDATE      
//SYSIN     DD *
  CHANGE DSN=abc.sms.ds,TIMEDATE=hhmmyyyyddd,MGMTCL=newmc
/*             
Rerun the LISTD report (item 1) to verify the MC has been changed for that entry.  

3) Set an explicit expiration date for that entry:
//STEP01  EXEC IXUPDATE      
//SYSIN     DD *
  CHANGE DSN=abc.sms.ds,TIMEDATE=hhmmyyyyddd, 
         MGMTCL=<>,EXPDT=yyyyddd                
/*  
Note, the MC needs to removed via MGMTCL=<> to switch on the "SMS MC BYPASSED" flag.             
Rerun the LISTD report (item 1) to verify the EXPDT has been changed and the "SMS MC BYPASSED" flag is now on for that entry.