A multi-file tape went into scratch status. How do we list the files on the tape so they can be cataloged in MVS?
search cancel

A multi-file tape went into scratch status. How do we list the files on the tape so they can be cataloged in MVS?


Article ID: 232250


Updated On:


CA 1 Flexible Storage


We have a mutli-file tape that went into scratch status, but want to recover it. We extended the expiration date of this tape and cataloged it in MVS (the first dataset of this tape). How can we determine the secondary file names and their file sequences on the tape so we can build JCL to catalog them correctly in MVS?  Also, what needs to be updated in the TMC to allow access to these files?



Release : 14.0

Component : CA Vantage Storage Resource Manager


A physical tape volume was accidentally scratched in CA1. 


Some of the secondary file information can be extracted by using one of the CA1 'tapemap' utilities (such as PGM=COPYCAT).  Also, file information can be extracted using the TMSSMF or TMSAUDIT utilities.  The TMSUPDTE utility can be used to 'un-expire' a scratched tape volume by using the following control statement:


The EXPDT for the tape should also be set to a future date using TMSUPDTE (this will effectively make the tape non-scratch). 

To re-establish the volume and DSNB TMC records, the TMSUPDTE, TMSSMF and/or TMSAUDIT utilities can be used to recover the data set info (and in the case of TMSSMF, TMSAGGR and TMSUPDTE control statements are generated by TMSSMF which can then be used to rebuild the TMC records using these same utilities).  This data set info can also be used with the MVS IDCAMS utility to re-establish the catalog entries for each of the primary and secondary datasets, along with their corresponding file sequence numbers. Note that if the secondary files are only going to be READ going forward, and not updated, MODed onto, etc., then the TMSAGGR utility is not needed to rebuild the DSNB records.  

Additional Information