Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to Display the Active Threads against a Tablespace?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: How to Display the Active Threads against a Tablespace?
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: 788
Location: Chennai, India

PostPosted: Wed Oct 03, 2012 1:38 pm    Post subject:
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    Post subject: Reply to: How to Display the Active Threads against a Tables
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: 788
Location: Chennai, India

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

Here is the link about DISPLAY DATABASE.

http://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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Display FTP Session Count within TSO Yolanda Harvey TSO/ISPF 3 Fri Mar 10, 2017 10:31 pm
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts Display ZEDLMSG without Pressing F1 &... anandgbe CLIST & REXX 8 Thu Dec 15, 2016 4:20 pm
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us