tcl.clear-locks Verb: Access/TCL

tcl.clear-locks

Command tcl.clear-locks Verb: Access/TCL
Applicable release versions: AP, AP 6.2
Category TCL (746)
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)
Syntax clear-locks {host} {(options}
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.
Purpose
Related tcl.clear-basic-locks
basic.lock
basic.unlock
tcl.unlock-group
tcl.unlock-item
locking.scheme
system.privileges
tcl.list-locks_rp
filename.hosts
tcl.unlock-file