Condition Management APIs
ILE condition management APIs allow you to handle errors independent of high-level language-specific error handling.
See Using Condition Management APIs for information about:
- how conditions are represented.
- condition token layout.
- condition token testing.
The condition management APIs are:
- Construct a Condition Token (CEENCOD) is used to dynamically construct a 12-byte condition token.
- Decompose a Condition Token (CEEDCOD) returns the individual elements of an existing condition token.
- Handle a Condition (CEE4HC) handles a specified condition and, optionally, logs the condition.
- Move the Resume Cursor to a Return Point (CEEMRCR) moves the resume cursor to a return point relative to the current handle cursor.
- Register a User-Written Condition Handler (CEEHDLR) registers a user-written condition handler for the current call stack entry.
- Retrieve ILE Version and Platform ID (CEEGPID) retrieves the ILE version ID and the platform (that is, operating system) ID. The IDs are those currently in use for processing the active condition.
- Return the Relative Invocation Number (CEE4RIN) retrieves the relative invocation number of an invocation pointer, and returns it in rel_inv.
- Signal a Condition (CEESGL) signals or resignals a condition to the ILE condition manager.
- Unregister a User-Written Condition Handler (CEEHDLU) unregisters a user-written condition handler for the current call stack entry.
For more information about using the ILE CEE APIs, see the following sections:
- ILE CEE API Calling and Naming Conventions
- Data Type Definitions of ILE CEE
- Omitting Parameters in ILE CEE
- IBM® i Messages and the ILE CEE API Feedback Code
[ Back to top | ILE CEE APIs | APIs by category ]