Page 1 of 1

Difference between 904 and 911

PostPosted: Tue Jan 08, 2013 5:45 pm
by fornanthakumar
Hi Everyone,

Complements of the new season.Happy Always.

Could anyone please tell me exactly when 904 and 911 happen ? because when resource is waiting for other resource it may abend in 904 (resource unavailable because other resource using it) and 911 (timeout because it has been waiting enough).

Please clarify.

Re: Difference between 904 and 911

PostPosted: Tue Jan 08, 2013 5:58 pm
by tivrfoa
Just guessing ...
Maybe 904 can happen if the user doesn't has sufficient privilege or the resource was moved, deleted ...
904 gives you the reason code and type of resource that may be useful.

But are you asking only for curiosity? Did you get one error and think the other one is more appropriate?

Re: Difference between 904 and 911

PostPosted: Tue Jan 08, 2013 6:08 pm
by tivrfoa
fornanthakumar wrote:Could anyone please tell me exactly when 904 and 911 happen ? because when resource is waiting for other resource it may abend in 904 (resource unavailable because other resource using it) and 911 (timeout because it has been waiting enough).

where did you get these definitions?
-904 (resource unavailable because other resource using it)
-911 (timeout because it has been waiting enough)

Other guess: I think that 904 happens if it can't find the resource. And 911 the resource exists, but it's not available.

Re: Difference between 904 and 911

PostPosted: Tue Jan 08, 2013 7:09 pm
by enrico-sorichetti
why not look at the manual Yourself,
no reason for anybody to rewrite what is clearly explained there

Re: Difference between 904 and 911

PostPosted: Tue Jan 08, 2013 7:14 pm
by BillyBoyo
It's an old joke, but the answer is seven.

Re: Difference between 904 and 911

PostPosted: Tue Jan 08, 2013 10:48 pm
by dick scherrer
Hello,

Could anyone please tell me exactly when 904 and 911 happen ?
Your posted "causes" for these codes is incorrect.
A -904 is because of an unavailable resource.
A -911 is due to a deadlock or a timeout (these are not the same).

Complete explanations are available via the "IBM Manuals" link at the top and bottom ofthe page. You need to look in the "DB2 ... Messages and Codes" for your release of DB2 (if your exact release is not in the list, use one slightly newer or older).