The unlock-file command clears file locks which have not been cleared through normal system operation.
File locks are set by BASIC filelock statements and other mechanisms, and provide a means of assuring data reliability by preventing one process from updating a file while another process examines a batch of records from that same file.
File locks are displayed by list-locks as special item locks with an item-ID of an asterisk and a hash of 0.
NOTE |
A clear-locks (i or a clear-locks releases all file locks. |
Syntax
unlock-file file.reference {(options} |
Parameter(s)
options |
i |
Suppresses message item 'x' released. |
See Also
clear-locks Command, list-lockq Command, list-locks Command, lock Statement, Locking Scheme, what Command