tcl.clear-locks

Verb: Access/TCL, Releases: AP and AP 6.2

Clears locks.

Syntax

clear-locks {host} {(options}

Description

clears all locks, or specific locks according to the option(s) provided.

When used with the 'i' option, and optional host may be specified to release all item locks residing on a remote server. (6.2 and above only)

Options


b Clears all Pick/BASIC locks.

f{fid} Clears all group and item locks for a specific frame-id, specified as a decimal number. Note: The 'f' option indicates that the number immediately folowing it is a frame-id. Without the 'f' option, the number is interpreted as a port number.

g{f{fid}} Clears all group locks and ignores item locks for a specific frame-id, specified as a decimal number. See notes under 'f' option.

i{f{fid}} Clears all item locks, and ignores group locks, for a specific frame-id, specified as a decimal number. See notes under 'f' option.

o{f{fid}} Clears all group read-only locks for a specific frame-id, specified as a decimal number. See notes under 'f' option.

q Clears all Spooler locks.

r{f{fid}} Clears all group retrieval locks for a specific frame-id, specified as a decimal number. See notes under 'f' option.

u{f{fid}} Clears all group update locks for a specific frame-id, specified as a decimal number. See notes under 'f' option.

s Clears all system locks.

Example

clear-locks (g3

This clears all group locks for port 3.

clear-locks (gf12345

This clears all group locks for decimal frame 12345.

See Also

Command Name Type Description
tcl.clear-basic-locks Verb: Access Invokes command: 'clear-locks (b'.
basic.lock Statement Sets execution lock.
basic.unlock Statement Resets execution lock.
tcl.unlock-group Verb: Access Clears group locks.
tcl.unlock-item Verb: Access Clears item locks in specified file.
locking.scheme Definition Locking schemes.
system.privileges Definition Description of privilege levels.
tcl.list-locks_rp Verb: Access Displays status of all locks.
tcl.unlock-file Verb: Access Clears a file lock on a specified file.

User Comments

What do you think?

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

Login to leave your comments.