Which data sets are eligible for BWO
- Data sets that are on SMS-managed storage and that have an integrated catalog facility (ICF) catalog.
- VSAM data sets accessed by CICS® file control and for the CICS system definition (CSD) file. ESDS, KSDS, and RRDS are supported. ESDS and KSDS are supported both with and without alternate indexes. DFSMShsm imposes a limit (many thousands) on the number of alternate indexes for a data set.
BWO is supported at the VSAM sphere level; thus you cannot take BWO backup copies of some sphere components and not others. The first data set opened for update against a VSAM base cluster determines the BWO eligibility for the sphere. This includes base clusters that are accessed through a VSAM path key. For example, if the first data set is defined as eligible for BWO, CICS fails the file-open operation for any subsequent data set that is opened for update against that cluster and which is not defined as eligible for BWO.
You can take BWO volume backups if all data sets that are open for update on the volume are eligible for BWO.
VSAM control interval or control area split
For a KSDS (or an ESDS with alternate indexes) that has frequent insert or update activity, it is only practical (and safe) to take BWO backups during periods of reduced activity (for example, overnight). This is because it is possible for a VSAM control interval or control area split to occur during a BWO backup. Then, the integrity of the backup copy cannot be guaranteed because DFSMSdss copies the data set sequentially, and so certain portions of the data set might be duplicated or not represented at all in the backup copy.
DFSMSdfp indicates in the ICF catalog that a split has occurred. DFSMShsm and DFSMSdss check the ICF catalog at the start and end of a backup. If a split is in progress at the start of a backup, the backup is not taken. If a split has occurred during a backup, or a split is still in progress at the end of a backup, the backup is discarded.
So, to take a BWO backup successfully, the normal time between splits must be greater than the time taken for DFSMShsm and DFSMSdss to take a backup of the data set.
Data tables: You can use BWO with CICS-maintained data table base clusters. However, you cannot use BWO with user-maintained data tables, because no forward recovery support is provided.
Alternate Index: CICS normally uses a base key or a path key to access data in a VSAM base cluster data set. It is also possible, but not normal, for CICS to access alternate index records by specifying the alternate index name as the data set name. If an alternate index data set is used in this way, you cannot define the alternate index as eligible for BWO. Instead, the alternate index adopts the BWO characteristics already defined for the VSAM sphere.