Label verification routines

During initialization, IMS builds/accesses the control blocks it needs from the information in the DBD and PSB libraries, the ACB library, or the DIR libraries. IMS passes control to DBRC for authorization processing. Database Integrity intercepts the DBRC authorization request to perform its label verification processing. Database Integrity verifies that the database information in the label matches the actual control block being used to access the database.
If the label and the control block match, Database Integrity passes control to DBRC for authorization processing and normal processing continues. If the Database Integrity label verification routines find a mismatch, Database Integrity issues error messages to the appropriate destinations and takes the action indicated by the label option, either to deny authorization or to replace the label and continue normally with warnings. If authorization is denied in a batch environment, IMS issues an abend for the job. In an online environment, the database is stopped, but the IMS online system does not abend.