FDR RESTORE Examples


All examples in this section are found in the JCL library installed with FDR. The member names are EX1011x.

Full volume restore changing the volume serial example

Restoring two 3390 volumes, changing the existing volume serial numbers of the output DASD volumes (DATA01 and DATA80) to the volume serial numbers of the volumes being restored (DATA12 and DATA85). If the original volume serials are still online, these output DASD volumes are placed offline at the completion of the restore. The backups are not cataloged, so the backup tape volume serials are provided on the TAPEx DD statements. FDR issues a WTOR to the z/OS operator (message FDRW01) requesting permission to perform the restore.

//RESTORE EXEC PGM=FDR,REGION=0M //SYSPRINT DD SYSOUT=* //FDRSUMM DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //DISK1 DD UNIT=SYSALLDA,DISP=OLD,VOL=SER=DATA01 //TAPE1 DD UNIT=TAPE,DSN=BACKUP.VDATA12,DISP=OLD, // VOL=SER=(T00100,T00110,T00120,T00130) //DISKA DD UNIT=SYSALLDA,DISP=OLD,VOL=SER=DATA80 //TAPEA DD UNIT=TAPE,DSN=BACKUP.VDATA85,DISP=OLD, // VOL=SER=(T00200,T00205,T00235) //SYSIN DD * RESTORE TYPE=FDR,CPYVOLID=YES /*

Full volume restore retaining the output serial example

Restore a DASD from a tape backup without changing the volume serial of the output DASD volume. The volume is relabeled later to the volume serial of the volume which was dumped so VOLRESET=NO specifies that FDR not rename the VTOCIX or ABR Model DSCB. Neither the backed-up DASD volume nor the target DASD volume can be SMS-managed. FDR issues a WTOR to the z/OS operator (message FDRW01) requesting permission to perform the restore.

//RESTORE EXEC PGM=FDR,REGION=0M //SYSPRINT DD SYSOUT=* //FDRSUMM DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //DISK1 DD UNIT=SYSALLDA,DISP=OLD,VOL=SER=ALTRES //TAPE1 DD DSN=BACKUP.VMVSRES,DISP=OLD //SYSIN DD * RESTORE TYPE=FDR,CPYVOLID=NO,VOLRESET=NO /*

Restore SMS-managed volume example

Restore a SMS-managed DASD from a backup tape. When restoring at a disaster site, where SMS may not be setup yet, SMSPROT=NONE is used to allow a restore to a non-SMS volume. FDR does not ask for operator permission; the restore begins immediately.

//RESTSMS EXEC PGM=FDR,REGION=0M //SYSPRINT DD SYSOUT=* //FDRSUMM DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //DISK1 DD UNIT=SYSALLDA,DISP=OLD,VOL=SER=SMS001 //TAPE1 DD DSN=BACKUP.VSMS001,DISP=OLD //SYSIN DD * RESTORE TYPE=FDR,CONFMESS=NO,SMSPROT=NONE,CPYVOLID=YES /*

Restore to larger DASD example

Convert a DASD volume from a 3390-3 (3339 cylinders) to a 3390-9 (10017 cylinders), by restoring from a backup of the 3390-3. The current volume serial of the 3390-9 (D3390A) is changed to the volume serial of the 3390-3 (D3390B). If the original volume is still mounted at the time of the restore, then the new volume is automatically placed offline at the end of the restore; at that time, the original volume should be varied offline (VARY), and the new volume should be mounted (MOUNT). Free space is automatically adjusted to include the additional cylinders. If the original volume had an indexed VTOC, it must be rebuilt on the new volume (see the Rebuild Indexed VTOC Example).

//RESTORE EXEC PGM=FDR,REGION=0M //SYSPRINT DD SYSOUT=* //FDRSUMM DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //DISK1 DD UNIT=SYSALLDA,DISP=OLD,VOL=SER=D3390A //TAPE1 DD DSN=BACKUP.D3390B,DISP=OLD //SYSIN DD * RESTORE TYPE=FDR,CPYVOLID=YES /*

Concurrent restores example

Restore three DASD volumes concurrently. The three backups are mounted on three separate tape drives and are restored in parallel.

//RESTORE EXEC PGM=FDR,REGION=0M //SYSPRINT DD SYSOUT=* //SYSPRIN1 DD SYSOUT=* //SYSPRINA DD SYSOUT=* //SYSPRINY DD SYSOUT=* //FDRSUMM DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //DISK1 DD UNIT=SYSALLDA,DISP=OLD,VOL=SER=DATA01 //TAPE1 DD DSN=BACKUP.VDATA01,DISP=OLD //DISKA DD UNIT=SYSALLDA,DISP=OLD,VOL=SER=DATA85 //TAPEA DD DSN=BACKUP.VDATA85,DISP=OLD //DISKY DD UNIT=SYSALLDA,DISP=OLD,VOL=SER=DATA89 //TAPEY DD DSN=BACKUP.VDATA89,DISP=OLD //SYSIN DD * RESTORE TYPE=FDR,MAXTASKS=3 /*

Serial restores example

Restore three DASD volumes serially, because they were dumped to consecutive files on the same tape volume. One tape drive is allocated. DISP=(OLD,PASS) is coded to prevent the tape from rewinding between each restore.

//RESTORE EXEC PGM=FDR,REGION=0M //SYSPRINT DD SYSOUT=* //SYSPRIN1 DD SYSOUT=* //SYSPRIN2 DD SYSOUT=* //SYSPRIN3 DD SYSOUT=* //FDRSUMM DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //DISK1 DD UNIT=SYSALLDA,DISP=OLD,VOL=SER=DATA01 //TAPE1 DD DSN=BACKUP.VDATA01,DISP=(OLD,PASS) //DISK2 DD UNIT=SYSALLDA,DISP=OLD,VOL=SER=DATA85 //TAPE2 DD DSN=BACKUP.VDATA85,DISP=(OLD,PASS) //DISK3 DD UNIT=SYSALLDA,DISP=OLD,VOL=SER=DATA89 //TAPE3 DD DSN=BACKUP.VDATA89,DISP=(OLD,PASS) //SYSIN DD * RESTORE TYPE=FDR /*


Rebuild indexed VTOC example

Rebuild the indexed VTOC (VTOCIX) on any DASD volume. This is required after any FDR restore or copy a DASD volume to another DASD volume with a different capacity (number of cylinders). It is also required after COMPAKTion to a new volume with CPYVOLID=YES, if the original volume serial was still online at the time. This example assumes that the SYS1.VTOCIX.volser data set exists on the volume but has been disabled.

//BUILDIX EXEC PGM=ICKDSF //SYSPRINT DD SYSOUT=* //DISK1 DD UNIT=SYSALLDA,DISP=OLD,VOL=SER=PROD01 //SYSIN DD * BUILDIX DDNAME(DISK1) IXVTOC /*


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*