Previous Topic: ARCHIVE ExamplesNext Topic: Example 2—Defer the Archive of Data Sets


Example 1—Archive Selected Data Sets

Archive data sets JAN.STATS and FEB.STATS. They should be scratched and uncataloged at the time of archival. The archive copies are to be kept for 60 days.

//jobname JOB (acct,info),etc.
//         EXEC DMS
//SYSIN     DD  *
FIND DSN=FEB.STATS
FIND DSN=JAN.STATS
ARCHIVE RETPD=60

Scratch and uncatalog are default actions. Note that these commands will result in a tape being mounted and the two named data sets being written to it (and indexed in the CA Disk files).