PowerCenter calls fnInstance_init once for each custom function instance to initialize any structure related to the custom function instance. If there are two instances of a custom function in a mapping or workflow, PowerCenter calls this function twice. PowerCenter calls the module-level initialization function before calling this function.
Stores user-defined pointers for the framework to retrieve during run time or deinitialization.
Initializes data structures for the function instance level.
If the input argument is a constant, the plug-in retrieves this constant value and for performs any necessary preprocessing.
The return datatype is INFA_EXPR_STATUS. Use ISUCCESS and IFAILURE as the return values. If the function returns IFAILURE, the session or workflow fails.