how to u check the query is executing or not ?where will u check for sqlcode ?

Answer Posted / arun

If you want to check from DBA point of view.

I would suggest if the query is taking longer time you can
use any of the tools like detector and check how long the
query is running and how much cpu has been allocated to
this thread and how many get pages has been done how many
rows has been selected or inserted or updated.

We have tools to know the current status of the query.


If the query is simple and completes quickly SQL RC = 0 is
for the normal completion of the query

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does reorg do in db2?

776


What are packages in db2?

784


Mention the length of physical storage of the given data types of db2 – date, timestamp, time

827


What is access path in db2?

731


What is the use of dclgen in db2?

796


What os does db2 run on?

750


What is an instance in db2?

761


Explain about rct in db2?

868


What is a storage group (stogroup)?

988


What is runstats utility in db2?

759


What is performance tuning db2?

834


Mention the definition of cobol in varchar field.

891


What is data manager?

802


What is meant by explain?

853


How do you find the maximum value in a column in db2?

840