User's Reference > Administration > Administration from Reality > Command Reference > C > CLEAR-ITEM-LOCKS

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

CLEAR-ITEM-LOCKS command (m605006+clearitemlocks.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

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 file-name and must be preceded by a comma.

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'.

RealityV15.0Comment on this topic