Error handling for exit modules

The conditions described below can occur during processing of the user exits.

Exit load failure:

Message IGYSI5207-U is written to the operator if a LOAD request for any of the user exits fails:
An error occurred while attempting to load user exit exit-name.

Exit open failure:

Message IGYSI5208-U is written to the operator if an OPEN request for any of the user exits fails:
An error occurred while attempting to open user exit exit-name.

PRTEXIT PUT failure:

  • Message IGYSI5203-U is written to the listing:
    A PUT request to the PRTEXIT user exit failed with return code nn.
  • Message IGYSI5217-U is written to the operator:
    An error occurred in PRTEXIT user exit exit-name. Compiler terminated.

SYSIN GET failures:

The following messages might be written to the listing:
  • IGYSI5204-U:
    The record address was not set by the exit-name user exit.
  • IGYSI5205-U:
    A GET request from the INEXIT user exit failed with return code nn.
  • IGYSI5206-U:
    The record length was not set by the exit-name user exit.

ADEXIT PUT failure:

  • Message IGYSI5225-U is written to the operator:
    An error occurred in ADEXIT user exit exit-name. Compiler terminated.
  • Message IGYSI5226-U is written to the listing:
    A PUT request to the ADEXIT user exit failed with return code nn.

MSGEXIT failures:

Customization failure: Message IGYPP5293-U is written to the listing if an unsupported severity change or unsupported message suppression is attempted:
MSGEXIT user exit exit-name specified a message severity customization that is
not supported. The message number, default severity, and user-specified severity
were: mm, ds, us. Change MSGEXIT user exit exit-name to correct this error.
General failure: Message IGYPP5064-U is written to the listing if the MSGEXIT module sets the return code to a nonzero value other than 4:
A call to the MSGEXIT user exit routine exit-name failed with return code nn.

In the MSGEXIT messages, the two characters PP indicate the phase of the compiler that issued the message that resulted in a call to the MSGEXIT module.