Sign in

docs ILE Concepts

ILE Bindable APIs Available

ILE Bindable APIs Available

ILE Bindable APIs Available

Most bindable APIs are available to any HLL that ILE supports. ILE provides the following bindable APIs:

Activation Group and Control Flow Bindable APIs : - Abnormal End (CEE4ABN) - Find a Control Boundary (CEE4FCB) - Register Activation Group Exit Procedure (CEE4RAGE) - Register Call Stack Entry Termination User Exit Procedure (CEERTX) - Signal the Termination-Imminent Condition (CEETREC) - Unregister Call Stack Entry Termination User Exit Procedure (CEEUTX)

Condition Management Bindable APIs : - Construct a Condition Token (CEENCOD) - Decompose a Condition Token (CEEDCOD) - Handle a Condition (CEE4HC) - Move the Resume Cursor to a Return Point (CEEMRCR) - Register a User-Written Condition Handler (CEEHDLR) - Retrieve ILE Version and Platform ID (CEEGPID) - Return the Relative Invocation Number (CEE4RIN) - Signal a Condition (CEESGL) - Unregister a User Condition Handler (CEEHDLU)

Date and Time Bindable APIs : - Calculate Day-of-Week from Lilian Date (CEEDYWK) - Convert Date to Lilian Format (CEEDAYS) - Convert Integers to Seconds (CEEISEC) - Convert Lilian Date to Character Format (CEEDATE) - Convert Seconds to Character Timestamp (CEEDATM) - Convert Seconds to Integers (CEESECI) - Convert Timestamp to Number of Seconds (CEESECS) - Get Current Greenwich Mean Time (CEEGMT) - Get Current Local Time (CEELOCT) - Get Offset from Universal Time Coordinated to Local Time (CEEUTCO) - Get Universal Time Coordinated (CEEUTC) - Query Century (CEEQCEN) - Return Default Date and Time Strings for Country or Region (CEEFMDT) - Return Default Date String for Country or Region (CEEFMDA) - Return Default Time String for Country or Region (CEEFMTM) - Set Century (CEESCEN)

Math Bindable APIs : The x in the name of each math bindable API refers to one of the following data types:

I
:   32-bit binary integer

S
:   32-bit single floating-point number

D
:   64-bit double floating-point number

T
:   32-bit single floating-complex number (both real and imaginary
    parts are 32 bits long)

E
:   64-bit double floating-complex number (both real and imaginary
    parts are 64 bits long)

- Absolute Function (CEESxABS)
- Arccosine (CEESxACS)
- Arcsine (CEESxASN)
- Arctangent (CEESxATN)
- Arctangent2 (CEESxAT2)
- Conjugate of Complex (CEESxCJG)
- Cosine (CEESxCOS)
- Cotangent (CEESxCTN)
- Error Function and Its Complement (CEESxERx)
- Exponential Base e (CEESxEXP)
- Exponentiation (CEESxXPx)
- Factorial (CEE4SIFAC)
- Floating Complex Divide (CEESxDVD)
- Floating Complex Multiply (CEESxMLT)
- Gamma Function (CEESxGMA)
- Hyperbolic Arctangent (CEESxATH)
- Hyperbolic Cosine (CEESxCSH)
- Hyperbolic Sine (CEESxSNH)
- Hyperbolic Tangent (CEESxTNH)
- Imaginary Part of Complex (CEESxIMG)
- Log Gamma Function (CEESxLGM)
- Logarithm Base 10 (CEESxLG1)
- Logarithm Base 2 (CEESxLG2)
- Logarithm Base e (CEESxLOG)
- Modular Arithmetic (CEESxMOD)
- Nearest Integer (CEESxNIN)
- Nearest Whole Number (CEESxNWN)
- Positive Difference (CEESxDIM)
- Sine (CEESxSIN)
- Square Root (CEESxSQT)
- Tangent (CEESxTAN)
- Transfer of Sign (CEESxSGN)
- Truncation (CEESxINT)

Additional math bindable API:

- Basic Random Number Generation (CEERAN0)

Message Handling Bindable APIs : - Dispatch a Message (CEEMOUT) - Get a Message (CEEMGET) - Get, Format, and Dispatch a Message (CEEMSG)

Program or Procedure Call Bindable APIs : - Get String Information (CEEGSI) - Retrieve Operational Descriptor Information (CEEDOD) - Test for Omitted Argument (CEETSTA)

Source Debugger Bindable APIs : - Allow a Program to Issue Debug Statements (QteSubmitDebugCommand) - Enable a Session to Use the Source Debugger (QteStartSourceDebug) - Map Positions from One View to Another (QteMapViewPosition) - Register a View of a Module (QteRegisterDebugView) - Remove a View of a Module (QteRemoveDebugView) - Retrieve the Attributes of the Source Debug Session (QteRetrieveDebugAttribute) - Retrieve the List of Modules and Views for a Program (QteRetrieveModuleViews) - Retrieve the Position Where the Program Stopped (QteRetrieveStoppedPosition) - Retrieve Source Text from the Specified View (QteRetrieveViewText) - Set the Attributes of the Source Debug Session (QteSetDebugAttribute) - Take a Job Out of Debug Mode (QteEndSourceDebug)

Storage Management Bindable APIs : - Create Heap (CEECRHP) - Define Heap Allocation Strategy (CEE4DAS) - Discard Heap (CEEDSHP) - Free Storage (CEEFRST) - Get Heap Storage (CEEGTST) - Mark Heap (CEEMKHP) - Reallocate Storage (CEECZST) - Release Heap (CEERLHP)