IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to Display the Active Threads against a Tablespace?


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
aviswam

New User


Joined: 17 Mar 2009
Posts: 9
Location: India

PostPosted: Wed Oct 03, 2012 1:05 pm
Reply with quote

Hi,

Is there any command to see the active Threads against a Tablespace ?
Just like -DIS THD (*)

I am having DB2 version 9 in ZOS, when a program or query is executed i would like to see the active thread details in DB2 tablespace.

Thanks,
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Wed Oct 03, 2012 1:38 pm
Reply with quote

If you have a system monitoring tool like BMC MainView for DB2, you can see all the activities.

Perhaps, you can try the below options as well.
Code:
-DIS DB(dbname) SPACENAM(tsname) CLAIMERS
-DIS DB(dbname) SPACENAM(tsname) LOCKS
-DIS DB(dbname) SPACENAM(tsname) USE
Back to top
View user's profile Send private message
aviswam

New User


Joined: 17 Mar 2009
Posts: 9
Location: India

PostPosted: Wed Oct 03, 2012 3:35 pm
Reply with quote

Gnanas,

I tried
Code:
      - DIS DB(DBNAME) TS(TSNAME) CLAIMERS
Is the Agent Token no and the Thread Token No the same?,
Could you please confirm.


Thanks,
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Wed Oct 03, 2012 6:43 pm
Reply with quote

Here is the link about DISPLAY DATABASE.

publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=%2Fcom.ibm.db2z9.doc.comref%2Fsrc%2Ftpc%2Fdb2z_cmd_displaydatabase.htm
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Inserting into table while open selec... DB2 1
No new posts force tablespace using LISTDEF input DB2 1
No new posts How to display the leading zeros of a... DB2 7
No new posts Determining Active VM Directory All Other Mainframe Topics 0
No new posts SDSF display Max-RC in different colors TSO/ISPF 4
Search our Forums:

Back to Top