Recovery using recommended JCL
The preferred approach for creating JCL is to replace the program name on the execute statement with RVPUMAIN as illustrated in this example.
Remember that DFSURDB0 is an alias for RVPUMAIN and can also be used.
TSO-like command statements in the RVPSYSIN data set assign processing options and identify the databases to be recovered. Additional options can be stored in a global options module and specific DBD-level options can be stored in an options/statistics member in the PDX.
Unless a roll-forward recovery is being performed, the DUMP keyword should always be specified on a GROUP, REC, or AREC control statement.
When log input is used by the Recovery utility, sort work data sets are needed unless the number of records is so small that a turnaround or in-core sort is used. You can define the sort work data sets in the JCL or you can let the Recovery utility dynamically allocate them using its default values or the values you specify during customization as described in Specifying-sort-options
//* RECOVERY USING RECOMMENDED JCL
//*-----------------------------------------------------
//RECOVER EXEC PGM=RVPUMAIN,REGION=4096K
//STEPLIB DD DISP=SHR,DSN=BMC.
xxx.LOAD
// DD DISP=SHR,DSN=IMS.RESLIB
//DFSRESLB DD DISP=SHR,DSN=IMS.RESLIB
//IMS DD DISP=SHR,DSN=IMS.DBDLIB
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//DB10VDD1 DD DISP=OLD,DSN=IMS.DB10V.DB
//DFSUDUMP DD DISP=OLD,DSN=IMS.DB10V.COPY01
//DFSUCUM DD DISP=OLD,DSN=IMS.ACCUM01
//DFSULOG DD DISP=OLD,DSN=IMS.LOG01
// DD DISP=OLD,DSN=IMS.LOG02
//RVPSYSIN DD *
GLBL SORTWK(4,SYSDA,C,10,5)
REC DBD(DBD10V) DDN(DB10VDD1) DUMP(DFSUDUMP)
/*
Related topic