Return codes

Register 15 contains a return code indicating the success or failure of the request. Possible return codes (in decimal) are:
0
The environment was activated and the routine called.
4
The function code is not valid.
8
CEEPIPI was called from a Language Environment-conforming HLL.
12
The indicated environment was initialized for main routines. No routine was executed.
16
The token is not valid.
20
The index points to an entry that is not valid or empty.
24
The index passed is outside the range of the table.
28
The enclave was terminated but the process level persists.

This value indicates the enclave was terminated while the process was retained. This can occur due to a STOP statement being issued or due to an unhandled condition. The sub_ret_code, sub_reason_code, and sub_feedback_code indicate this action.

40
The subprogram was an XPLINK program and the preinitialized environment is non-XPLINK. This is not valid.