Ways to monitor Db2 locking activity

With data sharing, it is essential to control the volume of global lock requests that are propagated to the coupling facility and to control the amount of lock contention, both real and false.

You must monitor both the amount and type of locking that your applications are doing, and you must also make sure that any locking problems are not caused by data sharing resources, such as an undersized lock structure, or the overuse of the coupling facility or coupling facility channels (links).

The z/OS® command D XCF,STRNAME can also be used to monitor lock structure activity.