You can use the unit of work event monitor to collect data about transactions that can be used for chargeback purposes. After the transaction event data has been collected in an unreadable form in an unformatted event table, this task describes how to obtain a readable text report.
This task provides instructions for collecting unit of work event data for a given workload.
Restrictions
Input data values are not viewable if you do not have SYSADM or SYSCTRL authority.
To collect detailed information regarding unit of work events, perform the following steps:
-------------------------------------------------------
Event ID : 1
Event Type : UOW
Event Timestamp : 2008-10-31-13.29.04.130849
Member of detection : 0
-------------------------------------------------------
Database Level Details
----------------------
Member Activation Time : 2008-10-31T13:28:48.538973
Coordinator Member : 0
Connection Level Details
------------------------
Application ID : *LOCAL.gstager.081031172848
Application Handle : 20
Application Name : db2bp
Session Authorization ID : GSTAGER
System Authorization ID : GSTAGER
Connection Timestamp : 2008-10-31T13:28:48.538973
Client Process ID : 28167
Client Platform : 30
Client Product ID : SQL09070
Client Hostname : gilera
Client Port Number : 30143
UOW Level Details
------------------------
Start Time : 2008-10-31T13:28:51.560138
Stop Time : 2008-10-31T13:29:04.130849
Completion Status : COMMIT
UOW ID : 5
Workoad Occurrence ID : 1
Workload Name : SYSDEFAULTUSERWORKLOAD
Workoad ID : 1
Client userid :
Client Workstation Name :
Client Application Name :
Client Accounting String :
Local Transaction ID : 00000000000000EB
Global Transaction ID : 0000000000000000000000000000000000000000
Log Space Used : 0
UOW Metrics
------------------------
TOTAL_CPU_TIME : 7459
TOTAL_WAIT_TIME : 0
ACT_ABORTED_TOTAL : 0
...