Produces hashing statistics and optionally a histogram for a specified file based on a user-specified test modulo.
ISTAT is a similar command that provides hashing statistics for items in a selected file.
English command.
HASH-TEST file-specifier
{item-list} {selection-criteria}
{(options}
TEST MODULO:modulo
file-specifier is the file for which you want statistics.
item-list can be provided by a GET-LIST, SELECT, SSELECT or other list-generating command executed immediately before HASH-TEST.
selection-criteria any selection criteria as defined in the English Reference. These limit the items that statistics are provided for.
modulo is the test modulo value for which the file statistics are required.
H Prints a Histogram.
N Removes automatic paging of output to terminal.
P Sends output to printer.
HASH-TEST can be used to predict the group that a particular item resides in and the distribution of data within the file for a test modulo value. This information is useful when you are trying resize files. 'IND.' in the report stands for 'indirect', meaning out-of-group.
HASH-TEST ACCPAY (H TEST MODULO:17 FILE: ACCPAY MOD: 19 SEP: 1 11:50:16 25 MAY 1999 BYTES ITMS 537 8 *>>>>>>>> 761 5 *>>>>> 65 3 *>>> 217 4 *>>>> 265 5 *>>>>> 665 11 *>>>>>>>>>>> 73 4 *>>>> 1033 9 *>>>>>>>>> 665 8 *>>>>>>>> 473 8 *>>>>>>>> 161 8 *>>>>>>>> 625 10 *>>>>>>>>>> 665 5 *>>>>> 473 8 *>>>>>>>> 793 8 *>>>>>>>> 65 3 *>>> 609 5 *>>>>> Item count= 112, byte count= 8128, avg. bytes/item= 72.5 avg. item/group= 6.5, std. deviation= 2.4, avg. bytes/group= 478.1 frames in use= 18, sec. framesS= 1, empty groups= 1 ind. items= 12, ind. frames= 14