Previous Topic: Example 4—Recover Data Sets Specifying Location and Portion of the NameNext Topic: Example 6—Recover Current Backups by Name


Example 5—Recover Data Sets Specifying Voulme Patterns and Locations

Recover data sets from the volume patterns SSL/ and SMS/ as long as they are located in table FMSINCLD, but not in table FMSEXCLD. Scratch any of the data sets if they already exist.

//jobname JOB (acct,info),etc.
//         EXEC FMS
//SYSIN     DD  *
SCAN DSNINDEX
SELECT TABLE=FMSINCLD,VOL=(SSL/,SMS/)
EXCLUDE TABLE=FMSEXCLD
RECOVER SCRATCH