Table of Contents

Search

  1. Preface
  2. Working with Transformations
  3. Aggregator Transformation
  4. Custom Transformation
  5. Custom Transformation Functions
  6. Data Masking Transformation
  7. Data Masking Examples
  8. Expression Transformation
  9. External Procedure Transformation
  10. Filter Transformation
  11. HTTP Transformation
  12. Identity Resolution Transformation
  13. Java Transformation
  14. Java Transformation API Reference
  15. Java Expressions
  16. Java Transformation Example
  17. Joiner Transformation
  18. Lookup Transformation
  19. Lookup Caches
  20. Dynamic Lookup Cache
  21. Normalizer Transformation
  22. Rank Transformation
  23. Router Transformation
  24. Sequence Generator Transformation
  25. Sorter Transformation
  26. Source Qualifier Transformation
  27. SQL Transformation
  28. Using the SQL Transformation in a Mapping
  29. Stored Procedure Transformation
  30. Transaction Control Transformation
  31. Union Transformation
  32. Unstructured Data Transformation
  33. Update Strategy Transformation
  34. XML Transformations

Transformation Guide

Transformation Guide

Step 1. Create the External Procedure Transformation

Step 1. Create the External Procedure Transformation

  1. Open the Transformation Developer and create an External Procedure transformation.
  2. Open the transformation and enter a name for it.
    In the BankSoft example, enter
    EP_extINF_BSFV
    .
  3. On the Ports tab, create a port for each argument passed to the procedure you plan to define.
    Be sure that you use the correct datatypes.
    The following table describes the ports:
    Port Name
    Datatype
    Precision
    Scale
    Input/Output
    Reusable
    Rate
    double
    15
    0
    Input
    No
    nPeriods
    integer
    10
    0
    Input
    No
    Payment
    double
    15
    0
    Input
    No
    PresentValue
    double
    15
    0
    Input
    No
    PaymentType
    integer
    10
    0
    Input
    No
    FV
    double
    15
    0
    Output
    Yes
    The following BankSoft example shows an example of an External Procedure transformation:
    The Ports tab in the Edit Transformations dialog box contains the port name, datatype, precision, scale, input, output, and return columns. The Ports tab also contains the Select transformation, Transformation type, Default value, and Description fields.
    The last port, FV, captures the return value from the procedure.
  4. Select the Properties tab and configure the procedure as an Informatica procedure.
    In the BankSoft example, configure the following properties:
    Transformation Attribute
    Value
    Type
    Informatica
    Module/Programmatic Identifier
    INF_BankSoft
    Procedure Name
    FV
    Runtime Location
    $PMExtProcDir
    Tracing Level
    Normal
    Is Partitionable
    No
    Output is Repeatable
    Based On Input Order
    Output is Deterministic
    No
    The following BankSoft example shows an example of an Informatica procedure:
    The Properties tab in the Edit Transformations dialog box contains the transformation attributes and values. The Properties tab also contains the Select transformation and Transformation type fields.
    on Module/Programmatic Identifier:
    The following table describes how the module name determines the name of the DLL or shared object on the various platforms:
    Operating System
    Module Identifier
    Library File Name
    Windows
    INF_BankSoft
    INF_BankSoft.DLL
    AIX
    INF_BankSoft
    libINF_BankSoftshr.a
    HPUX
    INF_BankSoft
    libINF_BankSoft.sl
    Linux
    INF_BankSoft
    libINF_BankSoft.so
    Solaris
    INF_BankSoft
    libINF_BankSoft.so.1
  5. Click OK.
After you create the External Procedure transformation that calls the procedure, the next step is to generate the C++ files.

0 COMMENTS

We’d like to hear from you!