DFHFC0174    date time applid tranid trannum termid userid A deadlock has occurred as a result of a lock promote failure. There are nnn transactions or Transactional VSAM units of recovery holding this lock.

Explanation

This message and the following DFHFC0165 or DFHFC0175 messages are issued to assist in problem determination when transactions abend with the AFCW abend code or receive RECORDBUSY response as NOSUSPEND was specified.

An attempt made by transaction tranid with transaction number trannum to update a file which is open in VSAM RLS mode has failed because VSAM has detected a deadlock while attempting to promote a shared lock to become an exclusive lock.

VSAM RLS returns problem determination information to CICS to assist with debugging the deadlock. However, this type of deadlock looks to VSAM like a timeout and thus the information returned to CICS looks like the information returned after a timeout. Hence this message is followed by one or more DFHFC0165 or DFHFC0175 messages instead of the DFHFC0167 messages which follow other types of deadlocks.

When the deadlock occurred there were nnn other transactions or Transactional VSAM units of recovery holding the required lock.

System action

The transaction receives an AFCW abend or RECORDBUSY response.

CICS displays message DFHFC0174 to identify the failing transaction and the number of owners of the lock. CICS also issues message DFHFC0165 or DFHFC0175 once for each lock owner. CICS issues message DFHFC0168 instead of DFHFC0165 or DFHFC0175 in the unlikely event that VSAM RLS is unable to identify the lock owner.

User response

The following DFHFC0165 or DFHFC0175 messages identify the transactions that are holding the required lock and the CICS systems that they are running in, or the units of recovery which are holding the locks and the Transactional VSAM instances they are running in, respectively. Examine these transactions or units of recovery to determine why they are not releasing VSAM RLS locks. Examine other RLS resources they acquire to determine whether this could cause a deadlock with the failing transaction.

Module

DFHFCRS

XMEOUT parameters/Message inserts

  1. date
  2. time
  3. applid
  4. tranid
  5. trannum
  6. termid
  7. userid
  8. nnn

Destination

CSFL



DFHFC0174.html | Timestamp icon Last updated: Sunday, 4 June 2017