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


Return codes

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

Return code (decimal) Description
0 Continue. The SUBMIT command processor processes the current statement and reads the next one. The exit uses return code 0 when it has finished processing the current statement.
4 Invoke the exit again to obtain another statement. The SUBMIT command processor processes the current statement that the exit passes back. It invokes the exit again so the exit can insert a statement. The inserted statement can be:
  • A continuation of the previous statement (the statement that the exit passed back when it set return code 4), or
  • A new JCL statement.
8 The SUBMIT command processor displays message IKJ56283I and invokes the exit again.

The exit must obtain the message text area and supply the message text. The exit stores the address of the message in word 2 of the parameter list, sets the return code (8), and returns control. The SUBMIT command processor displays the message and then invokes the exit again. After the exit receives control again, it should free the message text area.

12 The SUBMIT command processor displays prompting message IKJ56280A, obtains a response from the user, and invokes the exit again.

The exit must obtain the message text area and supply the message text. The exit stores the address of the message in word 2 of the parameter list, sets the return code (12), and returns control. The SUBMIT command processor displays the message, obtains the user's response, and invokes the exit again passing the user's response in word 3 of the parameter list.

After the exit receives control again, it should free the message text area. The SUBMIT command processor obtains and frees the reply text area.

If the user specifies NOPROMPT on a PROFILE command or uses a CLIST without the PROMPT keyword, a return code of 12 causes the SUBMIT command processor to issue a message and end processing.

16 End processing of the SUBMIT command. If the exit cancels processing, the SUBMIT command processor does not issue a message to the user. Therefore, before the exit sets a return code of 16, it should first use return code 8 to display an appropriate message to the user.

If the exit sets an undefined return code, the SUBMIT command processor issues an error message and ends processing.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014