Previous Topic: Example 5—List the ARCHIVE Request QueueNext Topic: RESTORE Examples


Example 6—Delete Entry from ARCHIVE Queue

An archive request was placed in the archive queue, but the wrong data set name was specified. Delete the entry from the queue.

//jobname JOB (acct,info),etc.
//         EXEC DERASE
//SYSIN     DD  *
DERASE DSN=THE.WRONG.NAME,ARCHIVE

The ARCHIVE parameter instructs the delete to be made from the archive queue. (The same command, but specifying RESTORE instead of ARCHIVE, directs the delete to the restore queue.)