About the Hash Utility     - trillium_discovery - trillium_quality - 17.1

Trillium DQ Installation Guide

Product type
Software
Portfolio
Verify
Product family
Trillium
Product
Trillium > Trillium Discovery
Trillium > Trillium Quality
Version
17.1
Language
English
Product name
Trillium Quality and Discovery
Title
Trillium DQ Installation Guide
First publish date
2008
Last updated
2024-10-19
Published on
2024-10-19T09:58:08.471711

The tuhash utility performs a byte-by-byte evaluation of the input file and returns a resulting numerical value (called the hash value) to the screen. You use this utility to generate values for monthly updates that are delivered with updates. You then compare the values to the ones provided. If the values match, the GAV table are installed properly. This process can be applied to any file.

The syntax of the tuhash command is:

   tuhash -i <input_file> -l <lrecl>

-i <input_file>

Specifies the input file name.

-l <lrecl>

Specifies the record length of the file. The default record length is 1. For larger files, using a record length of 1 makes the hash program run very slowly. We recommend that you specify the logical record length of the file if it is known. Otherwise, specify a number that can be divided evenly into the file size.

To run the hash utility

  1. Go to a command prompt.

  2. Change to the directory that contains the files you want to validate.

  3. Enter the tuhash command for the first file you want to validate. For example:

    tuhash -i CAINDEX2.tbl -l 2

  4. Press Enter. The utility returns the final hash value as shown in Sample TUHASH Results.

  5. Open the appropriate hash text file with a text editor.

  6. Locate the line that corresponds to the file to which you applied the hash utility.

  7. Compare the value in the file with the value in the command window.

  8. If the values match, the file integrity is valid. If the values do not match, contact Customer Support.

  9. Repeat the process for each GAV table file you installed.

    Figure 1. Sample TUHASH ResultsSample TUHASH Results