Immediate or uncontrolled shutdown
During an immediate or uncontrolled shutdown, CICS® does not close the files defined to CICS, and so the BWO attributes in the ICF catalog are not updated.
Use the DFSMSdfp IGWABWO callable service to set the attributes (see An assembler program that calls DFSMS callable services for an example of how to do this). Do not run any batch jobs before the next CICS restart. If you do, for releases prior to DFSMS 1.2, discard any BWO backups that are taken in the batch window.
For DFSMS 1.2 onward, the controls in DFSMS allow DFSMSdss to detect a backup that is invalidated if CICS applications are shut down (normally or abnormally) and if batch programs are executed that update the data set while the BWO backup is in progress. This allows DFSMSdss to discard the backup, which prevents DFSMShsm from erroneously discarding the oldest valid backup from the inventory maintained by DFSMShsm.