Maintaining return code compatibility
If any calls are made to the RMI before the first part of the connection process has completed, that is, before the DFHDBCON program has received a “successful” response code from the DRA via the adapter, error return codes are set in the task control area (TCA) to indicate that DBCTL is unavailable. These codes are put in the user interface block (UIB) by the DL/I call router program, DFHDLI.
Similarly, the DBCTL call processor informs application programs when DBCTL is no longer available; for example, after a DBCTL abend.
Another function of the call processor is to set up the TCA fields, TCADLRC and TCADLTR, with response and reason codes respectively for the call. This ensures that the application program continues to receive responses indicating normal response, NOTOPEN, and INVREQ conditions, with the appropriate response and reason codes in the corresponding UIB fields, UIBFCTR and UIBDLTR, after NOTOPEN and INVREQ conditions have been raised.