DFHFC0166    date time applid tranid termid userid. VSAM RLS has detected a deadlock. There are nn transactions or Transactional VSAM units of recovery in the deadlock chain.

Explanation

This message and the following DFHFC0167 or DFHFC0177 messages are issued to assist in problem determination when transactions abend with AFCW abend codes.

An attempt made by transaction tranid to update a file which is open in VSAM RLS mode has failed because VSAM RLS detected that this request would have caused a deadlock with other transactions.

At the time that the timeout occurred there were nn other transactions or Transactional VSAM units of recovery in the chain which caused deadlock.

System action

The application request which encountered the error receives an AFCW abend.

CICS issues message DFHFC0166 to identify the failing transaction and the number of transactions or units of recovery in the deadlock chain.

CICS also issues message DFHFC0167 or DFHFC0177 once for each transaction or unit of recovery involved in the deadlock chain. DFHFC0167 and DFHFC0177 identify the resource that the transaction or unit of recovery is holding and the resource that the transaction is waiting for.

User response

Examine the transactions or units of recovery in the deadlock chain to determine why deadlock arose. If necessary, correct the programming logic to avoid deadlock-creating situations.

For guidance on writing programs that avoid deadlock problems, see the Developing CICS Applications.

Module

DFHFCRS

XMEOUT parameters/Message inserts

  1. date
  2. time
  3. applid
  4. tranid
  5. termid
  6. userid
  7. nn

Destination

CSFL



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