join in server job

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
dnat
Participant
Posts: 200
Joined: Thu Sep 06, 2007 2:06 am

join in server job

Post by dnat »

Hi

I have a question in joining the records in a sequential file and a table.

Can we directly join/lookup a sequential file and a table (using transformer) or should we have an hash file in between..i have seen this in many jobs that a hashed file is used before joining..but is that mandatory?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It's not mandatory (to use hashed files), but it's much faster, particularly if the database is not on the same machine as the DataStage server.
Last edited by ray.wurlod on Thu Jan 08, 2009 2:59 am, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dwh.com
Participant
Posts: 22
Joined: Sat Jun 28, 2008 12:38 pm

Re: join in server job

Post by dwh.com »

dnat wrote:Hi

I have a question in joining the records in a sequential file and a table.

Can we directly join/lookup a sequential file and a table (using transformer) or should we have an hash file in between..i have seen this in many jobs that a hashed file is used before joining..but is that mandatory?
its not mandatory at all..but that wil hep u to quick search the data to join...so its suggestable to have hasfiles as lookup and it can be reusable..
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

To dwh.com; please be much more careful with your written English - spelling, grammar and punctuation.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dnat
Participant
Posts: 200
Joined: Thu Sep 06, 2007 2:06 am

Post by dnat »

thanks Ray and dwh..that cleared my doubt..
Post Reply