scenario

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
san_dwh
Participant
Posts: 17
Joined: Tue Dec 28, 2010 9:05 am
Location: hyd

scenario

Post by san_dwh »

Hi DS guru's
I need your help in implementing a logic.
I have 2 source data sets with key columns. In the target, I need a flag variable have the column. My requirement is : If 2 sources have the records in key column,then in target flag variable column value should be 'Y' and if any one of or both the sources doesn't have the records, then in the flag variable column value in target should be 'N'.
How to implement this logic.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Full outer join, set flag to 'Y' if both key values are not null.
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