FDRREORG RECOVER Examples


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

Recovery example

The following sample control card demonstrates how you can recover from a failed reorganization. This example assumes that the job name of the failed reorganization job was MYREORG.

//RECOVER  EXEC PGM=FDRREORG,REGION=0M
//SYSPRINT DD SYSOUT=*
//REORGPRT DD SYSOUT=*
//REORGRPT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSIN    DD *
 RECOVER  JOBNAME=MYREORG
/*


The RECOVER statement assumes that you want to complete reload processing for all data sets found in the checkpoint or log files. You can use the DSN= operand to provide a data set or data set filter list to limit recovery processing to those data sets you provide, or you can use the EXDSN= operand to exclude data sets from recovery processing. The following sample control cards demonstrate how you can use the DSN= or EXDSN= operands. In the first example, only data sets with a high-level index of PROD are recovered. In the second example, only data sets that do not have a high-level index of PROD are recovered.

//RECOVER1 EXEC PGM=FDRREORG,REGION=0M
//SYSPRINT DD SYSOUT=*
//REORGPRT DD SYSOUT=*
//REORGRPT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSIN    DD *
 RECOVER  JOBNAME=MYREORG,DSN=PROD.**
/*
//RECOVER2 EXEC PGM=FDRREORG,REGION=0M
//SYSPRINT DD SYSOUT=*
//REORGPRT DD SYSOUT=*
//REORGRPT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSIN    DD *
  RECOVER  JOBNAME=MYREORG,EXDSN=PROD.**
/*

 

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

BMC AMI Storage FDR 6.1