Table of Contents

Search

  1. Preface
  2. The Transformation Language
  3. Constants
  4. Operators
  5. Variables
  6. Dates
  7. Functions
  8. Creating Custom Functions
  9. Custom Function API Reference

Transformation Language Reference

Transformation Language Reference

Module-Level Initialization Function

Module-Level Initialization Function

PowerCenter calls this module_init once for each module to initialize any global data structure in the function. It calls this function before calling any function-level functions.
Use the following syntax:
INFA_EXPR_STATUS (*module_init) (INFA_EXPR_MODULE_HANDLE module);
Argument
Datatype
Input/
Output
Description
module
INFA_EXPR_MODULE_HANDLE
Input
Stores data that it can retrieve at the function level.
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.

0 COMMENTS

We’d like to hear from you!