PGEX gate, TERMINATE_EXIT function
The TERMINATE_EXIT function of the PGEX gate is used to terminate an exit program.
Input Parameters
- PROGRAM_TOKEN
- is the token identifying the program to be terminated.
- RELEASE_PROGRAM
- defines whether or not the program is to be released when terminated.
- Values for the parameter are:
- NO
- YES
Output Parameters
- REASON
- The values for the parameter are:
- ABEND
- INVALID_FUNCTION
- INVALID_PROGRAM_TOKEN
- LOOP
- PROGRAM_NOT_AUTHORIZED
- PROGRAM_NOT_DEFINED
- PROGRAM_NOT_ENABLED
- PROGRAM_NOT_IN_USE
- PROGRAM_NOT_LOADED
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.