The KEYCHECK option specifies whether the File Handler checks that the key definition defined in your application matches that of the indexed file you are opening.
Syntax:
KEYCHECK
=
{
ON
}
{
OFF
}
Parameters:
- ON
- All key definitions must match; otherwise a 3/9 error is returned.
- OFF
- Open the file, regardless of whether key definitions match or not. Any explicit reference, in the program, to a key which does not match an actual key in the file,results in an error at the time of reference.