dcheck

file integrity check/repair utility

SYNOPSIS

dcheck [-hifbB] isamfile […]

h display isam header information only
i just check indexes, ignore data file
f fix corrupt indexes
b rebuild all indexes
B rebuild specific index

NOTES

The option string, preceded by a dash, can be placed anywhere on the command line. All options must be specified in one string, and all options apply to all files specified.

The -B option is a little different. It can be specified multiple times, and each occurance must be followed by an index number. A value of 1 denotes the primary index, 2 the next, etc. You cannot specify -B on multiple files.

dcheck is not interactive, and will ask no questions, so it can be safely used in batch and script files without operator intervention.

dcheck has been designed to run co-operatively (unless -f or -b specified) on files in active use, but note that other processes will be blocked for the duration of some of the check cycles.