Previous Topic: Example 3—Recover Data Sets from Pseudo VolumneNext Topic: Example 5—Recover Data Sets Specifying Voulme Patterns and Locations


Example 4—Recover Data Sets Specifying Location and Portion of the Name

Recover data sets names contained in table FMSINCLD, as well as the data sets beginning with MYHLQ. Exclude data sets with an expiration date in the Format-1 DSCB if the date is less than 10 days from today.

//jobname JOB (acct,info),etc.
//         EXEC FMS
//SYSIN     DD  *
SCAN DSNINDEX
SELECT TABLE=FMSINCLD,CRI=(ARCDT,NE,TODAY),VOL=(SSL/,SMS/)
SELECT DSN=MYHLQ./
EXCLUDE CRI=(EXPDT,LT,TODAY+10)
RECOVER