Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. Working with Transformations
  3. Address Validator Transformation
  4. Aggregator Transformation
  5. Association Transformation
  6. Bad Record Exception Transformation
  7. Case Converter Transformation
  8. Classifier Transformation
  9. Cleanse transformation
  10. Comparison Transformation
  11. Custom Transformation
  12. Custom Transformation Functions
  13. Consolidation Transformation
  14. Data Masking Transformation
  15. Data Masking Examples
  16. Decision Transformation
  17. Duplicate Record Exception Transformation
  18. Dynamic Lookup Cache
  19. Expression Transformation
  20. External Procedure Transformation
  21. Filter Transformation
  22. HTTP Transformation
  23. Identity Resolution Transformation
  24. Java Transformation
  25. Java Transformation API Reference
  26. Java Expressions
  27. Java Transformation Example
  28. Joiner Transformation
  29. Key Generator Transformation
  30. Labeler Transformation
  31. Lookup Transformation
  32. Lookup Caches
  33. Match Transformation
  34. Match Transformations in Field Analysis
  35. Match Transformations in Identity Analysis
  36. Merge Transformation
  37. Normalizer Transformation
  38. Parser Transformation
  39. Rank Transformation
  40. Router Transformation
  41. Sequence Generator Transformation
  42. Sorter Transformation
  43. Source Qualifier Transformation
  44. SQL Transformation
  45. Using the SQL Transformation in a Mapping
  46. Stored Procedure Transformation
  47. Standardizer Transformation
  48. Transaction Control Transformation
  49. Union Transformation
  50. Unstructured Data Transformation
  51. Update Strategy Transformation
  52. Weighted Average Transformation
  53. 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
    Linux
    INF_BankSoft
    libINF_BankSoft.so
  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!