1 | procedure | Input | RTX_ENTRY |
2 | token | Input | POINTER |
3 | fc | Output | FEEDBACK |
The Register Call Stack Entry Termination User Exit Procedure (CEERTX) API registers a user-defined procedure that runs when the call stack entry for which it is registered is ended by anything other than a return to the caller.
None.
CEE0000 | The API completed successfully |
Severity: 00 | |
CEE0256 | Procedure already registered, registered again |
Severity: 10 | |
CEE0257 | The procedure provided for &1 is not valid |
Severity: 30 | |
CEE3103 | Cannot allocate storage in &1 |
Severity: 30 | |
CEE9902 | Unexpected user error occurred in &1 |
Severity: 30 |
Multiple user call stack entry termination user exit procedures can be registered for each call stack entry.
Call stack entry termination user exit procedures run in first in/first out (FIFO) order. If a procedure causes any of the following, the remaining procedures are not run:
The call to a call stack entry termination user exit procedure fails.
An exception is not handled.
Control has moved past the invocation of the call stack entry termination user exit procedure. For example, the resume cursor has been moved, or an out-of-scope jump, such as longjmp() in ILE C, has been used.
The message CEE0257 occurs only if the pointer contained in the procedure parameter is not a procedure pointer. This does not verify that a call through that pointer will be successful. For example, the call may fail because the activation group containing the procedure no longer exists.
The following is the interface to the call stack entry termination user exit procedure registered by the CEERTX API. The procedure is coded as termination_procedure with the following parameter.
1 | token | Input | POINTER |
None.
Top | ILE CEE APIs | APIs by category |