Label verification routines


The label verification routines reside in the IMS RESLIB or in a similar library that is available during the execution of the application program.

They work in conjunction with DBRC processing. The following figure illustrates the label verification process.

dbi-label-verification-routines-1-4.jpg

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.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*