Originally posted by: SystemAdmin
The use of lookup is as below
In your case it woulkd be lookup(file b,field in file a = field in file b
The LOOKUP function sequentially searches a series, returning the first member of the series that meets a specified condition.
Syntax
LOOKUP (series-object-expression, single-condition-expression)
Meaning
LOOKUP (series_to_search, condition_to_evaluate)
Returns
This function returns a single-object.
Returns the first member of series_to_search for which condition_to_evaluate evaluates to TRUE. Returns NONE, if no member of series_to_search meets the condition specified by condition_to_evaluate.
Examples
LOOKUP ( Account#:Customer , Company Name:Customer = "ACME" )
This example returns the Account# of Customer whose Company Name is ACME.
LOOKUP ( Part#:Row:DBSelect , Model#:Row:DBSelect = ModelCode:Legacy & Serial#:Row:DBSelect > "123")
This example returns the Part# of DBSelect where the Model# in that row matches the ModelCode of Legacy and the Serial# is greater than "123".
Copyright @ 2002 by Mercator Software, Inc.
In your case the condition is field in file a = field in file b
#DataExchange#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender