DFHFC0164    date time applid tranid trannum termid userid. A request has timed out waiting for an RLS lock. There are nn 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 AFCV abend code, or when application programs receive the RECORDBUSY condition.

An attempt made by transaction tranid with task number trannum to update a file which is open in VSAM RLS mode has failed because the request timed out waiting to obtain a lock on a record.

VSAM RLS has detected that a request has waited for a lock for more than the timeout interval. However, RLS was unable to detect any deadlock. Possibly there is a deadlock between VSAM RLS requests and requests to another resource manager such as DB2 or DBCTL.

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

System action

If the application request which encountered the error specified NOSUSPEND, it receives the RECORDBUSY condition and continues. If the request did not specify NOSUSPEND, it receives an AFCV abend.

CICS displays message DFHFC0164 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 unit of recovery holding the required lock and the Transactional VSAM instance this is running in, respectively. Examine these transactions or units of recovery to see why they are not releasing VSAM RLS locks. For example:

  • They may be holding VSAM RLS locks and waiting for terminal input.

  • They may be trying to access resources from both VSAM RLS and another resource manager, creating an inter-resource manager deadlock.

Module

DFHFCRS

XMEOUT parameters/Message inserts

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

Destination

CSFL



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