Examples of how to code the FRRECOV command

The following examples present different ways to code the FRRECOV command.

Note: Any values specified here are only examples and should not be interpreted as the values to be used for your system.

Recovering a volume from a dump copy for dump class DCL1

In this example a single volume is recovered from dump class DCL1.
   FRRECOV TOVOLUME(SRC001) FROMDUMP DUMPCLASS(DCL1) GENERATION(0)

Recovering a single volume is recovered from a specific dump tape

In this example, a specific volume from a specific copy pool from a specific dump volume is recovered.
   FRRECOV TOVOLUME(SRC002) FROMCOPYPOOL(CPDATABASE1) FROMDUMP(DUMPVOLUME(TDUMP1))

Recovering all data sets for multiple users

In this example, DFSMShsm requests a fast replication recovery of all data sets for three specific users.
   FRRECOV DSNAME(USER1.**,USER2.**,USER3.**) REPLACE

Recovering each volume in a copy pool

In this example, DFSMShsm requests a fast replication recovery for each volume in a copy pool named CPDATABASE1. The most recent versions are recovered since a specific version is not requested.
   FRRECOV COPYPOOL(CPDATABASE1) VERIFY(Y) 

Recovering each volume in a copy pool from a specific date

In this example, DFSMShsm requests a fast replication recovery for each volume in a copy pool named CPDATABASE1 from a specific date.
   FRRECOV COPYPOOL(CPDATABASE1) DATE(2002/1/15)

Recovering volumes in a copy pool with a specific token

In this example, DFSMShsm requests a fast replication recovery of each volume in a copy pool named CPDATABASE1 with a specific token.
   FRRECOV COPYPOOL(CPDATABASE1) TOKEN(FRBACKUP_JULYDATA)

Recovering a specific source volume

In this example, DFSMShsm requests a fast replication recovery of the most recent fast replication backup version to a specific source volume.
   FRRECOV TOVOLUME(VOL186) 

Recovering a specific source volume from a specific copy pool

In this example, DFSMShsm requests a fast replication recovery for a specific source volume from the copy pool named CPDATABASE1.
   FRRECOV TOVOLUME(VOL186) FROMCOPYPOOL(CPDATABASE1)

Recovering a specific generation of a source volume from a specific copy pool

In this example, DFSMShsm requests a fast replication recovery for a specific generation of a source volume from the copy pool named CPDATABASE1.
   FRRECOV TOVOLUME(VOL186) FROMCOPYPOOL(CPDATABASE1) GENERATION(1)

Resuming a failed copy pool recovery from dump

In this example, the previous recovery of a copy pool named CPDATABASE1 from dump class DCL1 failed. The failed recovery is resumed.
   FRRECOV COPYPOOL(CPDATABASE1) FROMDUMP(DUMPCLASS(DCL1) RESUME(YES))