The following list contains JES return codes and their
meanings.
- 0 OK
- The target program was started successfully.
- 4 WARNING_STATE
- The target program was started successfully, but CTGBATCH found
some potential problems. See log messages for details.
- 8 SPAWN_FAILURE
- The target program did not start.
- 12 LOGINIT_FAILURE
- CTGBATCH failed to open the defined DD statement and the dynamically
allocated JES destination was also unavailable.
- 16 PIPEINIT_FAILURE
- CTGBATCH failed to create the interprocess pipes required for
communicating with the target program.
- 20 INITSTATE_FAILURE
- CTGBATCH initialization failed. See log messages for details.
- 24 LOG_WRITE_FAILURE
- CTGBATCH log write failure. During run time, CTGBATCH did not
write to one of the defined STDOUT or STDERR log destinations. A subsequent
attempt to write data to the default Language Environment® stdout or stderr destination also failed.