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

Creating a Lookup Transformation

Creating a Lookup Transformation

Create a reusable Lookup transformation in the Transformation Developer. Create a non-reusable Lookup transformation in the Mapping Designer.
To create a Lookup transformation:
  1. To create a reusable Lookup transformation, open the Transformation Developer.
    To create a non-reusable Lookup transformation, open a mapping in the Mapping Designer. If you are creating pipeline Lookup transformation, drag in a source definition to use as a lookup source.
  2. Click Transformation > Create. Select the Lookup transformation.
  3. Enter a name for the transformation. Click Create.
    The naming convention for Lookup transformations is LKP_
    TransformationName
    .
  4. Choose whether the transformation is active or passive. Click OK. You cannot change this option.
  5. In the Select Lookup Table dialog box, choose one of the following options to import a lookup definition:
    • Source definition from the repository.
    • Target definition from the repository.
    • Source qualifier from the mapping.
    • Import a relational table or file from the repository.
    You can manually add the lookup ports instead of importing a definition. You can choose which lookup ports are also output ports.
    When you choose the lookup source, the Designer creates ports in the transformation based on the ports in the object that you choose. The Designer configures each port as a lookup port and an output port. The lookup ports represent the columns in the lookup source. The Lookup transformation receives data from the lookup source in each lookup port and passes the data to the target.
  6. If you want the Lookup transformation to return all matching rows, enable Return All Rows on Multiple Match. You cannot change this option after you create the transformation. The Lookup transformation becomes an active transformation.
  7. Click OK or click Skip if you want to manually add the lookup ports instead of importing a definition. You can choose which lookup ports are also output ports.
  8. For a connected Lookup transformation, add input and output ports.
    You can pass data through the transformation and return data from the lookup table to the target.
  9. For an unconnected Lookup transformation, create a return port for the value you want to return from the lookup.
    You can return one column to the transformation that called the lookup.
  10. Click the Properties tab to configure the Lookup transformation properties. Configure lookup caching.
    Lookup caching is enabled by default for pipeline and flat file Lookup transformations.
  11. For a Lookup transformation that has a dynamic lookup cache, associate an input port, output port, or sequence ID with each lookup port.
    The Integration Service inserts or updates rows in the lookup cache with the data from each associated expression. If you associate a sequence ID, the Integration Service generates a primary key for inserted rows in the lookup cache.
  12. Add the lookup condition on the Condition tab.
    The lookup condition compares the source column values with values in the lookup source. The Condition tab Transformation Port represents the source column values. The Lookup Table represents the lookup source.

0 COMMENTS

We’d like to hear from you!