DB2QTHDLST SAP (ST04: DB2 thread overview) Structure details

Dictionary Type: Structure
Description: ST04: DB2 thread overview




ABAP Code to SELECT data from DB2QTHDLST
Related tables to DB2QTHDLST
Access table DB2QTHDLST




Structure field list including key, data, relationships and ABAP select examples

DB2QTHDLST is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "ST04: DB2 thread overview" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_DB2QTHDLST TYPE DB2QTHDLST.

The DB2QTHDLST table consists of various fields, each holding specific information or linking keys about ST04: DB2 thread overview data available in SAP. These include ACE (Field type raw, length 8, 4 bytes), CONNID (The connection ID of the thread), HDSUBSYSID (DB2 subsystem ID), HDATDAT (Date when sampling is taken).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP DB2QTHDLST structure fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
MEMBNMDB2 member name in data sharing environment DB2MEMNCHAR8DB2CHAR08
ACEField type raw, length 8, 4 bytes DB2RAW04INT410DB2INT4
CONNIDThe connection ID of the thread DB2WHCCNCHAR8DB2CHAR08
HDSUBSYSIDDB2 subsystem ID DB2SWPSSIDCHAR4DB2CHAR04
HDATDATDate when sampling is taken DB2SWPATDTDATS8DB2DATE
HDATTIMTime when sampling is taken DB2SWPATTMTIMS6DB2TIME
HDLRESTIMETime of last reset DB2SWPLRTMTIMS6DB2TIME
JOBNAMEThe job name of the thread. DB2THDJOBCHAR8DB2CHAR8
DBPLANDB2 plan name DB2WHCPLANCHAR128CHAR128
AUTHIDThe authorization ID under which the transaction is running DB2WHCAIDCHAR128CHAR128
CORRIDThe correlation ID of the thread (IP address) DB2WHCCVCHAR16DB2CHAR16
THDTSTAT DB2THDTSTTINT25DB2SINT
THDSTATThe status of the thread DB2W0148AICHAR16DB2CHAR16
FILLERField type char, length 8 DB2CHAR08CHAR8DB2CHAR08
SQLCNTThe total number of executed SQL statements DB2THDSQLINT410DB2INT4
DBCOMMITThe number of successful phase 2 or single-phase commits DB2WACCOMMINT410DB2INT4
ABORTTotal number of rollback requests DB2WACABRTINT410DB2INT4
GETPAGENumber of Getpage Requests DB2BACGETINT410DB2INT4U
UPDPAGEThe number of times a buffer update occurs for the agent DB2BACSWSINT410DB2INT4U
LOCKSThe total number of currently hold locks. DB2THDLOCKINT410DB2INT4
QTXANPLMaximum page or row locks held DB2TXANLPINT410DB2INT4
CPUTIMEThe accumulated home CPU time a thread spent in DB2 DB2WACAJSTINT410DB2INT4
ELTIMETime elapsed since DB2 thread was started DB2THDELTINT410DB2INT4
LOCKMODThe mode of the lock held on the resource DB2LOCKMODCHAR6DB2CHAR06
ACTTIMEActivity time (Class 1 elapsed time) DB2THDTACTCHAR16DB2CHAR16
TIMEINDB2Percentage of time spent in DB2 DB2INDB2CHAR8DB2TIMEP
PROCINDB2Percentage of time spent processing in DB2 DB2PROCDB2CHAR8DB2TIMEP
WPTYPECorresponding R/3 work process type DB2WPTYECHAR5DB2CHAR05
WPNUMBERWork process number DB2WPNUMNUMC10DB2NUMC10
WPIDWork process ID DB2WPIDNUMC10DB2NUMC10
ASHOSTApplication server host name DB2ASHOSTCHAR32DB2CHAR32
THDREQNumber of Requests Sent to DB2 DB2W0148RQINT410DB2INT4
THDEUWN DB2EUWNCHAR18DB2CHAR18
THDEUTX DB2EUTXCHAR32CHAR32
THDACT1 DB2THDACT1INT410DB2INT4
THDACT2 DB2THDACT2INT410DB2INT4
QMDASUFX DB2 accounting string0
QMDAPLAT Client platform from DB2's perspective0
QWHDRQNM Client IP address from DB2's perspective0
QWHCEUID Client enduser ID from DB2's perspective0
QWHCTOKN DB2 accounting correlation token0
QWACPARR Accounting records represents accounting rollup bucket0
QW0148CI DB2 collection ID0

Key field Non-key field



How do I retrieve data from SAP structure DB2QTHDLST using ABAP code?

As DB2QTHDLST is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on DB2QTHDLST as there is no data to select.

How to access SAP table DB2QTHDLST

Within an ECC or HANA version of SAP you can also view further information about DB2QTHDLST and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!