reading from and writing to same hash file at a time?

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
mallikharjuna
Participant
Posts: 81
Joined: Thu Nov 30, 2006 7:46 am
Location: india

reading from and writing to same hash file at a time?

Post by mallikharjuna »

I am doing the lookup by using one hash file and I have some conditions, if the conditions are satisfied then I want to write the record in the same hash file, which is one of the output link from the same transformer.
And one more thing is I am using link collector stage also in this job.

if it is possible then please send me reply as early as possible.

Thanks
Malli
MALLI
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

We do not do "urgent" or "as early as possible" here. If you want "urgent" sign up with your support provider for premium service and learn the true cost of "urgent".

What you seek is definitely possible, and was answered in another thread as recently as today.

Essentially you need two Hashed File stages, pointing to the same hashed file. In the one being read from, set read cache to "Disabled, lock for update". In the one being written to, set write cache to Disabled.
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