Joining Hash tables

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
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

That's exactly what a reference input does.
For example, if you are reading Table1 with your main input (let's call the link "Table1" and the key column "keyvalue"), the reference key expression for accessing Table2 on a reference input link is Table1.keyvalue
Similarly, the reference key expression for accessing Table3 on its reference input link is also Table1.keyvalue

Alternately you could use a UV stage to access the hashed files as UniVerse tables, and construct user-written SQL to have the join performed in the database.


Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518
Post Reply