CBL_DIR_SCAN_END

Terminates a search operation.

Syntax:
CALL "CBL_DIR_SCAN_END" using  by reference   handle
                                  returning   search-status
Parameters:
handle usage pointer.
search-status See Library Routines - Key.
On Entry:
handle Set by CBL_DIR_SCAN_START. This field identifies the search operation that is to be terminated.
On Exit:
handle Undefined
Comments:

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.

See Also: