Continued database authorization
IMS performs a number of actions when a write I/O error is encountered on a DBDS.
If IMS encounters a write I/O error on a DBDS, and the DBDS is registered with DBRC, IMS:
- Builds an EEQE for the data that could not be written to the DBDS
- Calls DBRC
If you register the database with DBRC, DBRC updates the RECON data set for the DBDS by:
- Flagging the DBDS record to indicate that recovery is needed
- Recording the address of the EEQE in the DBDS record
- Incrementing the DB record to count the EEQE
The recovery-needed flag prohibits new authorizations for some IMS utilities such as the Batch Image Copy utility. Also, if the recovery-needed flag is set and there are no EEQEs, DBRC denies all authorizations except for the recovery utilities.
If you do not register the database with DBRC, IMS assumes that the EEQEs that it builds from the log records during warm or emergency restart are correct. IMS discards EEQE information for nonregistered databases when you stop the database by using the /DBRECOVERY DB or UPDATE DB STOP(ACCESS) command.