tcl.unlock-file

Verb: Access/TCL, Releases: AP 6.2

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

Command Name Type Description
tcl.list-lockq Verb: Access Display processes waiting to lock a frame
tcl.clear-locks Verb: Access Clears locks.
tcl.what Verb: Access Combines output of 'what', 'where', 'list-locks' and 'sp-status' commands.
basic.lock Statement Sets execution lock.
locking.scheme Definition Locking schemes.
tcl.list-locks Verb: Access Displays status of all locks.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.