| ![]() | ||||||||||||||||||||
| KeyNo | Key number |
| FileNo | File number |
| KeyString | Key value |
If FATS finds the requested key, it returns the key value in the FATSKEY variable and a errorcode of 0. Otherwise, it returns a nonzero status in the ERRORCODE variable indicating why it cannot find the key:
| 12 | There is no key which equals the value specified over "KeyString", FATS returns the record number of the adjacent smaller key |
| 13 | The specified key was not found because it is smaller than all keys in the index file. FATS returns the first key in the file. |
| 15 | The specified key was not found because it is greater than all keys in the index file. FATS returns the last key in the file. |
| 16 | There wasn’t inserted any key into the index file. |
| ERRORCODE: | Errorcode or 0 (no error) |
| RECNO: | Record number |
| FATSKEY: | Key value (or KEYADR=address of key) |
© 2008
GCS Software, Udo Gertz