How to read hash file from parallel job

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
G.K.K
Participant
Posts: 61
Joined: Tue May 13, 2008 6:54 am

How to read hash file from parallel job

Post by G.K.K »

Hi,

I am migrating some server jobs to parallel jobs.
I have a below scenario :
I have a server job which creates hash file, i want to use this hash file in parallel job as a source/lookup. which parallel stage reads the hash file created by server?

Please advise me to get out of this hurdle.

Thanks in Advance
K.K
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

There is no pre-built parallel stage that can read hashed files.

You can either use server activities or convert the hashed file into a dataset or similar.
G.K.K
Participant
Posts: 61
Joined: Tue May 13, 2008 6:54 am

Post by G.K.K »

Sainath.Srinivasan wrote:There is no pre-built parallel stage that can read hashed files.

You can either use server activities or convert the hashed file into a dataset or similar. ...
Thanks for your reply,
How we can achieve hash file functionality in parallel jobs?

Thanks in Advance
G.K.K
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

You could use database tables or re-engineer your processes to use datasets.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

G.K.K wrote:How we can achieve hash file functionality in parallel jobs?
May I ask why you feel it is necessary to do this?

You may be able to use ODBC, with the localuv data source, or you may be able to use an External Source stage invoking dssh with an appropriate query on its command line. I am not in a position to be able to test either of these at the moment.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply