DB2 Lock Conflict Attributes

Use DB2 Lock Conflict Group attributes to create situations that monitor DB2 database lock conflicts.

Authorization ID The primary authorization ID from connection or sign-on, that identifies the execution privileges an application has to a DB2 object or service. Valid format is alphanumeric with a maximum of 8 characters; for example, TRAN5.

Authorization ID (Unicode) The primary authorization ID from connection or sign-on, that identifies the execution privileges an application has to a DB2 object or service. Valid format is alphanumeric with a maximum of 8 characters; for example, TRAN5.

Connection ID Identifies the connection of an application to a DB2 system.

Valid values are:
BATCH Batch job
CICS CICS attach
DB2CALL DB2 call facility
DIST Distributed
IMS IMS thread
TSO/E TSO/E foreground and background
UTILITY DB2 utility

Connection Type The type of DB2 connection.

Valid values are:
APPLCTN Application directed access
BATCH Batch job
CICS CICS attach
DB2CAF DB2 call attach
DLIBATCH DL/I Batch
IMS IMS thread
IMS BMP IMS attach BMP
IMS TBMP IMS transaction BMP
IMS CTL IMS control region
IMS MPP IMS attach MPP
SYSTEM System directed access
TSO/E TSO/E foreground and background
UNKNOWN Unrecognizable connection type
UTILITY DB2 utility

Correlation ID The correlation between an application and the connection to a DB2 system. Valid format is alphanumeric, with a maximum of 12 characters; for example, DLKEX212.

DB2 ID The name of a DB2 subsystem.

Display Elapsed Time The total amount of elapsed time since thread creation or DB2 sign-on.

IDNAME An internal attribute used for navigation, it contains either the Data Sharing Group Name or the DB2ID.

Valid format is alphanumeric with a maximum of 8 characters; for example TDDB242G.

Lock Elapsed Time The amount of time (in seconds) a waiter has been waiting for the resource.

Lock Level Identifies the lock resource usage.

Valid values are:
IS Intent share
IX Intent exclusive
NSU Non-shared Update
S Share
SIX Share intent exclusive
U Update
UNS Unprotected shared
X Exclusive

Lock Resource The resource a lock owner currently has locked or the resource that caused DB2 to suspend a lock request. Valid format is alphanumeric, with a maximum of 50 characters; for example, DB=TBLBLK2 PS=PAGELK2.

Lock Status The status of a job holding or waiting on a lock: If the status is OWN with a DB2 subsystem name, the lock is owned by another DB2 subsystem in the Data Sharing Group (DSG); for example, if lock status is OWN-DB2A, the lock is owned by DB2 subsystem DB2A.

Lock Token Lock Token.

Lock Type The lock type of the lock request.

