DB2LOCKESCPROC SAP (DB2 for z/OS: Postprocessed lock escalations (IFCID 337)) Structure details
Description: DB2 for z/OS: Postprocessed lock escalations (IFCID 337)
Related tables to DB2LOCKESCPROC
Access table DB2LOCKESCPROC
Structure field list including key, data, relationships and ABAP select examples
DB2LOCKESCPROC 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 "DB2 for z/OS: Postprocessed lock escalations (IFCID 337)" 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_DB2LOCKESCPROC TYPE DB2LOCKESCPROC.
The DB2LOCKESCPROC table consists of various fields, each holding specific information or linking keys about DB2 for z/OS: Postprocessed lock escalations (IFCID 337) data available in SAP. These include LOCKMEMN (DB2 member name in data sharing environment), SSID (DB2 subsystem ID), LOCKDATE (Field of type DATS), LOCKTIME (Field of type TIMS).. 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 DB2LOCKESCPROC 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 |
LOCKMEMN | DB2 member name in data sharing environment | DB2MEMN | CHAR | 8 | DB2CHAR08 | ||||
SSID | DB2 subsystem ID | DB2SWPSSID | CHAR | 4 | DB2CHAR04 | ||||
LOCKDATE | Field of type DATS | DATS | DATS | 8 | DATS | ||||
LOCKTIME | Field of type TIMS | TIMS | TIMS | 6 | TIME | ||||
LOCKMSEC | Event time stamp (milliseconds) | DB2EVTTMS | CHAR | 6 | DB2CHAR06 | ||||
DBNAME | Database name | DB2DBNAME | CHAR | 8 | D2DBNAME | ||||
TSNAME | Name of the tablespace | DB2TSNAME | CHAR | 8 | CHAR8 | ||||
QWO337LS | The mode of the lock held on the resource | DB2LOCKMS | CHAR | 3 | DB2CHAR03 | ||||
QW0337LL | Type of lower level lock used (page, row or LOB lock) | 0 | |||||||
QW0337LH | # of lower level locks held and released by escalation | 0 | |||||||
QW0337SN | Statement ID | DB2QSTTOKN | INT4 | 10 | DB2INT4 | ||||
QW0337ST | Statement ID | DB2QSTTOKN | INT4 | 10 | DB2INT4 | ||||
QW0337CI | Collection ID | 0 | |||||||
QW0337PK | DB2 package name | 0 | |||||||
THDEUWN | DB2EUWN | CHAR | 18 | DB2CHAR18 | |||||
THDEUTX | DB2EUTX | CHAR | 32 | CHAR32 | |||||
QMDASUFX | DB2 accounting string | 0 | |||||||
QMDAPLAT | Client application platform from DB2's perspective | 0 | |||||||
QWHDRQNM | Client IP address from DB2's perspective | 0 | |||||||
QWHCEUID | Client enduser ID from DB2's perspective | 0 | |||||||
CORRID | The correlation ID of the thread (IP address) | DB2WHCCV | CHAR | 16 | DB2CHAR16 | ||||
CONNID | The connection ID of the thread | DB2WHCCN | CHAR | 8 | DB2CHAR08 | ||||
LOCKDSGN | DB2/390: Data sharing group | DB2DSGN | CHAR | 8 | DB2CHAR08 | ||||
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 | ||||
CONNNAME | Database connection name | 0 | |||||||
SAPSID | SAP system ID (SAPSID) | 0 | |||||||
ABAPREP | ABAP Program: Current Main Program | SYREPID | CHAR | 40 | Assigned to domain | PROGRAMM | |||
TXCODE | SAP transaction code | 0 | |||||||
ENDUSER | SAP end-user ID | 0 | |||||||
J2EESERV | J2EE service type | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure DB2LOCKESCPROC using ABAP code?
As DB2LOCKESCPROC 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 DB2LOCKESCPROC as there is no data to select.How to access SAP table DB2LOCKESCPROC
Within an ECC or HANA version of SAP you can also view further information about DB2LOCKESCPROC 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