1 | isi | Input | UINT4 |
2 |
inv | Input | INVPTR |
3 | option | Input | UINT4 |
4 | fc | Output | FEEDBACK |
The Handle a Condition (CEE4HC) API handles a specified condition and, optionally, logs the condition.
None.
0 | Take the default log action for the message. *ESCAPE and function check messages are logged. *STATUS messages are never logged. |
1 | Do not log the condition. |
2 | Log the condition. Only conditions with a severity greater than 1 can be logged. |
If the option parameter is omitted, the value 0 is used.
CEE0000 | The API completed successfully |
Severity: 00 | |
CEE3104 | The pointer type in &1 is not valid |
Severity: 30 | |
CEE3105 | The call stack entry given to &1 no longer exists |
Severity: 30 | |
CEE3107 | The message specified for &1 is not an exception message |
Severity: 30 | |
CEE3108 | The option specified for &1 is not valid |
Severity: 30 | |
CEE9902 | Unexpected user error occurred in &1 |
Severity: 30 |
The call stack entry that inv points to must appear in the call stack for the job issuing the call to the CEE4HC API.
The CEE4HC API can be used to take a previously handled message out of the job log, but only if that message is enqueued on inv.
The CEE4HC API can be used to handle *ESCAPE, *STATUS, *NOTIFY, and function check exceptions. A default reply is sent for *NOTIFY messages if no reply has been sent previously.
Top | ILE CEE APIs | APIs by category |