Hash File Clear hash Option

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
sumeet
Premium Member
Premium Member
Posts: 54
Joined: Tue Aug 30, 2005 11:44 pm

Hash File Clear hash Option

Post by sumeet »

Hi ,

In Server Jobs if we dont clear Hash file. what happens to it during the next run to the file.

Is the Data in Hash file from previous run purged or it keeps on appending the data to previous file.

Thanks
Sumeet
DeepakCorning
Premium Member
Premium Member
Posts: 503
Joined: Wed Jun 29, 2005 8:14 am

Re: Hash File Clear hash Option

Post by DeepakCorning »

Is the Data in Hash file from previous run purged or it keeps on appending the data to previous file. --

If you do not check delete of clear in th ehashed file property then It purges (appends) the data if the key columns for the next run are unique. If not then it will update the existing data.
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

It appends or overwrites based on the key.
Mamu Kim
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

It does not purge anything. It overwrites the whole record, every column or inserts a new record.
Mamu Kim
DeepakCorning
Premium Member
Premium Member
Posts: 503
Joined: Wed Jun 29, 2005 8:14 am

Post by DeepakCorning »

Oops I think i used purged word...Thanks Kduke for correcting..
Post Reply