Originally posted by: repanzer
Just to make sure; this is what I meant;
f_mapforWithdrawnread(Input1, Input2, MAX(EXTRACT(StatusDate :In1, Status :In1="Early Terminated"))
Then in f_mapforWithdrawnread,
LOOKUP(PPDReason :In1, StatusDate :In1= Input3 & Status :In1="Early Terminated")
If hardcording the value in place of the object name gives you the correct output, it really sounds like binding is the issue.
In the Functions and Expression guide, it gives some info;
Object names influence the number of evaluation sets
In some expressions, the same data object name may appear more than once. The same data object name always refers to the same data object. The same data object name influences the combinations of evaluation sets that are selected.
For example: BackOrder(s) = Qty Ordered:Record:Order - Qty Received:Record:Order
When a BackOrder evaluation set is selected, the Record that contains Qty Ordered is always the same Record that contains Qty Received. And an Order is always the same one for one evaluation set. When the same object name is used more than once in the same expression, both references bind to the same object.
You may want to browse over the examples they give.
#IBM-Websphere-Transformation-Extender#DataExchange#IBMSterlingTransformationExtender