CICS VR undo logging
CICS® VR undo logging writes a before-image log record to a log stream for every update made to a VSAM data set by a batch job. If the batch job encounters an abend, CICS VR batch backout processing can use these records to remove the updates made by the failed batch job or batch job step.
- A user ID
- A job name prefix
- The high-level qualifier of a VSAM sphere name
The undo logs must be used only by CICS VR undo logging. No other applications, such as forward recovery logging, writes to these log streams.
Only one undo log can be used for each VSAM sphere update job. For example, if a job updates more than one VSAM sphere, you cannot associate some of the VSAM spheres with a different undo log; they must all be associated with the same undo log. Because there are different types of undo log association, some jobs which you submit might have more than one matching association. When you submit a job, CICS VR checks that there are no conflicting associations which name different undo logs. If a conflict is found, CICS VR undo logging produces an error.
If CICS VR does not find any associations which apply for a submitted job, it uses the default undo log which is defined for the system. You need to define the default undo log, by setting the default undo log name prefix, before you submit any job involving undo logging. You also need to specify an undo logging control string and a backout control string.