This utility is provided to aid in correcting errors that exist within archive tape volumes. It consists of a single job step that accepts input transactions and, based on their contents, copies all or specific archive data set files from the input archive tape volume to a new output volume. As the copy process continues, errors that are detected on the archive tape are corrected. Of course, errors cannot always be corrected without loss of data because all the original data cannot be present or is not complete. In cases where the error is simply a bad file number, it can be corrected without data loss. If the error is a truncated or missing record, the rest of the block and any split record at the beginning of the next block will be bypassed. The file can or cannot be able to be restored by normal CADisk restore processing. It is then the user's responsibility to inspect the restored data set for errors and correct them manually. When records of an archived PDS member are corrected, messages are printed to indicate the members that can contain data errors.
It accepts as input a CA-Disk archive tape volume. It does not use the files data set for processing the input tape, so the tape need not be currently defined to CADisk. The SYSUT1 dd statement points to the archive volume to be scanned.
The output volume is referred to by the ARCHIVE0 and ARCHIVEC dd statements. They are coded exactly as they are for normal archive executions.
Note: For more information, see the section Data Storage Command Language in the User Guide.
The input command specified what files are to be copied from the input volume to the output volume. It can optionally specify a file number at which to start and a maximum number of records to process.
A user exit can optionally be invoked to provide user programs access to archive tape data at logical record level (EXITNAME). This can be useful in recovering data.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|