Use this command to delete locks from a coupling facility (CF).
Requirements and Restrictions
- Delete locks from active processors only in emergencies. No checks
are performed when you enter this command and the lock is deleted. This
can cause the CCCFLC program to issue system error 04627. If another
processor is waiting for the lock, that processor is notified that the lock
was deleted. If the lock is currently held by an entry control block
(ECB) on this processor, the ECB is forced to exit, system error 0000DA is
issued, and the lock is deleted from the record hold table (RHT).
- When a lock is on the CF you can only delete the lock from the processor
that is holding (holder) the lock. Additionally, when the lock is on
the CF and the processor is waiting for the lock, you can only delete the
request for the lock from the processor that is waiting (waiter) for the
lock.
Format
- LOCKname-lockname
- deletes a specific lock, where lockname is the 16-digit
hexadecimal lock name. You can also specify this parameter as
LN.
- sda
- is the 4-digit hexadecimal symbolic device address.
- FA-fileaddr
- deletes the lock for a specific record, where fileaddr is an 8-
or 16-digit hexadecimal file address.
- Note:
- To translate the file address correctly, use this parameter only for the
subsystem and subsystem user (SSU) that owns the specified file
address.
- Vsync
- deletes the virtual file access (VFA) synchronization lock. If you
do not specify this parameter, the RHT lock is deleted.
Additional Information
- Online help information is available for this command. To display
the help information, enter one of the following:
ZDLCK HELP
ZDLCK ?
- Enter the ZDLCK DISPLAY command to display information about the locks
that exist in the CF.
- Enter the ZRHLD DELETE command to delete locks when they are held in a
control unit (CU).
Examples
In the following example, the specified lock for device 03E3 is
deleted.
+--------------------------------------------------------------------------------+
|User: ZDLCK DEL LN-0F05038a43000080 03E3 |
| |
|System: CLM80027I 17.35.24 LOCK DELETION COMPLETE, CTL-4627 MAY OCCUR |
+--------------------------------------------------------------------------------+
In the following example, the VFA synchronization lock for file address
F403A805 is deleted.
+--------------------------------------------------------------------------------+
|User: ZDLCK DEL FA-F403A805 VSYNC |
| |
|System: CLM80027I 08.48.32 LOCK DELETION COMPLETE, CTL-4627 MAY OCCUR |
+--------------------------------------------------------------------------------+
Related Information