Product Documentation

c-treeACE V10.3 Release Notes

Previous Topic

Next Topic

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):

  1. Open data and index files in shared mode.
  2. Close data and index files (KEEPOPEN_LIST keeps them open).
  3. Open index low-level in exclusive mode.
  4. Delete index low-level.
  5. Open data file using OPNIFIL() without index.
  6. Close the data file using CLIFIL (KEEPOPEN_LIST keeps the data file open).
  7. Rebuild indexes fails with error 62.

The logic has been modified to correct this problem.

TOCIndex