z/OS TSO/E Customization
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Return codes for the CLIST statement exit

z/OS TSO/E Customization
SA32-0976-00

Table 1 shows the return codes that the CLIST statement exit supports.

Table 1. Return codes for the CLIST statement exit
Return code (decimal) Description
0 The exit has determined that the statement is not an installation-written CLIST statement. CLIST processing treats the statement as a TSO/E command.
4 The exit has successfully processed the installation-written CLIST statement.
12 Exit processing for the installation-written CLIST statement was unsuccessful. The following action is taken:
  • CLIST processing issues an error message to the terminal user
  • Control is passed to the ERROR routine in the CLIST, if one was specified, or CLIST processing terminates
  • The CLIST return code is set to 608
  • The variable &SYSREASON is set to the exit's return code.
16 Exit processing for the installation-written CLIST statement was unsuccessful. The following action is taken:
  • Control is passed to the ERROR routine in the CLIST, if one was specified, or CLIST processing terminates. However, CLIST processing does not issue a message.
  • The CLIST return code is set to 608.
  • The variable &SYSREASON is set to the exit's return code.

If your exit sets a return code of 16, you should consider displaying an informational message to the user. You can use the PUTLINE service routine to issue an informational message. See for more information.

Note: If the exit returns an undefined return code, CLIST processing terminates without issuing an error message to the user.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014