Valid values are:
Table 1. Lock types
Lock type Description Explanation
ALBP Alter buffer pool lock A lock on a buffer pool during execution of an ALTER BUFFERPOOL command.
BIND Bind lock An autobind/remote bind lock.
BPPS Buffer Manager Pageset RR P-LOCK A buffer manager pageset lock.
CCAT CATMAINT convert catalog lock This lock is acquired when catalog conversion is performed.
CDIR CATMAINT convert directory lock This lock is acquired when directory conversion is performed.
CDRN Cursor Stability drain lock This lock is acquired to drain all CS read access to an object.
CMDS DB2® Command Serialization lock A DB2 Command Serialization lock.
CMIG CATMAINT migration lock This lock is acquired when catalog migration is performed.
COLL Collection lock A collection lock.
DBDL DBD load lock A database descriptor load lock.
DBEX Database exception LPL/GRECP lock A lock on a either a "Logical page list" or "Group buffer pool recovery pending" database exception status. This lock is used only in a data sharing environment.
DBXU DB exception update lock A lock used for updating database exception status.
DGTT DGTT URID lock This lock is acquired to protect segments that belong to a Declared Global Temporary Table (DGTT). These segments are deallocated during Commit 1 by logging them and serializing them using the Unit of Recovery ID (URID) lock.
DPAG DB2 page lock A page lock in a tablespace. When programs read data or update data, they acquire a page lock containing the data.
DPLK 32K Desperation Pool lock A 32K Desperation Pool lock.
DSET Partitioned lock A partitioned tablespace contains one or more partitions (up to 64). A partitioned table space is created when you create a tablespace using the SQL CREATE TABLESPACE statement with the NUMPARTS parameter. Only one table can be stored on a partitioned tablespace. Each partition contains one part of a table. The partitioned lock only locks the partition with the data being referenced.
DTBS Database lock A lock on the database.
GRBP Group BP start/stop lock A group buffer pool start/stop lock.
HASH Hash anchor lock A hash anchor lock.
HPSP Header Page Bucket or Stored Procedure Command lock A Header Page Bucket lock or a Stored Procedure Command lock.
IEOF Index EOF lock A lock acquired at index end of file.
IPAG Index page lock A page lock in an index space. When application programs read or update data, they acquire a lock on the page containing the index when indexing is used.
IXKY Index key lock An index key lock.
LBLK LOB lock An LOB lock.
LPLR LPL Recovery lock An LPL Recovery lock.
MDEL Mass delete lock This lock is acquired when doing a mass delete from a table (for example, when you DELETE FROM a table) within a segmented tablespace. It is used to prevent another user from reusing freed segments before a delete operation is committed.
PALK Partition lock A partition lock.
PBPC Group BP level castout P-lock A physical lock acquired when a castout of a group buffer pool occurs. Castout is the process of writing pages in the group buffer pool out to DASD. This lock is used only in a data sharing environment.
PCDB DDF CDB P-lock A Distributed Data Facility communication database physical lock. This lock is used only in a data sharing environment.
PDBD DBD P-lock A database descriptor physical lock. This lock is used only in a data sharing environment.
PDSO Pageset or partitioned pageset open lock If the data set supporting the tablespace that is referenced by the application is not opened, the program will acquire a lock to open the data set. The data set will stay open if CLOSE=NO is defined in the SQL statement creating the tablespace.
PITR Index manager tree P-lock An index manager tree physical lock. This lock is used only in a data sharing environment.
PPAG Page P-lock A physical lock on a page. This lock is used only in a data sharing environment.
PPSC Pageset/partition level castout P-lock A pageset/partition level castout physical lock. This lock is used only in a data sharing environment.
PPSP Pageset/partition P-lock A pageset/partition level castout physical lock. This lock is used only in a data sharing environment.
PRLF RLF P-lock A Resource Limit Facility physical lock. This lock is used only in a data sharing environment.
PSET Pageset lock A pageset can be a tablespace or indexspace. A pageset containing DB2 tables is a tablespace. A pageset containing DB2 index structure is an indexspace. A pageset can be simple or partitioned. This lock type is for the simple pageset only.
PSPI Pageset piece lock A pageset is a collection of pageset pieces. Each pageset piece is a separate VSAM data set. A simple pageset contains from 1 to 32 pieces. Each piece of a simple pageset is limited to 2 GB. Whenever a simple pageset piece reaches this size, another piece is allocated and the pageset grows. This is a lock on the expanded pageset piece.
RDBD Repair DBD Test/Diagnose This lock is acquired when REPAIR DBD REBUILD is running.
RDRN Repeatable Read drain lock This lock is acquired to drain all RR access to an object.
RGDA Retry Getpg During Abort
ROW Row lock A lock on a row.
RSTR SCA restart lock A lock on SCA access for restart/redo information.
SDBA Start/stop lock on DBA table A lock on the table, tablespace, or database when a CREATE/DROP is being processed against these objects.
SKCT Skeleton cursor table lock A lock on the application plan.
SKPT Skeleton package table lock A lock on the application package.
SPRC Sys Level PIT Recovery lock A Point In Time (PIT) recovery lock.
SREC Log range lock DB2 writes a record in the log range tablespace (SYSLGRNG) every time a tablespace is opened and updated, and updates SYSLGRNG whenever that tablespace is closed. The record contains the opening and/or closing log RBA (relative byte address) for the tablespace. When DB2 writes to SYSLGRNG, the program acquires a lock on the tablespace with updates.
TABL Table lock A lock on the table which resides in a segmented tablespace.
UIDA Util I/O Damage Assessment
UNDT Undetermined lock A lock that is not any of the other listed lock types.
UTEX Utility exclusive execution lock A utility exclusive execution lock.
UTID Utility UID lock A utility identifier lock.
UTOB Utility object lock A utility object lock.
UTSE Utility serialization lock This lock is required when running utility jobs.
WDRN Write drain lock This lock is acquired to drain all write access to an object.
XMLK XML lock An XML lock.

