Defining backup while open (BWO) for VSAM files
CICS® supports the backup while open (BWO) facility provided
by DFSMSdss and DFSMShsm. This
support enables some types of VSAM data sets to be backed up by DFSMSdss while
CICS is currently updating these data sets.
At the same time,
CICS logs forward recovery images of any changes to these data sets on a forward
recovery journal. At a later date the backup of the data set can be restored
using DSMShsm and brought to a point of consistency by applying the forward
recovery logs using a forward recovery utility such as CICS VSAM Recovery.
Before you begin
VSAM data sets that are to use this facility must reside on SMS-managed DASD, and must have an ICF catalog structure. Only VSAM ESDS, RRDS (both fixed and variable), and KSDS data sets are supported.
About this task
Procedure
Results
CICS records the fact that a VSAM base cluster data set is eligible for BWO in its base cluster block. This is remembered when all files have closed against the VSAM base cluster and across CICS warm and emergency restarts. It is not remembered across CICS cold or initial starts.
What to do next
- Restoring the BWO backup and running the forward recovery utility to bring the data set to a point of consistency. The restore requires that users do not have access to the file during the recovery process.
- Restoring and forward recovery of data sets that might have been damaged while allocated to CICS. This operation might require backout of partially committed units of work, by CICS emergency restart.