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 

Why I am getting -913 instead of -911?

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


Joined: 17 Dec 2002
Posts: 29
Topics: 6

PostPosted: Fri Feb 28, 2003 9:33 am    Post subject: Why I am getting -913 instead of -911? Reply with quote

Hi All,
Good Morning..

In our application we are getting -913(Deadlock with no rollback) for any contentions. Because of this some transactions are committing. How we can get -911's(Deadlock with rollback) instead of -913's?

Any Help is Appreciated..

Thanks,
Prasad
Back to top
View user's profile Send private message
Himesh
CICS Forum Moderator
CICS Forum Moderator


Joined: 20 Dec 2002
Posts: 80
Topics: 21
Location: Chicago

PostPosted: Fri Feb 28, 2003 9:44 am    Post subject: Reply with quote

Hi Prasad,

The link is self explanatory.
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNAPH11/4.2.2.3?SHELF=&DT=20010710165542


regards,
Himesh
Back to top
View user's profile Send private message Yahoo Messenger
gotluru
Beginner


Joined: 17 Dec 2002
Posts: 29
Topics: 6

PostPosted: Fri Feb 28, 2003 9:48 am    Post subject: Reply with quote

Hi Himesh,

Thanks for your quick response..

I know why we are getting dead locks. Problem with -913, when dead lock occurs at 4 th sql first 3 sql's are committing(cobol/db2). We need system to be it's initial state after deadlock also.

Prasad
Back to top
View user's profile Send private message
vallishar
Beginner


Joined: 17 Dec 2002
Posts: 53
Topics: 14
Location: BengaLuru

PostPosted: Fri Feb 28, 2003 10:52 am    Post subject: Reply with quote

Prasad,

Quote:

If you are using CICS and a deadlock occurs, the CICS attachment
facility decides whether or not to roll back one of the application
processes, based on the value of the ROLBE or ROLBI parameter. If your
application process is chosen for rollback, it receives one of two
SQLCODEs in the SQLCA:


Did u check the ROLBE/ROLBI parameter of the transaction ?
_________________
If you're not failing every now and again, it's a sign you're not doing anything very innovative.
Back to top
View user's profile Send private message Yahoo Messenger
gotluru
Beginner


Joined: 17 Dec 2002
Posts: 29
Topics: 6

PostPosted: Fri Feb 28, 2003 11:32 am    Post subject: Reply with quote

Hi Vallish,

Thanks for your response. I think rolbe/rolbi are specific to cics transactions. In this case db2 is trying to rollback to initial state(-911) and when it fails it is going for -913's.

My question is how i can force always -911's in this kind of situvations?

Prasad
Back to top
View user's profile Send private message
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