Previous Topic: Recovery ExamplesNext Topic: Example 2


Example 1

The following shows the command to reverse the transactions for the PAYCHECK job on database 1.

Note: Use the following as a guide to prepare your JCL. The JCL statements are for example only. Lowercase letters in a statement indicate a value you must supply. Code all statements to your site and installation standards.

 * $$ JOB ...           See the previous note and JCL Requirements.
 * $$ LST ...
 // JOB name
 // EXEC PROC=procname  Whether you use PROCs or LIBDEFs, see JCL Requirements.
 // ASSGN SYS001,TAPE
 // PAUSE MOUNT TAPE
 // TLBL RXX,'rxx'                                 Recovery data set (backward)
 // EXEC DBUTLTY,SIZE=750K
          RECBASE   DBID=1
          RECJOB    JOBNAME=PAYCHECK
          RECOVERY  OPTION=BACKWARD,SORT=1000,MISMATCH=FAIL
 /*
 /&
 * $$ EOJ