Scneario of read and write hashed file concurrently

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
sumesh.abraham
Participant
Posts: 153
Joined: Thu May 11, 2006 1:52 am
Location: Bangalore

Scneario of read and write hashed file concurrently

Post by sumesh.abraham »

hello,

We are revisiting the usage of hashed files in our jobs. Some of the jobs use hashed files for lookup and these hashed files are created using a job which runs at a scheduled time every day. We have observed that few of the jobs are not using hashed files and instead use direct table lookups.

We don't plan to get these 3-4 new hashed files (each hashed file may have up to 300,000 records) created in the existing hashed file creation job as that job takes 25 minutes to create 5 files. In this case, we are planning to let the new hashed files be created just before the lookup job runs and use them. We have multiple instance jobs which run at different times of the day and could possibly refer the same hashed file.

In this case. will there be any job error / issue if one job got kicked off and starts reading the hashed file (previously created) while another job is overwrittng the hashed file?

Your inputs are appreciated.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No errors.

Issues of data synchronization, particularly if you clear the hashed file before writing. And definitely if you re-create the hashed file - that would cause errors.
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