To find a specific record, your key value is first compared against the key values in the coarse tables. The first key value in the coarse table that is greater than or equal to your key value is used to locate the coarse table at the next level. This process continues until a fine table is encountered. The fine table is then searched for your key value, and the data referenced by that key entry is returned.
Because fine tables are sequentially ordered, they are linked together so that only the fine tables and the data areas need to be read when the file is being accessed sequentially.
A set of coarse and fine tables is created for each key you define. Also, coarse and fine tables are created for the relative key.
There is a limit of 48 keys per KEYEDIO data file. If the number of keys exceeds 48, one of the following error messages is given:
FILE CONTAINS TOO MANY KEYS (GREATER THAN 48) FOR KEYEDIO TO HANDLE USER OPEN REQUEST DECLARES TOO MANY KEYS (GREATER THAN 48) FOR KEYEDIO TO HANDLE