Need to implement logic to exclude matched records.

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
rajudx
Participant
Posts: 45
Joined: Tue Nov 14, 2006 1:58 pm
Location: NJ

Need to implement logic to exclude matched records.

Post by rajudx »

As per the requirement need to exclude matched records if any source employer value will match with reference table employer value.

i.e. source input
---------------
203040
302340
103040

Reference table
--------------
203040
302340


Output should be : 103040 and values which match with reference table those need to be skip.

Source input and reference table both located on two different database servers and we can implement above mentioned logic through lookup stage using reject option, but in job design already lookup is using for other purpose.

Please suggest to idea to implement logic based on above mentioned requirement.
Ran
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Use another Lookup stage. It is permissible to have more than one.

Or set the Lookup "failed lookup" rule to Continue and filter for null valued column downstream of the Lookup stage.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply