This monitor element is a unique routine identifier. It returns zero if the activity is not part of a routine.
Table Function | Monitor Element Collection Command and Level |
---|---|
MON_GET_ACTIVITY_DETAILS table function - Get complete activity details (reported in DETAILS XML document) | Always collected |
Event Type | Logical Data Grouping | Monitor Switch |
---|---|---|
Activities | event_activitystmt | - |
Unit of work | Reported in the package list. | - |
The value of this element matches a value from column ROUTINEID of view SYSCAT.ROUTINES. When the activity is part of a routine declared within another SQL PL routine, the value of this element is the ROUTINEID of the outer routine.