tcl.unlock-file
Clears a file lock on a specified file.
Syntax
unlock-file file.reference {(options}
Description
clears file locks which have not been cleared through normal system operation.
File locks are set by Pick/BASIC 'filelock' statements and other mechanisms.
File locks 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 '*' and a hash of '0'.
Note that a 'clear-locks (i' or a 'clear-locks' will release all file locks.
Options
i Suppresses 'item 'x' released' message.
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
