Previous Topic: Permanent Locks on CMS FilesNext Topic: QPCB Command


Permanent Locks

Permanent locks are used to prevent updating of an entry or file by one user while another user has a copy of the same entry or file. They are retained during a shutdown and restart of CA VM:Director.

All permanent locks are written to a CMS file called PERMLOCK FILE, located on the CA VM:Director A‑disk. The locks persist until a command clears them or you issue the UNLOCK command on them. If CA VM:Director terminates before a lock is cleared, CA VM:Director reads the PERMLOCK file at initialization and re‑establishes all of the previously existing permanent locks.

Example

Your operator has issued the END command, but the CA VM:Director shutdown process has not completed. To determine which virtual machine is preventing the shutdown process from completing, enter the QLOCK command from the CA VM:Director service virtual machine console:

qlock

CA VM:Director responds with a one‑line message for each outstanding lock:

THE MANAGE PROCESS HAS A PRIVATE DISK‑U‑MAINT‑ABC LOCK. THE MANAGE PROCESS HAS A SHARED VMNUC‑MACRO‑VMDIRECT‑MANAGE LOCK.

Then issue the QPCB command to determine which user ID has issued the MANAGE command.

Note: For more information, see QPCB Command.