Previous Topic: Example 12—Recover Archived Data Sets and CatalogsNext Topic: Example 14—Restarting a Recovery


Example 13—Recover with Tape I/O Error Abend

During the execution of the following command, you received a tape I/O error on tape 123456 which caused the Recover to abend:

//jobname JOB (acct,info),etc.
//         EXEC FMS
//SYSIN     DD  *
SCAN DSNINDEX
SELECT VOL=SSL805,CRI=(ARCTYPE,EQ,BACKUP,AND,VERSION,EQ,0)
RECOVER SCRATCH

Two items must be completed before restarting the Recover:

Exclude the ARCHVOL that caused the abend.

Avoid recovering data sets that had previously been recovered in the first job.

To do this, submit the following JCL:

//jobname JOB (acct,info),etc.
// EXEC FMS
//SYSIN DD *
SCAN DSNINDEX
SELECT VOL=SSL805,CRI=(ARCTYPE,EQ,BACKUP,AND,VERSION,EQ,0)
EXCLUDE CRI=(DSNKEY,EQ,<123456>)
EXCLUDE CRI=(RESDT,EQ,TODAY)
RECOVER SCRATCH