DB2QTHDLST SAP (ST04: DB2 thread overview) Structure details
Description: ST04: DB2 thread overview
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 |
MEMBNM | DB2 member name in data sharing environment | DB2MEMN | CHAR | 8 | DB2CHAR08 | ||||
ACE | Field type raw, length 8, 4 bytes | DB2RAW04 | INT4 | 10 | DB2INT4 | ||||
CONNID | The connection ID of the thread | DB2WHCCN | CHAR | 8 | DB2CHAR08 | ||||
HDSUBSYSID | DB2 subsystem ID | DB2SWPSSID | CHAR | 4 | DB2CHAR04 | ||||
HDATDAT | Date when sampling is taken | DB2SWPATDT | DATS | 8 | DB2DATE | ||||
HDATTIM | Time when sampling is taken | DB2SWPATTM | TIMS | 6 | DB2TIME | ||||
HDLRESTIME | Time of last reset | DB2SWPLRTM | TIMS | 6 | DB2TIME | ||||
JOBNAME | The job name of the thread. | DB2THDJOB | CHAR | 8 | DB2CHAR8 | ||||
DBPLAN | DB2 plan name | DB2WHCPLAN | CHAR | 128 | CHAR128 | ||||
AUTHID | The authorization ID under which the transaction is running | DB2WHCAID | CHAR | 128 | CHAR128 | ||||
CORRID | The correlation ID of the thread (IP address) | DB2WHCCV | CHAR | 16 | DB2CHAR16 | ||||
THDTSTAT | DB2THDTSTT | INT2 | 5 | DB2SINT | |||||
THDSTAT | The status of the thread | DB2W0148AI | CHAR | 16 | DB2CHAR16 | ||||
FILLER | Field type char, length 8 | DB2CHAR08 | CHAR | 8 | DB2CHAR08 | ||||
SQLCNT | The total number of executed SQL statements | DB2THDSQL | INT4 | 10 | DB2INT4 | ||||
DBCOMMIT | The number of successful phase 2 or single-phase commits | DB2WACCOMM | INT4 | 10 | DB2INT4 | ||||
ABORT | Total number of rollback requests | DB2WACABRT | INT4 | 10 | DB2INT4 | ||||
GETPAGE | Number of Getpage Requests | DB2BACGET | INT4 | 10 | DB2INT4U | ||||
UPDPAGE | The number of times a buffer update occurs for the agent | DB2BACSWS | INT4 | 10 | DB2INT4U | ||||
LOCKS | The total number of currently hold locks. | DB2THDLOCK | INT4 | 10 | DB2INT4 | ||||
QTXANPL | Maximum page or row locks held | DB2TXANLP | INT4 | 10 | DB2INT4 | ||||
CPUTIME | The accumulated home CPU time a thread spent in DB2 | DB2WACAJST | INT4 | 10 | DB2INT4 | ||||
ELTIME | Time elapsed since DB2 thread was started | DB2THDELT | INT4 | 10 | DB2INT4 | ||||
LOCKMOD | The mode of the lock held on the resource | DB2LOCKMOD | CHAR | 6 | DB2CHAR06 | ||||
ACTTIME | Activity time (Class 1 elapsed time) | DB2THDTACT | CHAR | 16 | DB2CHAR16 | ||||
TIMEINDB2 | Percentage of time spent in DB2 | DB2INDB2 | CHAR | 8 | DB2TIMEP | ||||
PROCINDB2 | Percentage of time spent processing in DB2 | DB2PROCDB2 | CHAR | 8 | DB2TIMEP | ||||
WPTYPE | Corresponding R/3 work process type | DB2WPTYE | CHAR | 5 | DB2CHAR05 | ||||
WPNUMBER | Work process number | DB2WPNUM | NUMC | 10 | DB2NUMC10 | ||||
WPID | Work process ID | DB2WPID | NUMC | 10 | DB2NUMC10 | ||||
ASHOST | Application server host name | DB2ASHOST | CHAR | 32 | DB2CHAR32 | ||||
THDREQ | Number of Requests Sent to DB2 | DB2W0148RQ | INT4 | 10 | DB2INT4 | ||||
THDEUWN | DB2EUWN | CHAR | 18 | DB2CHAR18 | |||||
THDEUTX | DB2EUTX | CHAR | 32 | CHAR32 | |||||
THDACT1 | DB2THDACT1 | INT4 | 10 | DB2INT4 | |||||
THDACT2 | DB2THDACT2 | INT4 | 10 | DB2INT4 | |||||
QMDASUFX | DB2 accounting string | 0 | |||||||
QMDAPLAT | Client platform from DB2's perspective | 0 | |||||||
QWHDRQNM | Client IP address from DB2's perspective | 0 | |||||||
QWHCEUID | Client enduser ID from DB2's perspective | 0 | |||||||
QWHCTOKN | DB2 accounting correlation token | 0 | |||||||
QWACPARR | Accounting records represents accounting rollup bucket | 0 | |||||||
QW0148CI | DB2 collection ID | 0 |
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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects