HP OpenVMS Systems

ask the wizard
Content starts here

Tracking record-level file lock contention?

» close window

The Question is:

I'm trying to find a utility which can be used to find which user has a
 particular record locked within an RMS indexed file with little success. We
 are using Synergy DBL and Powerhouse as our main development tools with a
 little COBOL. I'm quite happy to
use either a pre written tool or write one, but to write one I could use some
 examples of using the $GETLKI or $GETLKIW system services as I don't really
 code in C and that seems to be the limit of the examples given.

The Answer is :

  If all you are interested in learning about here is file contention
  at a record level and you do not need nor want to build a correspondence
  between records and locks, you can quite easily use the DECamds tool to
  detect lock contention.

answer written or last revised on ( 24-JUL-2000 )

» close window