Previous Topic: PROCESSNext Topic: Security Exit Interface


TERM

The TERM call is made after the exit has returned a EOF (end of directory--last member has been returned). This is an acknowledgment to the exit program that the MSL request has successfully completed. The possible Return Codes from the TERM call are:

Return Code


Interpretation


Action

0

The call was successful.

Program terminated successfully.

8

An error occurred during program termination.

Any members returned are displayed on the MSL. The exit should return a diagnostic message in the area provided in the Exit Parameter Structure. This message is displayed to the user.

16

Fatal error.

The exit program encountered an error. The MSL is not to be displayed to the user. The exit should provide a diagnostic message in the area provided in the Exit Parameter Structure. The message is displayed for the user. This return code assures that the MSL is not displayed.