Table of Contents

Search

  1. Preface
  2. Introduction to Transformations
  3. Transformation Ports
  4. Transformation Caches
  5. Address Validator Transformation
  6. Aggregator Transformation
  7. Association Transformation
  8. Bad Record Exception Transformation
  9. Case Converter Transformation
  10. Classifier Transformation
  11. Comparison Transformation
  12. Consolidation Transformation
  13. Data Masking Transformation
  14. Data Processor Transformation
  15. Decision Transformation
  16. Duplicate Record Exception Transformation
  17. Expression Transformation
  18. Filter Transformation
  19. Hierarchical to Relational Transformation
  20. Java Transformation
  21. Java Transformation API Reference
  22. Java Expressions
  23. Joiner Transformation
  24. Key Generator Transformation
  25. Labeler Transformation
  26. Lookup Transformation
  27. Lookup Caches
  28. Dynamic Lookup Cache
  29. Macro Transformation
  30. Match Transformation
  31. Match Transformations in Field Analysis
  32. Match Transformations in Identity Analysis
  33. Normalizer Transformation
  34. Merge Transformation
  35. Parser Transformation
  36. Python Transformation
  37. Rank Transformation
  38. Read Transformation
  39. Relational to Hierarchical Transformation
  40. REST Web Service Consumer Transformation
  41. Router Transformation
  42. Sequence Generator Transformation
  43. Sorter Transformation
  44. SQL Transformation
  45. Standardizer Transformation
  46. Union Transformation
  47. Update Strategy Transformation
  48. Web Service Consumer Transformation
  49. Parsing Web Service SOAP Messages
  50. Generating Web Service SOAP Messages
  51. Weighted Average Transformation
  52. Window Transformation
  53. Write Transformation
  54. Appendix A: Transformation Delimiters

Developer Transformation Guide

Developer Transformation Guide

Creating an Unconnected Lookup Transformation

Creating an Unconnected Lookup Transformation

Create an unconnected Lookup transformation when you want to perform a lookup from an expression. You can create a reusable or a non-reusable unconnected Lookup transformation on a flat file, reference table, or relational data object.
  1. Select a project or folder in the
    Object Explorer
    view.
  2. Click
    File
    New
    Transformation
    .
  3. Browse to the Lookup wizard.
  4. Select
    Flat File Data Object Lookup
    ,
    Reference Table Lookup
    , or
    Relational Data Object Lookup
    .
  5. Click
    Next
    .
    The
    New Lookup
    dialog box appears.
  6. Select a physical data object or reference table in the Developer tool.
  7. Enter a name for the transformation.
  8. In the
    On multiple matches
    dropdown, choose the strategy to use when the Lookup transformation finds multiple rows that match the lookup condition.
    Do not choose
    Return All
    for an unconnected lookup.
  9. Click
    Finish
    .
    The Lookup transformation appears in the editor.
  10. In the
    Ports
    section in the
    Overview
    view, add ports to the transformation.
    Create an input port for each argument in the :LKP expression. Create an input port for each lookup condition that you create. You can use an input port in multiple conditions.
  11. In the
    Ports
    section in the
    Overview
    view, configure one port as the return port.
  12. In the
    Lookup
    view, add one or more lookup conditions to compare the transformation input values with values in the lookup source or cache.
    When the condition is true, the lookup returns a value in the return port. If the lookup condition is false, the lookup returns NULL.
  13. Create a :LKP expression for a port in a transformation that allows expressions, such as an Aggregator transformation, Expression transformation, or Update Strategy transformation.
  14. When you create a mapping, add the unconnected Lookup transformation to the mapping in the editor, but do not connect the ports to the other transformations in the mapping.

0 COMMENTS

We’d like to hear from you!