Previous Topic: Example 1—Multiple Volume Data SetNext Topic: Example 3—Find Selected Proclib Data Sets


Example 2—Use of DSNNAME Parameter

Another example illustrates the use of the DSNAME keyword parameter where the Single Volume Dictionary is desired for all data sets beginning with the letters PERS on volume PRV002. The names of all the data sets appearing in the report are also to be saved in sequential data set LABS.MJB.DSNLIST.

//jobname JOB (acct,info),etc.
//         EXEC DMS
//SYSIN     DD  *
SCAN REALVOLS
SELECT VOL=PRV002,DSN=PERS/
REPORT SVD,CMDGENDSN=LABS.MJB.DSNLIST