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
Define check constraint.
How to connect to db2 database from windows command line?
How can you quickly find out the # of rows updated after an update statement?
What does db2 mean?
Mention the definition of cobol in varchar field.
What is reorg?
What is cascading rollback?
What are the different types of base tables?
How is deadlock resolved?
How to retrieve rows from a db2 table in embedded sql?
What is null value in db2?
What is image copy in db2?
How can tablespace be moved to another dasd volume that is allocated for that tablespace?
What is the difference between db2 and oracle?
can any one provide me the link for the db2 v7 & db2 v8 manual for Z/os? i need to know about the syntax of REORG in both versions & need to know the difference as well