Information

This site will undergo a brief period of maintenance on Friday, 18 December at 12:30 AM Central/12:00 PM IST. During a 30 minute window, site availability may be intermittent.

CLEAR LOCK


This command is used only in error situations.

It clears (unlocks) one of the CPC locks that have not been properly freed. This problem can be a programming error. The DISPLAY LOCK command can be used to determine the current status of CPC locks.

Syntax

CLEAR | LOCK | lockname lockid {grpname}
CLR |

lockname is one of the following lock names: GROUP|ANCHOR|COMMBUF|UIBUF|LOG|TRACE|FUNCTION|BUFFER|GRPUI|

lockid is the current LOCKID value, which is usually the job name. Use CPCORIDE for override.

grpname is the group name that is required for FUNCTION and BUFFER locks.

Examples

/cpcx CPC adv CLEAR LOCK GROUP testjob
  • BMC251930I CLEAR Command for GROUP Lock Successful
  • CLR LOCK BUFFER CPCORIDE GEN
  • BMC251930I CLEAR Command for BUFFER Lock Successful

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Database Advisor for IMS 3.2