The failure is reported to the operator console by the BS2000 disk error handling function.
If a cache area is used with CACHING-MODE = *READ, no action is required since all data exists both on disk and in the cache.
If cache areas are used in write or read/write mode, the error is reported by the cache handler following any of the actions listed below:
/STOP-DAB-CACHING
command for cache area:NDB0029 DAB CACHE BUFFER '(&00)' IN CACHE MEDIUM '(&01)' WAS NOT COMPLETELY SAVED TO DISK STORAGE DUE TO ERROR (&02) NDB0023 DAB CACHE BUFFER '(&00)' IN CACHE MEDIUM '(&01)' WAS NOT DELETED
/EXPORT-PUBSET
command for pubset with cache area:NDB0048 CACHE DATA OF VOLUME WITH VSN '(&00)' COULD NOT BE SAVED
COMPLETELY TO DISK STORAGE
All cache data of a cache area is written to the associated disks with the exception of the data affected by the hardware problem so that access to the corresponding disk is not possible. The data areas affected can be determined via the /SHOW-DAB-CACHING
command . If caching is performed via AREA=*FILE, the files are marked by the PINNED DATA status flag.
Response
Return the disks to an accessible state (have the disk subsystem checked by the Service , if necessary), then save cache data to disk by initiating the release of the cache area (again).