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

DB2 Threads


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

New User


Joined: 22 Feb 2006
Posts: 46
Location: Pune

PostPosted: Tue Jun 06, 2006 9:27 pm
Reply with quote

Do we have any thing in DB2 by which we can find the list of threads on a subsytem.

I am interested in a list where in I can have details of tables being accessed by various programs.

Please let me know if you need more about my requirement.

~Gurmeet
Back to top
View user's profile Send private message
Gurmeet

New User


Joined: 22 Feb 2006
Posts: 46
Location: Pune

PostPosted: Tue Jun 06, 2006 9:30 pm
Reply with quote

Reposting with some changes:

Do we have any thing in DB2 by which we can find the list of threads on a subsytem.

I am interested in a list where in I can have details of all the tables being accessed by various programs or online users. I am looking for this info to find out any potential faults coming because of deadlocks.

Please let me know if you need more information about my requirement.

~Gurmeet
Back to top
View user's profile Send private message
anamikak

New User


Joined: 10 May 2006
Posts: 64
Location: Singapore

PostPosted: Wed Jun 07, 2006 11:52 am
Reply with quote

You can probably try work load analysis for your Db2 subsystem using BMC apptune provided BMC is supported in your installation.
Back to top
View user's profile Send private message
anamikak

New User


Joined: 10 May 2006
Posts: 64
Location: Singapore

PostPosted: Wed Jun 07, 2006 11:57 am
Reply with quote

For online transaction in CICS you can use the command DSNC DISPLAY STATISTICS provided you have appropriate levels of CICS authority.
Back to top
View user's profile Send private message
Gurmeet

New User


Joined: 22 Feb 2006
Posts: 46
Location: Pune

PostPosted: Wed Jun 21, 2006 8:19 pm
Reply with quote

Thanks Anamika,

FYI, I also got the following command, which helped me in achieving the required.

-DIS DATABASE(DBNAME) SPACENAM(TSNAME) LOCKS

I was getting deadlocks for a particular table and tried to find out which applications are accessing that table on a given time.

The above command gave the required details.

~Gurmeet
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 Error with opening new threads General Talk & Fun Stuff 0
No new posts How to Display the Active Threads aga... DB2 3
No new posts DB2 WLM - Hanging threads DB2 1
No new posts 3 threads of ProgA simultaneously XCT... CICS 1
No new posts How can we get the number of running ... CICS 4
Search our Forums:

Back to Top