473,387 Members | 1,572 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to Find which SQL Statement is executing

Hi,

How can we find which SQL statement is executing when "list application
show detail" shows "UOW Executing" against an application.

This topic was touched upon earlier by one of the member. That time
responses were to use SNAPSHOT Monitor and a tool called db2top which
is still under development.

I have tried "get snapshot for application applid <appid>" with UOW
Monitor ON but I did not get what statement is executing.

Anyone knows how to get it..

Regards,
Divakar

Sep 29 '06 #1
2 5191
"Divakar" <di*********@gmail.comwrote in message
news:11*********************@c28g2000cwb.googlegro ups.com...
Hi,

How can we find which SQL statement is executing when "list application
show detail" shows "UOW Executing" against an application.

This topic was touched upon earlier by one of the member. That time
responses were to use SNAPSHOT Monitor and a tool called db2top which
is still under development.

I have tried "get snapshot for application applid <appid>" with UOW
Monitor ON but I did not get what statement is executing.

Anyone knows how to get it..

Regards,
Divakar
Did you turn the statement monitor on?
Sep 29 '06 #2
Hi Mark,

Thanks for reminding. I had forgotten about it.
Turned it STATEMENT on and now I can see the SQL Statement as well :)

Divakar

Mark A wrote:
"Divakar" <di*********@gmail.comwrote in message
news:11*********************@c28g2000cwb.googlegro ups.com...
Hi,

How can we find which SQL statement is executing when "list application
show detail" shows "UOW Executing" against an application.

This topic was touched upon earlier by one of the member. That time
responses were to use SNAPSHOT Monitor and a tool called db2top which
is still under development.

I have tried "get snapshot for application applid <appid>" with UOW
Monitor ON but I did not get what statement is executing.

Anyone knows how to get it..

Regards,
Divakar

Did you turn the statement monitor on?
Sep 29 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Nilesh | last post by:
The problem i am facing is described as below: I have one client application which execute some stored procedure using SqlExecDirect and just after executing the statement if connection with...
1
by: Miles | last post by:
I recently discovered that some one (or application) updated all the rows in the database. Looks like a query was missing a where clause. It was probably one of the applications, but reviews of...
15
by: Nerox | last post by:
Hi, If i write: #include <stdio.h> int foo(int); int main(void){ int a = 3; foo(a); }
7
by: Sunny | last post by:
Hi, I can not understend completely the lock statement. Actally what is locked: 1. the part of the code between {...} or 2. the object in lock() In the docs is written: for 1: The lock...
10
by: Mike | last post by:
I know this sounds strange but I am at a loss. I am calling a simple funtion that opens a connection to a SQL Server 2000 database and executes an Insert Statement. private void...
37
by: Steven Bethard | last post by:
The PEP below should be mostly self explanatory. I'll try to keep the most updated versions available at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt...
18
by: Steven Bethard | last post by:
I've updated the PEP based on a number of comments on comp.lang.python. The most updated versions are still at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt...
28
by: Steven Bethard | last post by:
Ok, I finally have a PEP number. Here's the most updated version of the "make" statement PEP. I'll be posting it shortly to python-dev. Thanks again for the previous discussion and suggestions!...
3
by: DontB3 | last post by:
Hi, I'm new in this forum, and i hope someone can help. I'm creating an automatic application that transfer a database from Access -> DBF -> Oracle. When My App try to execute Insert SQL...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.