hinit

hinit gives system error codes above 400 million during open, read, write, close, and lock. Read the message written to stderr. Subtract 400 million from the error code. This is the error code returned by the system.

In UNIX the strerror subroutine translates the error code.

In Windows the FormatMessage subroutine translates the error code.


User Error Codes

Error Code Description
350000101 Invalid totrcds (total records).
350000103 Invalid rcdlen.
350000104 Invalid keylen.
350000105 Invalid keyofst.
350000106 The file is not a hash database
350000107 Read error
350000108 Write error
350000109 Open error
350000110 Out of memory
350000112 keylen is greater than rcdlen.
350000113 keyofst causes the key to extend beyond the end of the record.
350000114 Invalid truncate flag.
350000115 The file is not a hash database
350000116 Wrong length database name
350000117 Totrcds is not prime

The correct values for the parameters to hinit are described in Initialize a Hash Database.