MVS System An ID for the MVS System Management Facility (SMF). Valid format is alphanumeric with a maximum of 4 characters; for example SP11.

Originating System ID The managed system name of the agent. Valid format is alphanumeric, with a maximum of 32 characters; for example, DB91:SYS1:DB2.

Plan Name The name of an application plan that DB2 produces during the bind process and uses for processing SQL statements during execution. Valid format is alphanumeric with a maximum of 8 characters. For example PLANLCK2 is the name of an application plan. *SYSTEM* indicates DB2 subsystem-generated threads that own or are waiting on a lock.

Resource Name 1 (Unicode) The resource name of type defined by type code.

Resource Name 2 (Unicode) The resource name of type defined by type code.

Resource Name 3 The resource name of type defined by type code.

Resource Name 4 The resource name of type defined by type code.

Resource Type 1 This value indicates what is contained in Resource Name 1.

Valid values are:
BP Buffer Pool
CO Collection name
DB Hash Database
HC Class
PL Plan name
UT Utility ID

Resource Type 2 This value indicates what is contained in Resource Name 2.

Valid values are:
PK Package
PS Page Set (Table space)

Resource Type 3 This value indicates what is contained in Resource Name 3.

Resource Type 4 This value indicates what is contained in Resource Name 4.

Valid values are:
PT Partition

SUBSYS The IRLM subsystem name.

Thread Status The current status of a thread.

Valid values are:
IN_BIND_DYN In dynamic bind processing
IN_COMMAND Executing within DB2 command processor
IN_DB2 Executing in DB2
IN_SQL_CALL Processing an SQL call
IN_STOR_PROC Executing a stored procedure
IN_SQL_SORT Doing sort processing while executing an SQL call
IN_TERM_THRD Terminating
INDOUBT In doubt
NOT_AVAIL Not available
NOT_IN_DB2 Not executing in DB2
SWAPPED_OUT Originating address space swapped out
WAIT_ARCHIVE Waiting for an archive log tape mount
WAIT_ARCREAD Waiting for read of archive log from tape
WAIT_ASYNCRD Waiting for completion of read I/O done under another thread
WAIT_ASYNCWR Waiting for completion of write I/O done under another thread
WAIT_CLAIMER Waiting for release of claimers
WAIT_CONVLIM Distributed thread in synchronous wait; conversion limit reached
WAIT_CTHREAD Queued in create thread processing
WAIT_DRNLOCK Waiting to acquire drain lock
WAIT_GLBLOCK Waiting for lock or lock contention within data sharing group
WAIT_LOCK Waiting for a lock
WAIT_LOGQSCE Suspended because of Archive Log Mode (Quiesce) command
WAIT_MSGSEND Waiting because of intersystem message sending
WAIT_PGLATCH Waiting for page latch
WAIT_REMREQ Database access thread in synchronous wait
WAIT_REMSQL Distributed allied thread in synchronous wait
WAIT_REUSE Waiting for reuse
WAIT_SERVICE Waiting for completion of DB2 service
WAIT_SP_SCHD Waiting to schedule a stored procedure
WAIT_SP_STOP Waiting because stored procedure stopped
WAIT_SYNC_IO Waiting for completion of synchronous read or write I/O
WAIT_TERM_TH Queued and waiting for termination

Thread Type The type of thread.

It can be:
A-LIST Allied-distributed thread starts at one server location; processes at another.
ALLIED Thread starts and processes at one server location.
DBACCESS Database access thread, requested by an allied-distributed thread.
UNKNOWN Unknown.

Time Stamp Represents the end of data collection or the end of an interval, and is the local time where the system is running.

Valid format is MM-DD-YY HH:MM:SS, where:
  • M = Month
  • D = Day
  • Y = Year
  • H = Hour
  • M = Minute
  • S = Second
For example, 07-16-12 14:58:29 indicates that data collection ended on July 16th, 2012, at 14:58:29 PM.