MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to Find the progam and job names involved in deadlock.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
vjkumk
Beginner


Joined: 28 Sep 2005
Posts: 98
Topics: 33

PostPosted: Sat Sep 09, 2006 8:34 am    Post subject: how to Find the progam and job names involved in deadlock. Reply with quote

I am a Beginner in mainframes.

Before posting my question,
I saw some topics, about deadlock and how it occurs, in your forum. like
-911(with rollback and deadlock) and -913(deadlock and without rollback).


My question is,

Suppose two or more programs or jobs which access the same table for update or delete and results in deadlock,how to find the program name and job name which are currently causing(Involved) the deadlock.

Appreciate your help.


VJ
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Sat Sep 09, 2006 11:36 am    Post subject: Reply with quote

Quote:

Suppose two or more programs or jobs which access the same table for update or delete and results in deadlock,how to find the program name and job name which are currently causing(Involved) the deadlock.


vjkumk,

Search for DSNT375I messages in system log (sdfsf - option log). It displays all the pgms involved in deadlocks. Most shops have seperate jobs to extract this information to a seperate dataset.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vjkumk
Beginner


Joined: 28 Sep 2005
Posts: 98
Topics: 33

PostPosted: Sat Sep 09, 2006 10:05 pm    Post subject: Reply with quote

Kolusu,thanks for the information

Quote:

Most shops have seperate jobs to extract this information to a seperate dataset.


Do we have any sample jobs in our forum ?Please let me know.
I am really eager to see how the coding is done for the job which gets this information.


Do we have any separate IBM utility to get this information,so that we can use it in JCL ?

thanks,
VJ
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Sun Sep 10, 2006 12:46 pm    Post subject: Reply with quote

Quote:

Do we have any sample jobs in our forum ?Please let me know.
I am really eager to see how the coding is done for the job which gets this information.

vjkumk,

This is quite simple. SORT/File-aid/Rexx can be used to extract the information from the log files. Start reading from this post onwards and you will see how you can extract the data using sort

http://www.mvsforums.com/helpboards/viewtopic.php?p=28504#28504

Quote:

Do we have any separate IBM utility to get this information,so that we can use it in JCL ?


IBM has DB2 Performance Monitor ADD on tool for this reporting purpose. Check this link for info on it

http://www-306.ibm.com/software/data/db2imstools/db2tools/db2pm/index.html

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group