Page 1 of 1

Hash Files

Posted: Thu Aug 16, 2007 8:50 am
by medakiran
Hi All,

Can anyone tell me where the tuning information of an hash file is stored after the hash file is tuned. Is it stored in the Dictionary? or anywhere else? Our requirement is to delete hash files and at the same time not loose their tuning information.

thanks,
meda

Posted: Thu Aug 16, 2007 3:33 pm
by ArndW
There is no tuning information stored anywhere. The current hashed file type, modulo and other attributes are stored in the physical file itself in binary form. The DICTionary only describes the format of the data in the file, not the file's format.
You can get a hashed file's information display using ANALYZE.FILE or HASH.HELP (there are other commands that will do this as well). You can also use the DS/BASIC subroutine call to FILEINFO to get a lot of internal information about a file's layout.

Posted: Thu Aug 16, 2007 4:14 pm
by ray.wurlod
... and it's hashed file, not hash file.

If you delete the hashed file all information associated with it is lost. You must make your own arrangements if you need separate storage of these tuning parameters.

Re: Hash Files

Posted: Thu Aug 16, 2007 5:25 pm
by chulett
medakiran wrote:Our requirement is to delete hash files and at the same time not loose their tuning information.
Then perhaps you should just clear them rather than delete them?