One of our applications obtains exclusive locks on user-specific data areas.
The application is being changed to use shared read locks instead.
The problem is that a separate application was reading through a list of these data areas and counting which ones it was unable to obtain its own exclusive lock for in order to count the number of users on the application.
WRKOBJLCK only outputs to paper (and I don't want to start working with temporary spool files) and I can't seem to find an API that will give me a list of objects and lock states.
Did I miss one or will have to use WRKOBJLCK (ugly but doable)?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!