How to do a Union condition in Datastage

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
deesh
Participant
Posts: 193
Joined: Mon Oct 08, 2007 2:57 am

How to do a Union condition in Datastage

Post by deesh »

Hi All,

We can do Union all condition with funnel stage, how we can implement the union logic in datastage ?, can some one help.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Remove duplicates stage afterwards.
-craig

"You can never have too many knives" -- Logan Nine Fingers
deesh
Participant
Posts: 193
Joined: Mon Oct 08, 2007 2:57 am

Post by deesh »

You mean after using funnel stage, add remove duplicate stage ?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

As one solution, yes, since the only difference between a UNION and a UNION ALL is the former removes duplicates.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply