You can create and submit a batch job manually that starts
the CICS® VR batch backout program DWWBACK.
You can use this batch backout program 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 DISP=SHR,DSN=DWW.SDWWLOAD 4
// DD DISP=SHR,DSN=DWW.SDWWLENU
// DD DISP=SHR,DSN=exits load library name
//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
//DWWCON3 DD DSN=DWW.DWWCON3.GRPPROD,DISP=SHR
//DWWIN DD * 8
.
CICSVR batch backout commands
.
/*
//
Descriptions of the numbered JCL statements are as follows:
- The JOB statement conforms to the standards of your environment.
- The CICS VR batch backout program to be run is DWWBACK.
- STEPLIB defines the name of the CICS VR
load library if it is not allocated in the link list.
DWWLOAD is optional, and defines the alternative load
libraries to STEPLIB and the link list, after the top module from
the EXEC statement has been loaded. After the top module initialization,
all following module loads, supplementary CICS VR modules, and CICS
VR exits are from these alternative load libraries. 
- 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.
- 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.
- 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.
- 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. For an explanation
of the available commands and keywords, see Understanding the CICS VR batch backout command and keywords.