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

Custom Function Prototype Function

Custom Function Prototype Function

PowerCenter calls getFunctionPrototype to get the arguments of the custom function in the Expression Editor. It calls destroyString to delete the arguments from memory when usage is complete.
Use the following syntax:
IUNICHAR* *(getFunctionPrototype) (INICHAR* sNamespace, IUNICHAR* sFuncName);
Argument
Datatype
Input/
Output
Description
sNamespace
IUNICHAR
Input
Namespace of the function.
sFuncName
IUNICHAR
Input
Name of the custom function the plug-in should describe.
The return datatype is IUNICHAR. The return value must be a null-terminated string. The function returns NULL if there is no value for the arguments.

0 COMMENTS

We’d like to hear from you!