Table of Contents

Search

  1. Preface
  2. Data integration tasks
  3. Mapping tasks
  4. Dynamic mapping tasks
  5. Synchronization tasks
  6. Data transfer tasks
  7. Replication tasks
  8. Masking tasks
  9. Masking rules
  10. PowerCenter tasks

Tasks

Tasks

Lookup conditions

Lookup conditions

A lookup returns values based on a lookup condition. You can create a lookup condition based on information in the source on the
Field Mapping
page of the
synchronization
task wizard. For example, for a SALES source database table, you might set the ITEM_ID column equal to ITEM_ID column in a ITEMS flat file, and have the lookup return the item name for each matching item ID.
When you create a lookup condition, you define the following components:
  • Lookup connection and object. The connection and object to use to perform the lookup. When possible, use a native connection. For example, to perform a lookup on an Oracle table, use an Oracle connection instead of an ODBC connection.
  • Source and lookup fields. The fields used to define the lookup condition. The
    synchronization
    task compares the value of the source field against the lookup field and then returns a value based on the match. You can define multiple conditions in a lookup. If you define more than one lookup condition, all lookup conditions must be true to find the match.
    For example, you define the following conditions for a lookup:
    SourceTable.Name = LookupTable.Name SourceTable.ID = LookupTable.ID
    The
    synchronization
    task performs the following lookup:
    Lookup (SourceTable.Name = LookupTable.Name, SourceTable.ID = LookupTableID)

0 COMMENTS

We’d like to hear from you!