To start the forward recovery functions run the required JCL and provide the CICS® VR commands you require as parameters on the DWWIN DD statement.
The sample JCL below, shows the JCL that is required to manually run CICS VR commands.
The commands specified to the CICS VR recovery program vary according to the type of recovery requested, what types of logs you are using, log copies or log streams, and so on. For more information see the command descriptions see CICS VR commands for a description of the proper commands and keywords that are used to perform the type of recovery you need.
//CICSVR JOB job statement 1
//COMMAND EXEC PGM=DWWCO 2
//STEPLIB DD DSN=DWW.SDWWLOAD,DISP=SHR 3
// DD DSN=DWW.SDWWLENU,DISP=SHR
//DWWLOAD DD DSN=DWW.OPTIONAL.LOAD,DISP=SHR 4
//DWWMSG DD SYSOUT=* 5
//DWWPRINT DD SYSOUT=* 6
//DWWCON1 DD DSN=hlq.slq.DWWCON1.GRPsuffix,DISP=SHR 7
//DWWCON2 DD DSN=hlq.slq.DWWCON2.GRPsuffix,DISP=SHR
//DWWCON3 DD DSN=hlq.slq.DWWCON3.GRPsuffix,DISP=SHR
//DWWLOG DD DSN=LOG03.COPY1.D01159.T221500, 8
// UNIT=TAPE,VOL=SER=123456,DISP=OLD
//DWWIN DD * 9
.
.
CICSVR commands
.
.
/*
//
The DCB parameters for this data set are RECFM=FBA and LRECL=133. The block size can be provided on the DWWMSG DD statement and must be a multiple of 133. The default is 133.
The DCB parameters for this data set are RECFM=FBA and LRECL=133. The block size can be provided on the DWWPRINT DD statement and must be a multiple of 133. The default is 133.