Terminates a search operation.
CALL "CBL_DIR_SCAN_END" using by reference handle returning search-status
handle | usage pointer. |
search-status | See Library Routines - Key. |
handle | Set by CBL_DIR_SCAN_START. This field identifies the search operation that is to be terminated. |
handle | Undefined |
You must call CBL_DIR_SCAN_END to release system resources. You might be unable to start additional searches if you fail to release resources at the end of a scan operation.
You can check the success of the call by examining search-status. Zero means success. Any other values are standard run-time system error codes; see the Run-time System Error Messages in Error Messages.