Previous Topic: Example 1—Restore a Data SetNext Topic: Example 3—Restore Two VSAM CLusters


Example 2—Restore a Data Set from a Previous Copy

Restore data set A.B. Do not use the most current backup version, but the previous version. Give the restored data set the name OLD.A.B, and restore it to any of the volumes defined to the pool of volumes known as WORKPOOL.

//jobname JOB (acct,info),etc.
//         EXEC RESTORE
//SYSIN     DD  *
RESTORE DSN=A.B,VER=-1,NEW=OLD.A.B,POOL=WORKPOOL

The WORKPOOL of volumes must have been defined previously to CA Disk. A sample definition for this pool and another named PRIVPOOL is as follows. (The pool volumes will be used only if the new data set name is not currently cataloged. If it is, the cataloged volume will be used.)

Entries in PARMLIB member DASDPOOL to define the two pools:

'WORK01WORKPOOL'
'WORK02WORKPOOL'
'WORK03WORKPOOL'
'WORK04WORKPOOL'
'WORK05WORKPOOL'
'PRIV01PRIVPOOL'
'PRIV02PRIVPOOL'