Building a recovery job manually

If you are building a recovery job manually, you must add the following keyword to the recovery job to have CICS® VR apply log records produced by CICS TS autojournaling to the VSAM spheres during forward recovery processing.

AUTOJOURNALS
The AUTOJOURNALS keyword must be added to the RECOVER command. The AUTOJOURNALS keyword specifies that CICS VR must only apply log records produced by CICS TS autojournaling to the VSAM spheres during forward recovery processing.
The following example recovery job recovers VSAM sphere SAMPLE.VSAM.SPHERE only from log records produced by CICS TS autojournaling with a timestamp equal to or later than 03.325 11:59:59.
Figure 1. Example recovery job with CICS TS autojournal options
 //JOB1 JOB ACCOUNTING INFORMATION,REGION=0M                                
 //COMMAND  EXEC PGM=DWWCO                                                  
 //STEPLIB  DD DSN=DWW.SDWWLOAD,DISP=SHR                                    
 //         DD DSN=DWW.SDWWLENU,DISP=SHR                                    
 //DWWCON1  DD DSN=DWW.DWWCON1,DISP=SHR                                     
 //DWWCON2  DD DSN=DWW.DWWCON2,DISP=SHR                                     
 //DWWCON3  DD DSN=DWW.DWWCON3,DISP=SHR                                     
 //DWWMSG   DD SYSOUT=*                                                     
 //DWWPRINT DD SYSOUT=*                                                     
 //DWWIN   DD *                                                             
        RECOVER -                                                               
             SPHERE(SAMPLE.VSAM.SPHERE)   -                                     
             AUTOJOURNALS                 -             (1)  
             STARTTIME(03.325/11:59:59)                                         
        MVSLOG NAME(AUTOJRNL.LOG.DFHJ01)                (2)  
 /*                                                                         
 //  
  1. The AUTOJOURNALS keyword specifies that CICS VR must apply only log records produced by CICS TS autojournaling during forward recovery processing.
  2. The MVSLOG command with the NAME keyword specifies the name of the log stream that contains the log records produced by CICS TS autojournaling that CICS VR must apply to the VSAM sphere.

For more information about the manual creation of CICS VR recovery jobs, see Running CICS VR manuallyRunning CICS(r) VR manually in the CICS VR User's Guide.