You can manually create and submit a batch job that starts the CICS® VR
batch backout program DWWBACK to perform one of the following tasks:
- Remove all updates made by a step in a batch job that encountered an abend.
- Remove all updates made by a specified step, and all subsequent steps,
of a batch job, regardless of whether the steps encountered an abend or not.
- Remove all updates made by an entire batch job, regardless of whether
the steps encountered an abend or not.
Figure 1. Sample JCL
that can be used to start the CICS VR batch backout program.//BTCHBACK JOB ACCOUNTING INFORMATION,REGION=4M 1
//BA EXEC PGM=DWWBACK 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=DWW.DWWCON1.GRPPROD,DISP=SHR 7
//DWWCON2 DD DSN=DWW.DWWCON2.GRPPROD,DISP=SHR 8
//DWWCON3 DD DSN=DWW.DWWCON3.GRPPROD,DISP=SHR 9
//DWWIN DD * 10
.
CICSVR batch backout commands
.
/*
//
Descriptions of the numbered JCL statements:
- 1
- The JOB statement conforms to your environment's standards.
- 2
- The CICS VR
batch backout program to be run is DWWBACK.
- 3
- STEPLIB defines the name of the CICS VR load library if it is not allocated
in Link List.
- 4
- DWWLOAD is optional, and defines an alternate load library to the one
defined in the STEPLIB DD statement. If a CICS VR batch backout ESDS delete exit
is required, and the library that contains the exit program is not in Link
List, you can define the library on the DWWLOAD DD statement.
- 5
- DWWMSG defines the output data set that contains the messages produced
by CICS VR.
This is usually defined as a SYSOUT data set. The DCB parameters for this
data set are RECFM=FBA and LRECL=133. The block size can be provided on the
DD statement, and must be a multiple of 133. The default block size is 133.
- 6
- DWWPRINT defines the output data set that contains the reports produced
by CICS VR.
This is usually defined as a SYSOUT data set. The DCB parameters for this
data set are RECFM=FBA and LRECL=133. The block size can be provided on the
DD statement, and must be a multiple of 133. The default block size is 133.
- 7–9
- DWWCONx defines the RCDSs that were allocated to the CICS VR server
address space when the batch job that made the updates you want to back out
was originally run.
- 10
- DWWIN defines the input data set containing the CICS VR commands. You either can specify
a sequential data set with 80-byte, fixed-length records, or include the commands
in-stream. See Understanding the CICS VR batch backout command and keywords, for an explanation
of the available commands and keywords.