TSOEXEC command return codes

Table 1 lists all the return codes of TSOEXEC command.

Table 1. TSOEXEC command return codes
Return code Meaning
0 Processing successful.
4 Processing completed, but the requested command returned a non-zero return code. It is in CLIST control variable &SYSCMDRC.
8 An attention interruption ended the requested command.
12 The requested command abnormally terminated. Its abend code and REASON code are in CLIST control variables &SYSABNCD and &SYSABNRC.
24 System error.
28 The requested command is not a valid TSO/E command.