How implement a dataset join using Job Mainframe

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
jseclen
Participant
Posts: 133
Joined: Wed Mar 05, 2003 4:19 pm
Location: Lima - Peru. Sudamerica
Contact:

How implement a dataset join using Job Mainframe

Post by jseclen »

Hi,

How use a Job Mainframe to make a search between 2 datasets. ..

DataSet1
|
| (search) ---> DataSet Output
|
--> DataSet2


What stage is recommended to make this.

:roll:

Thanks.
Saludos,

Miguel Seclén
Lima - Peru
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

If both sources are passive stages, then you can use a Join stage. Otherwise you have to use a Lookup stage. Read about both in the DataStage XE/390 Job Developer's Guide (which is in your DataStage documentation folder installed with your DataStage clients).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
jseclen
Participant
Posts: 133
Joined: Wed Mar 05, 2003 4:19 pm
Location: Lima - Peru. Sudamerica
Contact:

Post by jseclen »

Hi Ray

But in the documentation say that stages (Join and Lookup) use one stage to the dataset and other stage to table but dont say it can be use to join 2 datasets ...

So, i will try with the join stage. :lol:

Thanks.
Saludos,

Miguel Seclén
Lima - Peru
Post Reply