CA VIEW prefer to have control of the tapes and determines when they are uncatalogued.
The expiration date for tapes is 99000 via the SARINIT parms in CA View . Once the file was uncataloged, the tape will be scratched during the TMSCLEAN.
All users must perform this step; otherwise, CA View archival tapes may be scratched prematurely.
Most tape management systems have functions where by any output tapes created by started tasks or batch jobs that have abended or been canceled are kept for only a specified default period.
This can pose problems with CA View archive tapes if the started task (SARSTC) or the archive tape consolidation utility (SARPAC) is canceled or abends.
To ensure that valid data is not lost, your tape management system probably provides a way to override this default retention period based on specific information such as a data set qualifier, creating program name, job name.
The archive tapes use the same qualifier as your CA View database, unless a different qualifier was specified on the STORGRP0-9 initialization parameters. The program name for the started task is SARSTC and the program name for the tape consolidation utility is SARPAC.
For CA 1 Tape Management (CA 1), the ABE parameter determines how many days to keep tapes that are created from a job that abnormally terminates. To override the default, CA 1 provides a customizable exit called TMSUX2B that can be modified to prevent CA View tapes from being scratched or overwritten in the event of an abnormal termination.
Note: For more information about the installation of this exit, see the chapter "User Exits and Interfaces" in the CA 1 Tape Management Systems Programmer Guide, or contact Technical Support for assistance with CA 1.
OR
It is correct, that you can also use the Retention Dataset RDS . Be sure you specify the ABEND keyword
in the DSN control statement. For example:
DSN=your.caview.dataset.-,ABEND=EXPDT=CATALOG
or
DSN=your.caview.dataset.-,ABEND=RETPD=nnnn