Previous Topic: Example 4—Dispose of Queued RequestsNext Topic: Example 6—Delete Entry from ARCHIVE Queue


Example 5—List the ARCHIVE Request Queue

Find the current status for all archive requests that were made previously for data sets that begin with the name of DEPT20.

//jobname JOB (acct,info),etc.
//         EXEC LISTREQ
//SYSIN     DD  *
LISTREQ DSN=DEPT201/,ARCHIVE

A status of PEND (pending), COMP (complete) or FAIL (failed) will be displayed, along with other related data, for each Archive/Backup request found in the queue.