This Month's Topic |
Program | Condition | Result |
IKJEFT01 |
Abend: program, TSO command | Exits with RC=12 |
RC not zero | Continues execution | |
Final return code set by last command, program, CLIST or REXX executed | ||
IKJEFT1B |
System abend: program, TSO command | Abends with S04C abend |
User abend: program, TSO command | Exits with completion code | |
Non-zero return code: CLIST | Continues execution | |
Non-zero return code: TSO command, program, REXX or TSO command invoked from CLIST | Exits with return code | |
IKJEFT1A |
System or user abend: program, TSO command | Abend with S04C abend |
Non-zero return code: CLIST | Continues execution | |
Non-zero return code: TSO command, program, REXX or TSO command invoked from CLIST | Exits with return code |
Using one of the other TMPs would allows the TSO in batch step to end immediately if a TSO command exits with a non-zero return code, for example. If you have set up a JCL procedure to run TSO in batch, you may wish to include a parameter to allow a different TMP to be specified. For example,
For other examples related to TSO in batch here, see: