Rebuild Error 62 after Low-Level index delete when using KEEPOPEN_LIST
When using KEEPOPEN_LIST in ctsrvr.cfg to cause data and index files to be kept open by FairCom Server after the application closed them, the following sequence of calls caused the rebuild to fail with error 62 (LERR_ERR, file must be opened exclusively):
Open data and index files in shared mode.
Close data and index files (KEEPOPEN_LIST keeps them open).
Open index low-level in exclusive mode.
Delete index low-level.
Open data file using OPNIFIL() without index.
Close the data file using CLIFIL (KEEPOPEN_LIST keeps the data file open).
Rebuild indexes fails with error 62.
The logic has been modified to correct this problem.