Collecting data for IRLM P-lock delays

Issue the MODIFY command to collect diagnostic data when the internal resource lock manager (IRLM) processes are delayed during an operation that involves physical lock (P-lock) negotiation.

Before you begin

To diagnose IRLM problems, you must have the appropriate authorization to collect data from different z/OS® components.

About this task

In a data sharing environment, when P-lock negotiation exceeds a time threshold, modify settings so that a supervisor call (SVC) dump is created for the associated address spaces. Message DSNT501I might be issued to the z/OS console (SYSLOG), and SQLCODE -904 with reason code 00C20255 might be returned to the application, indicating a P-lock cannot be obtained.

Procedure

To collect IRLM diagnostic trace information, use the following command in the z/OS console:
MODIFY irlmproc,DIAG,PLOCK

Where irlmproc is the IRLM procedure name as identified in the IEFSSNxx member of the SYS1.PARMLIB data set.

Results

The next time that the delay occurs, IRLM initiates dumps of the IRLM and Db2 address spaces to the SYS1.DUMPxx data set.