The IAPXTB control structure is a data structure that contains information regarding all foreign functions that can be invoked from a user exit. The IAPXTB control structure designates the entry points necessary for linking foreign functions to Oracle Forms. The following table describes each column in the IAPXTB control structure:
Column |
Content |
---|---|
NAME |
This column specifies a user exit name for a foreign function that can
be invoked from a user exit. (This is not necessarily the name of the
file that contains the foreign function or the name of the foreign function
that is called.) Note that some host languages are case sensitive. |
FUNCTION |
This column specifies the name of the foreign function. |
TYPE |
This column specifies the language in which the foreign function is written. Valid values include:XITCC for C, XITCOB for COBOL, XITFOR for FORTRAN, XITPLI for PL/I, XITPAS for PASCAL, and XITAda for Ada |
You must enter one entry in the IAPXTB control structure for every foreign function that can be invoked from a user exit. This is true for all foreign functions that can be invoked from a user exit, whether a foreign function is in a file that is precompiled and compiled by itself, or precompiled and compiled with several other foreign functions. You should maintain all foreign functions that can be invoked from a user exit for a production system in one IAPXTB control structure. It’s a good idea to keep test versions of your foreign functions in a separate IAPXTB control structure.