Example:
LKE>CLEAR -ALL
This command clears all current LOCKs.
Example:
LKE> clear -pid=2325 -interactive
This command presents all LOCKs held by the process with
PID
equal to 2325. You can choose whether or not to
clear each LOCK.
LKE> clear -reg=areg -interactive
This command produces an output like the following:
AREG ^a Owned by PID= 2083 which is an existing process Clear lock ?
Type Yes
or
Y
in response to the prompt.
LKE responds with an informational message:
%GTM-S-LCKGONE, Lock removed : ^a
Type Yes
or
N
or No
or N
until all LOCKs are displayed and acted upon.
LKE> clear -pid=4208 -nointeractive
This command clears the lock held by a process with PID 4208. This command produces an output like the following:
DEFAULT Lock removed : ^A
Note that -NOINTERACTIVE
forced the action
without asking for a confirmation.
Example:
LKE>clear -lock="^a("b") Clear lock ? y Lock removed : ^a("b") LKE>
This command clears lock ^a("b")
in the default
region.
Example:
LKE>clear -lock="^a" -nointeractive
This command clears all the locks that start with "^a" in the
default region. -NOINTERACTIVE
qualifier instructs LKE
to clear these locks without further user intervention.
Example:
LKE>clear -lock="^a" -exact -nointeractive
This command clears lock ^a
in the default
region. -NOINTERACTIVE
instructs LKE to clear
lock ^a
without further user intervention.
Example:
LKE>CLEAR -PID=4109 -LOCK=""^A"" Clear lock ? Y Lock removed : ^A LKE>
This command clears LOCK ^A
held by process
with PID 4109.