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 Custom Transformation

Step 1. Create the Custom Transformation

To create a Custom transformation:
  1. In the Transformation Developer, click Transformation > Create.
  2. In the Create Transformation dialog box, choose Custom transformation, enter a transformation name, and click Create.
    In the Union example, enter
    CT_Inf_Union
    as the transformation name.
  3. In the Active or Passive dialog box, create the transformation as a passive or active transformation, and click OK.
    In the Union example, choose Active.
  4. Click Done to close the Create Transformation dialog box.
  5. Open the transformation and click the Ports tab. Create groups and ports.
    You can edit the groups and ports later, if necessary.
    The following figure shows an example of a Union transformation with two groups:
    The Ports tab in the Edit Transformations dialog box contains two input groups. The input groups contain the port name, datatype, precision, and scale columns.
    In the Union example, create the groups InputGroup1 and InputGroup2. Create the following ports for InputGroup1:
    Port Name
    Datatype
    Precision
    Scale
    ORDER_ID1
    integer
    10
    0
    ORDER_DATE1
    date/time
    19
    0
    TOTAL_PRICE1
    decimal
    10
    2
    Create the following ports for InputGroup2:
    Port Name
    Datatype
    Precision
    Scale
    Input/Output
    ORDER_ID2
    integer
    10
    0
    Input
    ORDER_DATE2
    date/time
    19
    0
    Input
    TOTAL_PRICE2
    decimal
    10
    2
    Input
    ORDER_ID_OUT
    integer
    10
    0
    Output
    ORDER_DATE_OUT
    date/time
    19
    0
    Output
    TOTAL_PRICE_OUT
    decimal
    10
    2
    Output
  6. Select the Properties tab and enter a module and function identifier and the runtime location. Edit other transformation property attributes, such as the Tracing Level, Is Partitionable, Inputs Must Block, Is Active, Update Strategy Transformation, Transformation Scope and Generate Transaction values/checkboxes.
    In the Union example, configure the following properties:
    Property Name
    Value
    Module Identifier
    UnionDemo
    Function Identifier
    Union
    Runtime Location
    $PMExtProcDir
    Tracing Level
    Normal
    Is Partitionable
    No
    Inputs Must Block
    No
    Is Active
    Yes
    Update Strategy Transformation
    No
    Transformation Scope
    All Input
    Generate Transaction
    No
  7. Click the Metadata Extensions tab to enter metadata extensions, such as properties the external procedure might need for initialization.
    In the Union example, do not create metadata extensions.
  8. Click the Port Attribute Definitions tab to create port attributes, if necessary.
    In the Union example, do not create port attributes.
After you create the Custom transformation that calls the procedure, the next step is to generate the C files.

0 COMMENTS

We’d like to hear from you!