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:
VOL vvvvvv,UNEXPIRE
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.
TMSUPDTE:
https://techdocs.broadcom.com/us/en/ca-mainframe-software/performance-and-storage/ca-1-tape-management-system/14-0/utilities-and-reports/tmsupdte-utility-apply-batch-updates-to-tmc-volume-records.html
TMSSMF:
https://techdocs.broadcom.com/us/en/ca-mainframe-software/performance-and-storage/ca-1-tape-management-system/14-0/utilities-and-reports/tmssmf-utility-recover-tape-activity-from-smf-data.html
TMSAUDIT:
https://techdocs.broadcom.com/us/en/ca-mainframe-software/performance-and-storage/ca-1-tape-management-system/14-0/utilities-and-reports/tmsaudit-utility-analyze-tmc-activity.html
TMSAGGR:
https://techdocs.broadcom.com/us/en/ca-mainframe-software/performance-and-storage/ca-1-tape-management-system/14-0/utilities-and-reports/tmsaggr-utility-maintain-data-set-name-blocks.html