IEHPROGM returns a code in register 15 to indicate the results
of program execution. The return codes and their meanings are:
- Codes
- Meaning
- 00 (X'00')
- Successful completion.
- 04 (X'04')
- A syntax error was found in the name field of the control statement
or in the PARM field in the EXEC statement. Processing continues.
- 08 (X'08')
- A request for a specific operation was ignored because of an
incorrect control statement or an otherwise invalid request. The operation
is not performed.
- 12 (X'0C')
- An input/output error was detected when trying to read from
or write to SYSPRINT, SYSIN or the VTOC. The utility is ended.
- 16 (X'10')
- An unrecoverable error exists. The utility is ended.