The Lookup transformation contains values for input ports, the lookup, and output ports. If you enable a dynamic lookup cache, the output port values vary based on how you configure the dynamic lookup cache.
The Lookup transformation contains the following types of values:
Input value
Value that the Integration Service passes into the Lookup transformation.
Lookup value
Value that the Integration Service inserts into the cache.
Output value
Value that the Integration Service passes from the output port of the Lookup transformation. The output value of the lookup/output port depends on whether you choose to output old or new values when the Integration Service updates a row.
For example, the following Lookup transformation uses a dynamic lookup cache:
You define the following lookup condition:
IN_CUST_ID = CUST_ID
By default, the row type of all rows entering the Lookup transformation is insert. To perform both inserts and updates in the cache and target table, you select the
Insert Else Update
property in the Lookup transformation.
The following sections describe the values of the rows in the cache, the input rows, the lookup rows, and the output rows as you run the session.