Skip to content

release_lock_file

  RELEASE_LOCK_FILE - release a lock file with the key

  B = RELEASE_LOCK_FILE(FID_OR_FILENAME, KEY)

  Release a lock file given its FID or its FILENAME and the
  correct KEY that was issued by the function CHECKOUT_LOCK_FILE.
  Removes the file if the key matches.

  B is 1 if the lockfile is either not present or if it was removed
  successfully.

  B is 0 if the key does not match (and the file is not removed.)

  An error is triggered if the lock file does not have the expected contents
  (an expiration time and a key).

  See also: CHECKOUT_LOCK_FILE

  For an example, see CHECKOUT_LOCK_FILE