You can verify the performance of an SQL application by using the following commands:
Also, a query which is canceled because of the query time limit creates performance information messages in the job log, even if the job is not in debug. For information restricting query runtime using this command, see "Control long-running queries with the DB2 UDB for AS/400 Predictive Query Governor".
You can also use DSPJOB with the OPTION(*JOBLCK) parameter to analyze object and row lock contention. It displays the objects and rows that are locked and the name of the job holding the lock.
Specify the OPTION(*CMTCTL) parameter on the DSPJOB command to show the isolation level that the program is running, the number of rows being locked during a transaction, and the pending DDL functions. The isolation level displayed is the default isolation level. The actual isolation level, used for any SQL program, is specified on the COMMIT parameter of the CRTSQLxxx command.