Updated: 10/19/2020, 10:24:56 AM
Created: 10/19/2020, 10:24:56 AM
Last Updated By: Daniel Klein
Read Time: 1 minute(s)
The CLEAR-ITEM-LOCKS command can be used to clear a specific lock or all locks taken against a specific file. This command can only be used with jBASE hashed files. The command may take the general form:
CLEAR-ITEM-LOCKS filename, itemname
CLEAR-ITEM-LOCKS should be used with extreme caution and only as a last resort. The necessity to use CLEAR-ITEM-LOCKS is a clear indication of an application with a poorly designed locking strategy.
This command can only be issued by a user with root/administrator privileges. To clear a lock on a distributed file, the part file where the locked item exists must be specified.
Examples of use may be as:
CLEAR-ITEM-LOCKS INVENTORY, PDT603
Clears the lock on the item PDT603 in the INVENTORY file.
Clears all item locks in place on the INVENTORY file.
CLEAR-ITEM-LOCKS CASE]M2002, R47FC9Z
Clears the lock on the item R47FC9Z in the multi-level file CASE, data section 2002.
See also SHOW-ITEM-LOCKS
Back to Utilities