CLEAR-ITEM-LOCKS
Unlocks a specific item lock, all the item locks for a port, or clears the Item Lock Table, depending on the option used.
Syntax
CLEAR-ITEM-LOCKS {file-name{,data-section-name}} {item-id} {(options}
Syntax Elements
file-name specifies a dictionary section and a data section.
data-section-name
specifies a data section different from the one implied by file-name.
Must immediately follow
item-id specifies the name of the locked item.
Options
n Unlock lock n. n must be hexadecimal preceded by a period. This option requires SYS2 privileges. You can get the number from the LIST-ITEM-LOCKS listing.
C Clear the table. This option requires SYS2 privileges.
L{n} Unlock all the locks set by the executing port. If n is specified, only those locks set by port n are unlocked.
Restriction
SYS2 privilege level is required to clear a lock set by another port.
Examples
:
CLEAR-ITEM-LOCKS INV 437A
This command clears the lock for item 437A in file INV.
:
CLEAR-ITEM-LOCKS (L38
This command clears all the item locks set by port 38.
:
CLEAR-ITEM-LOCKS (C
This command clears the table.
:
CLEAR-ITEM-LOCKS (.4C6197F3
This command clears the specific lock X'4C6197F3'.