Self Join 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
harivasireddy
Participant
Posts: 26
Joined: Mon Oct 25, 2010 6:09 am
Location: Hyderabad

Self Join in Datastage

Post by harivasireddy »

Hi All,


Is it possible to do the Self join by using Join stage.
If it is possible let me know the procedure involved in it?


Thanks in Advance.
Thanks & Regards,
HARIRAM
Software Engineer
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Yes. Have the same data stream coming in on both links.

Code: Select all

               +--------------V
    ----->   Copy             Join  ----->
               +--------------^
Properly key-partitioned and sorted, of course.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
harivasireddy
Participant
Posts: 26
Joined: Mon Oct 25, 2010 6:09 am
Location: Hyderabad

Post by harivasireddy »

Thanks for your immediate response.

But Iam not clear with this.
could you please tell me in a detailed manner.
what is the type of the join I need to mention in Join stage
and what are all other options I need to specify.
and what is the expected output in my output link.

Also can we perform the self join other than join stage.
Thanks & Regards,
HARIRAM
Software Engineer
abhijitg
Premium Member
Premium Member
Posts: 10
Joined: Sun Aug 22, 2010 9:54 am
Location: Charlotte, NC

Post by abhijitg »

The type of join you select depends on what your requirements are. As to an explanation of the options, I would turn to Parallel Developers Guide.
Post Reply