Previous Topic: WAIT Operand

Next Topic: Resources as Semaphores

Associate Text with a Resource Lock

To assist recognition or provide information to other processes that want to interrogate the status of a lock, the &LOCK verb can specify text associated with your procedure's ownership of the lock. This text appears in the SHOW NCLLOCKS command display, which is used to display the locks held by the different processes in the system. The text is also made available to a procedure issuing an &LOCK statement with the TYPE=TEST option.

Note: For more information about the SHOW NCLLOCKS command and its use, see the online help.