If you
create an error table and an exception table, the Lookup transformation
will, by default, send non-matching source rows to the error table
and send exception messages to the exception table. This sample job
examines and accepts the default conditions and actions for exception
handling.
Perform
the following steps to view the default exception handling:
-
In the
properties window of the Lookup transformation, select the
Lookups tab.
-
In the
Lookups tab, select the lookup table and then select
Lookup Properties.
-
In the
Lookup Properties window, open the
Exceptions tab. The following display depicts the default configuration for
exception handling.
Default Exception Handling
In this
sample job, if the Customer_ID column in a source row does not match
a Customer_ID value in the target, then the error and exception tables
are updated and the lookup value (Customer_Gen_Key) is set to missing
for that row in the target.
-
Click
OK to store your entries and close the properties window
of the Lookup transformation.