Table of Contents

Search

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

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.