FDRINSTANT Examples


This section contains some examples of the use of DSF with FDRINSTANT. FDRINSTANT is described in more detail in:

depending on the type of DASD subsystem you are using; there are more examples for each subsystem in those sections. FDRABR customers should refer to those sections and to FDRABR-Volume-Backups for examples; these examples are for the use of PGM=FDRDSF only. There are no special considerations for a restore from a backup created with FDRINSTANT. Use the normal FDRDSF restore examples in:

FDRINSTANT is an additional cost enhancement to FDR.

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

Instant backup with SnapShot example

Data sets are to be backed up from an IBM RVA or Oracle StorageTek with the SnapShot feature or an EMC Symmetrix with the TimeFinder/Clone or TimeFinder/Snap features. The step SNAP snaps PROD01 to 01FA, creating a point-in-time image of the volume. Step BACKUP backs up the snapped copy of data sets from volume PROD01. After the backup is complete, FDR releases all of the back-end (internal DASD) storage associated with the snapped volume. See FDRINSTANT-for-SnapShot for details of FDRINSTANT for SnapShot and FDRINSTANT-for-EMC-TimeFinder for EMC TimeFinder.

//SNAP EXEC PGM=FDRSNAP //SYSPRINT DD SYSOUT=* //FDRSUMM DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //TAPE1 DD DUMMY //SYSIN DD * SNAP TYPE=FDR MOUNT VOL=PROD01,SNAPUNIT=01FA /* //BACKUP EXEC PGM=FDRDSF,REGION=0M,COND=(0,NE,SNAP) //SYSPRINT DD SYSOUT=* //FDRSUMM DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //DISK1 DD UNIT=SYSALLDA,VOL=SER=PROD01,DISP=OLD //TAPE1 DD DISP=(,CATLG),DSN=BACKUP.VPROD01(+1),UNIT=TAPE //SYSIN DD * DUMP TYPE=DSF,RTC=YES,SNAP=(USE,REL) SELECT DSN=PAY** /*

Instant backup of EMC BCV example

Data sets are to be backed up from an EMC Symmetrix with the TimeFinder/Mirror feature. The BCV at address 01FA has been permanently assigned to online non-SMS volume “PROD01” at address 01E4; a previous one-time ESTABLISH has been issued to establish that pairing. The step SPLIT splits the BCV from its online volume and waits for the split to complete, creating a point-in-time image of the volume. Step BACKUP backs up the BCV copy of data sets from volume PROD01. After the backup is complete, the BCV is re-synchronized with the online volume. See FDRINSTANT-for-EMC-TimeFinder for details of FDRINSTANT for EMC Symmetrix.

//SPLIT EXEC PGM=EMCTF //SYSOUT DD SYSOUT=* //SYSIN DD * SPLIT 1,01FA,WAIT /* //BACKUP EXEC PGM=FDRDSF,REGION=0M,COND=(0,NE,SPLIT) //SYSPRINT DD SYSOUT=* //FDRSUMM DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //DISK1 DD UNIT=SYSALLDA,VOL=SER=PROD01,DISP=OLD //TAPE1 DD DSN=BACKUP.VPROD01(+1),UNIT=TAPE,DISP=(,CATLG) //SYSIN DD * DUMP TYPE=DSF,RTC=YES,BCV=(USE,RET) SELECT DSN=LEDGER** /*

Instant backup of Hitachi Vantara ShadowImage example

The DASD to be backed up is in an Hitachi Vantara system with the ShadowImage feature. The DASD volume at address 01FA has been permanently assigned to online non-SMS volume “PROD01” at address 01E4; a previous one-time ESTPAIR has been issued to establish that pairing. The step SPLIT splits the copy from its online volume, creating a point-in-time image of the volume. Step BACKUP backs up data sets from the copy of volume PROD01. After the backup is complete, step RESYNC re-synchronizes the copy with the online volume. See FDRINSTANT-for-Hitachi-ShadowImage for details of FDRINSTANT for Hitachi Vantara ShadowImage.

//SPLIT EXEC PGM=ICKDSF //SYSPRINT DD SYSOUT=* //DISK1 DD UNIT=SYSALLDA,VOL=SER=PROD01,DISP=OLD //SYSIN DD * PPRCOPY SUSPEND DDNAME(DISK1) PRI(X0080’,30158,X04) - SEC(X0080’,30158,X1A) LSS(X01’,X01) /* //BACKUP EXEC PGM=FDRDSF,REGION=0M,COND=(0,NE,SPLIT) //SYSPRINT DD SYSOUT=* //FDRSUMM DD SYSOUT=* //SYSUDUMP DD SYSOUT=* //DISK1 DD DSN=FDR.USE.UNIT01FA.DISBAND,UNIT=SYSALLDA, // VOL=SER=PROD01,DISP=OLD //TAPE1 DD DSN=BACKUP.VPROD01(+1),UNIT=TAPE,DISP=(,CATLG) //SYSIN DD * DUMP TYPE=DSF,RTC=YES SELECT DSN=LEDGER** /* //RESYNC EXEC PGM=ICKDSF,COND=(0,NE,BACKUP) //SYSPRINT DD SYSOUT=* //DISK1 DD UNIT=SYSALLDA,VOL=SER=PROD01,DISP=OLD //SYSIN DD * PPRCOPY ESTPAIR DDNAME(DISK1) PRI(X’0080’,30158,X’04’) - SEC(X’0080’,30158,X’1A’) LSS(X’01’,X’01’) MODE(RESYNC) /*

Instant backup with FlashCopy example

The FlashCopy target volume at address 01FA has been permanently assigned to online volume “PROD01”. The step FCOPY starts a FlashCopy session from online volume PROD01 to offline target 01FA. VERIFYVOLSER=YES verifies that 01FA already contains volume serial number PROD01; you may need to omit this the first time that you FCOPY to that target. Step BACKUP backs up data sets from the offline copy of volume PROD01. After the backup is complete, FDR terminates the FlashCopy session. See FDRINSTANT-for-FlashCopy for details of FDRINSTANT for FlashCopy.

//FCOPY EXEC PGM=FDRFLASH,REGION=0M//SYSPRINT DD SYSOUT=*//FDRSUMM DD SYSOUT=*//SYSUDUMP DD SYSOUT=*//TAPE1 DD DUMMY//SYSIN DD *FCOPY TYPE=FDR,VERIFYVOLSER=YESMOUNT VOL=PROD01,FLASHUNIT=01FA/*//BACKUP EXEC PGM=FDRDSF,REGION=0M,COND=(0,NE,FCOPY)//SYSPRINT DD SYSOUT=*//FDRSUMM DD SYSOUT=*//SYSUDUMP DD SYSOUT=*//DISK1 DD UNIT=SYSALLDA,VOL=SER=PROD01,DISP=OLD//TAPE1 DD DSN=BACKUP.VPROD01(+1),UNIT=TAPE,DISP=(,CATLG)//SYSIN DD *DUMP TYPE=DSF,RTC=YES,FCOPY=(USE,REL)SELECT DSN=LEDGER**/*

 

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

BMC Compuware FDR 5.04