CICS VSAM Recovery (CICS VR) is an automated recovery product. It recovers lost or physically damaged VSAM datasets that are updated by Batch and CICS applications. It provides forward recovery and backout for VSAM datasets.
CICS VR Forward Recovery
CICS VR forward recovery constructs a recovery job when VSAM data has been physically damaged or lost. The dataset can be a VSAM KSDS, ESDS, RRDS, or VRRDS.
The updates done to the VSAM dataset are recorded on an MVS system logger log stream as after image. When the VSAM dataset got any physical or logical corruption, CICS VR Forward recovery gets the information that it needs to construct the recovery job from the RCDS and using after image in the log and last backup, it recovers the VSAM dataset to its exact state before the data was lost.
CICS VR Change Accumulation
CICS VR Change accumulation (CA) is the process of consolidating forward recovery log records into a change accumulation dataset. CICS VR uses the change accumulation dataset in conjunction with the forward recovery log to speed up forward recovery processing.
CICS VR Change accumulation process reads the forward recovery log for a certain log range. Later it selects the log records for the spheres in that CA group that are important for the forward recovery and then calls DFSORT to sort these log records. CA saves the last update for each record using the sorted log records. Then it stores the consolidated records in the CA dataset.