Setting up CICS VR VSAM batch logging

CICS® VR VSAM batch logging, referred to as batch logging, provides logging of updates made to VSAM data sets by batch jobs. Two types of batch logging are available, forward recovery logging and undo logging.

Forward recovery logging writes an after-image log record to a forward recovery log stream for every update made to the VSAM data set by a batch job. Therefore, if the data set becomes corrupt, CICS VR forward recovery can be used to recreate the updates made by the batch job.

Undo logging writes a before-image log record to an undo log stream for every update made to the VSAM data set by a batch job. Therefore, if the batch job encounters an abend, CICS VR batch backout can be used to remove the updates made by the failed batch job or batch job step.

Forward recovery logging, undo logging, or both can be enabled for a VSAM data set. This section explains the tasks required to enable batch logging for your VSAM data sets.

CICS VR VSAM batch logging requires the following:
CICS VR VSAM batch logging calls the MVS™ system logger to write the log records to the MVS log stream. The MVS system logger is a component of z/OS®, which provides a programming interface to access records on a log stream. For detailed information on the MVS system logger, see the following publications:
The following topics are described in this section: