Previous Topic: Example 2—Defer the Archive of Data SetsNext Topic: Example 4—Dispose of Queued Requests


Example 3—Create Backup Copies

Create backup copies of DAILY.RECS and WEEKLY.SUMMARY. Place the requests in the queue to be processed with other requests. The backup copies need to be kept only 10 days. NOScratch and NOCatalog are both specified since backup copies are desired.

//jobname JOB (acct,info),etc.
//         EXEC ARCHIVE
//SYSIN     DD  *
DARCHIVE DSN=DAILY.RECS,NOS,NOC,RETPD=10
DARCHIVE DSN=WEEKLY.SUMMARY,NOS,NOC,RETPD=10