Previous Topic: Example 15—Plan Disaster RecoveryNext Topic: BACKUP Examples


Example 16—Recovery with GDG and GDGLIMIT

Assume that the GDG base name is A.B, its limit is 3, and there are 5 GDSs in archive (A.B.G001V00, A.B.G002V00,..., A.B.G005V00) and A.B.G0003V00, A.B.G0004V00, and A.B.G0005V00 are cataloged to ARCIVE.

//      EXEC FMS
//SYSIN  DD  *
SCAN DSNINDEX
SELECT DSN=A.B/
RECOVER

If you do not specify any GDGLIMIT= parameter, then CA Disk recovers the GDG to its latest status. CA Disk recovers as many generations as possible within the defined limit of the GDG base. In this case, A.B.G0002V00, A.B.G0003V00, and A.B.G0004V00 are recovered.

//      EXEC FMS
//SYSIN  DD  *
SCAN DSNINDEX
SELECT DSN=A.B/
RECOVER GDGLIMIT=99

If the value of GDGLIMIT= is greater than the defined limit of the GDG base, CA Disk recovers as many generations as possible within the defined limit. In this case, A.B.G0002V00, A.B.G0003V00, and A.B.G0004V00 are recovered.

//      EXEC FMS
//SYSIN  DD  *
SCAN DSNINDEX
SELECT DSN=A.B/
RECOVER GDGLIMIT=2

If the value of GDGLIMIT= is less than the defined limit of the GDG base, CA Disk recovers as many generations as possible within the value specified for GDGLIMIT=. In this case, only A.B.G0003V00 and A.B.G0004V00 are recovered.

//      EXEC FMS
//SYSIN  DD  *
SCAN DSNINDEX
SELECT DSN=A.B/
RECOVER GDGLIMIT=0

CA Disk does not recover any GDS for GDG base A.B. In this case, no GDS is recovered.

Assume that the GDG base name is A.B, its limit is 3, and there are 5 GDS's in archive (A.B.G0001V00, A.B.G0002V00,..., A.B.G0005V00) and A.B.G0003V00, A.B.G0004V00, and A.B.G0005V00 are active GDGs cataloged to MIGRAT while A.B.G0001V00, and A.B.G0002V00 are rolled off cataloged to MIGRAT. The cataloged rolled-off generations are not counted as part of the limit since they are no longer part of the sphere and are always recovered.

// EXEC FMS 
//SYSIN DD * 
SCAN DSNINDEX 
SELECT DSN=A.B/ 
RECOVER 

If no GDGLIMIT= parameter is specified, then CA Disk recovers the GDG to its latest status. CA Disk recovers as many generations as possible within the defined limit of the GDG base. In this case, all five generations are recovered.

// EXEC FMS 
//SYSIN DD * 
SCAN DSNINDEX 
SELECT DSN=A.B/ 
RECOVER GDGLIMIT=99 

If the value of GDGLIMIT= is greater than the defined limit, CA Disk recovers as many generations as possible within the defined limit of the GDG base. In this case, all five generations are recovered.

// EXEC FMS 
//SYSIN DD * 
SCAN DSNINDEX 
SELECT DSN=A.B/ 
RECOVER GDGLIMIT=2 

If the value of GDGLIMIT= is less than the defined limit, CA Disk recovers as many generations as possible within the value that you specify for GDGLIMIT=. In this case, only A.B.G0004V00 and A.B.G0005V00 are recovered with the rolled-off generations.

// EXEC FMS 
//SYSIN DD * 
SCAN DSNINDEX 
SELECT DSN=A.B/ 
RECOVER GDGLIMIT=0 

CA Disk does not recover any GDS for GDG base A.B. In this case, no GDS is recovered except for the rolled-off generations.