Previous Topic: Example 6—Recover Current Backups by NameNext Topic: Example 8—Recover Selected Data Sets to a Specified Volume


Example 7—Recover Data Sets Specifying Volume Patterns

Recover (and if necessary, scratch) all data sets from all the SSL8/ volume patterns, excluding volume SSL805. Also recover all catalogs except those backed up from the SMS/ volume pattern.

//jobname JOB (acct,info),etc.
//         EXEC FMS
//SYSIN     DD  *
SCAN DSNINDEX
SELECT DSN=/,VOL=(SSL8/)
EXCLUDE VOL=SSL805
SELECT CAT=/,VOL=(/)
EXCLUDE CAT=/,VOL=SMS/
RECOVER SCRATCH