Automated Recovery Overview
CICS® VR automated recovery support provides several functions.
- Within CICS®, the corruption of a VSAM data set, or the need for a VSAM data set reorganization, produces an alert for CICS® VR to take action.
- Within CICS® VR, recovery or reorganization jobs can be created and submitted automatically. This automation is optional.
- Within a CICS® VR recovery or reorganization job, extra steps is included automatically to request that CICS® take the data set offline from CICS® before the forward recovery or reorganization begins, and to bring the data set back online following the forward recovery or reorganization. These steps enable CICS® to retry its backout.
When CICS® detects that a VSAM file has been corrupted in a way that would usually require recovery or file reorganization, it informs CICS® VR. CICS® VR detects the event and take appropriate action.
The error detection process is fully automatic, but the user can specify whether the subsequent recovery is fully automatic so that no intervention is required, or non-automatic, so that the recovery job is started from the panel interface. This feature is enabled using the CBAUTO parameter, as described in Preparing for Automated Recovery.
The skeletons used for restore or recovery are generally the same for both automatic and manual jobs. The exception is the DWWAJOB skeleton used in automatic recovery job construction. For manual recovery job construction, the DWWUJOB skeleton is used instead.
If the construction of an automatic recovery job fails, DWWMSG and DWWPRINT contains corresponding error messages. If failure occurs during manual job construction, the error is described by pop-up messages on panels. If the recovery job itself fails, a corresponding error message is issued to the system console, and also recorded in the CICS® job log. For more information about the messages and appropriate actions to be taken, see CICS® VR Messages and Problem Determination.