Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 display the sign only if the value is... useit DFSORT/ICETOOL 3 Wed Oct 04, 2017 5:53 pm
No new posts Binary to display characters Roy Ware SYNCSORT 3 Tue Sep 19, 2017 8:46 pm
No new posts DB2 NULL Values display V S Amarendra Reddy DB2 3 Thu Sep 07, 2017 6:59 pm
No new posts Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm
No new posts Display upon console bipinpeter COBOL Programming 1 Thu Jun 22, 2017 12:35 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us