DB2QTHDDSC SAP (content dynamic statement cache) Structure details
Description: content dynamic statement cache
Structure field list including key, data, relationships and ABAP select examples
DB2QTHDDSC 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 "content dynamic statement cache" 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_DB2QTHDDSC TYPE DB2QTHDDSC.
The DB2QTHDDSC table consists of various fields, each holding specific information or linking keys about content dynamic statement cache data available in SAP. These include USERID (), QSTCTOKN (Statement ID), QSTCSTNM (DB2 statement name), QSTCUSE (Current Copies).. 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 DB2QTHDDSC 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 | ||||
USERID | DB2USERID | INT2 | 5 | DB2SINT | |||||
QSTCTOKN | Statement ID | DB2QSTTOKN | INT4 | 10 | DB2INT4 | ||||
QSTCSTNM | DB2 statement name | DB2QSTSTNM | RAW | 16 | DB2RAW16 | ||||
QSTCUSE | Current Copies | DB2QSTUSE | DEC | 19 | DB2DEC19V | ||||
QSTCCOPY | Number of copies of the statement | DB2QSTCOPY | INT4 | 10 | DB2INT4 | ||||
QSTCSTAT | Status of the statement | DB2QSTSTAT | CHAR | 30 | DB2CHAR30 | ||||
QSTCISTM | Time when statement was inserted into cache | DB2QSTISTM | RAW | 10 | DB2RAW10 | ||||
QSTCEXEC | Number of executions of the statement | DB2QSTEXEC | DEC | 19 | DB2DEC19V | ||||
QSTCRBUF | Synchronous Reads | DB2QSTRBUF | DEC | 19 | DB2DEC19V | ||||
QSTCGPAG | Getpages | DB2QSTGPAG | DEC | 19 | DB2DEC19V | ||||
DSTCGPAG | Getpages (decimal) | 0 | |||||||
QSTCEROW | Rows examined (Only data rows are taken into account) | DB2QSTEROW | DEC | 19 | DB2DEC19V | ||||
DSTCEROW | Rows Examined (new type) | 0 | |||||||
QSTCPROW | Rows Processed | DB2QSTPROW | DEC | 19 | DB2DEC19V | ||||
DSTCPROW | Rows Processed (new type) | 0 | |||||||
QSTCSORT | Number of sorts performed for statement | DB2QSTSORT | DEC | 19 | DB2DEC19V | ||||
QSTCINDX | Number of index scans performed for statement | DB2QSTINDX | DEC | 19 | DB2DEC19V | ||||
QSTCTSCN | Number of tablespace scans performed for statement | DB2QSTTSCN | DEC | 19 | DB2DEC19V | ||||
QSTCPLGP | Number of parallel groups created for statement | DB2QSTPLGP | DEC | 19 | DB2DEC19V | ||||
QSTCWRIT | Synchronous Writes | DB2QSTWRIT | DEC | 19 | DB2DEC19V | ||||
QSTCAET | Time elapsed | DB2QSTAET | DEC | 16 | DB2DEC16 | ||||
QSTCSTLN | The length of the SQL Statement | DB2QSTSTLN | INT2 | 5 | INT2 | ||||
QSTCSTMT | Statement text | DB2QSTSTMT | CHAR | 255 | |||||
QW0316L1 | Length of program name | DB2QW316L1 | INT2 | 5 | INT2 | ||||
QW0316T1 | Program name | DB2QW316T1 | CHAR | 128 | CHAR128 | ||||
QW0316LX | Statement Line Number | DB2QW316LX | INT4 | 10 | DB2INT4 | ||||
QW0316L2 | Length of transaction name | DB2QW316L2 | INT2 | 5 | INT2 | ||||
QW0316T2 | Transaction name | DB2QW316T2 | CHAR | 32 | DB2CHAR32 | ||||
QW0316L3 | Length of user ID | DB2QW316L3 | INT2 | 5 | INT2 | ||||
QW0316T3 | User ID | DB2QW316T3 | CHAR | 128 | CHAR128 | ||||
QW0316X4 | User group | DB2QW316X4 | CHAR | 128 | CHAR128 | ||||
QW0316X5 | The value of QUALIFIER bind option | DB2QW316X5 | CHAR | 128 | CHAR128 | ||||
QW0316X6 | ISOLATION | DB2QW316X6 | CHAR | 3 | DB2CHAR03 | ||||
QW0316X7T | CURRENTDATA | DB2QW316X7 | CHAR | 3 | DB2CHAR03 | ||||
QW0316X8T | DYNAMICRULES | DB2QW316X8 | CHAR | 4 | DB2CHAR04 | ||||
QW0316X9T | CURRENT DEGREE | DB2QW316X9 | CHAR | 3 | DB2CHAR03 | ||||
QW0316XAT | CURRENT RULES | DB2QW316XA | CHAR | 3 | DB2CHAR03 | ||||
QW0316XBT | CURRENT PRECISION | DB2QW316XB | CHAR | 5 | DB2CHAR05 | ||||
QW0316XCT | WITH HOLD | DB2QW316XC | CHAR | 3 | DB2CHAR03 | ||||
QW0316TS | Timestamp: Begin of Statistics Collection | DB2QW316TS | DEC | 16 | DB2DEC16 | ||||
QW0316CT | Accumulated CPU Time | DB2QW316CT | DEC | 16 | DB2DEC16 | ||||
QW0316W1 | Accumulated Wait Time for Synchronous I/O | DB2QW316W1 | DEC | 16 | DB2DEC16 | ||||
QW0316W2 | Accumulated Wait Time for Lock and Latch Req. | DB2QW316W2 | DEC | 16 | DB2DEC16 | ||||
QW0316W3 | Accumulated Wait Time for Sync. Execution Unit Switch | DB2QW316W3 | DEC | 16 | DB2DEC16 | ||||
QW0316W4 | Accumulated Wait Time for Global Locks | DB2QW316W4 | DEC | 16 | DB2DEC16 | ||||
QW0316W5 | Accumulated Wait Time for Read Activity by Another Thread | DB2QW316W5 | DEC | 16 | DB2DEC16 | ||||
QW0316W6 | Accumulated Wait Time for Write Activity by Another Thread | DB2QW316W6 | DEC | 16 | DB2DEC16 | ||||
QW0316RT | RID List Not Used due to DB2 Limits Exceeded | DB2QW316RT | DEC | 19 | DB2DEC19V | ||||
QW0316RS | RID List Not Used due to Insufficient Storage | DB2QW316RS | DEC | 19 | DB2DEC19V | ||||
QW0316UI | SAP provided identification of SQL statements | DB2QW316UI | CHAR | 128 | CHAR128 | ||||
QW0316TD | Name of the table referenced in the statement | DB2QW316TD | CHAR | 128 | CHAR128 | ||||
BIND_RA_TOT | Number of rebinds that have been issued due to REOPT(AUTO) | 0 | |||||||
BIND_RO_TYPE | REOPT bind option valid for statement | 0 | |||||||
QW0317NM | SQL STATEMENT NAM | DB2W0317NM | CHAR | 16 | CHAR16 | ||||
QW0317ID | SQL STATEMENT IDENTIFIER | DB2W0317ID | INT4 | 10 | |||||
QW0317LN | THE LENGTH OF THE SQL STMT | DB2W0317LN | INT4 | 10 | |||||
QW0317TX | SQL statement text | DB2W0317TX | LCHR | 30720 | DB2C30K | ||||
QW03172LN | THE LENGTH OF THE SQL STMT | DB2W0317LN | INT4 | 10 | |||||
QW03172TX | Statement text | DB2QSTSTMT | CHAR | 255 |
Key field | Non-key field |
How do I retrieve data from SAP structure DB2QTHDDSC using ABAP code?
As DB2QTHDDSC 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 DB2QTHDDSC as there is no data to select.How to access SAP table DB2QTHDDSC
Within an ECC or HANA version of SAP you can also view further information about DB2QTHDDSC 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