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


Return codes for the CONSOLE exits

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

Table 1 shows the standard return codes that all of the CONSOLE exits support.

Table 1. Standard return codes that all CONSOLE exits support
Return code (decimal) Description
0 Exit processing was successful. CONSOLE processing continues.
12 Exit processing was unsuccessful. CONSOLE issues an error message to the user and then terminates processing. The console session remains active if it was active before the exit received control.

If the exit uses return code 12, it can also pass back an exit reason code to the CONSOLE command processor. For more information about the exit reason code, see Exit reason code.

16 Exit processing was unsuccessful. CONSOLE terminates processing. The console session remains active if it was active before the exit received control.

The CONSOLE command processor does not display a message to the user if the exit sets a return code of 16. Before the exit returns with return code 16, it can display a message to the user; for example, using PUTLINE.

If any other non-zero return code is received from the exit, it is assumed to be a return code of 16.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014