LKEX entry for TPLOCK exclusive
- Entry:
- LKEX
- VIT option:
- LOCK
- Event:
- TPLOCK exclusive
- VIT processing module:
- ISTRACLK
- Control is returned to:
- ISTAPC36
This trace record identifies a request for exclusive control of a VTAM® lock and the status of a lock. Exclusive locks can be held by only one VTAM process. If a WAIT entry immediately follows this entry, it could be because a wait-for-lock condition exists. Look at the lockword in the trace output to see if the lock is already held.
Locks obtained by LKEX are eventually released by UNLK
or ULKA. See z/OS Communications Server: SNA Diagnosis Vol 1, Techniques and Procedures for a list of VTAM locks.
- Byte (hex)
- Contents
- 00–03
- Record ID: C"LKEX"
- 04
- ID is the primary address space ID (ASID). This field is 0 if the ASID is greater than X'FF'.
- 05
- 0
- 06–07
- Level of lock to be obtained
- 08–0B
- Address of lock to be obtained
- 0C–0F
- CRA lock account word (CRALKACT)
- 10–13
- Address of the issuer of the TPLOCK macro
- 14–1A
- Lockword pointed to by address in bytes 08-0B
- 1B
- The LOCK ID field. See z/OS Communications Server: SNA Diagnosis Vol 1, Techniques and Procedures for a list of VTAM locks.
- 1C–1F
- Request parameter header (RPH) address