View previous topic :: View next topic
|
Author |
Message |
mailsaurabh.tripathi
New User
Joined: 22 May 2008 Posts: 56 Location: hyderabad
|
|
|
|
What are the steps to be followed to get rid off from -911 and -904 |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hello Saurabh,
-904 :UNSUCCESSFUL EXECUTION CAUSED BY AN UNAVAILABLE RESOURCE.
The sql stmt can not be executed since resource not available .Message will show you resource name just check the resource avaiablity.
1)It can be because tablespace/ IX dataset are migrated ..in that case recall them & then try again
2) May be tablespace are not in RW mode check with ur DBA's
-911:THE CURRENT UNIT OF WORK HAS BEEN ROLLED BACK DUE TO DEADLOCK OR TIMEOUT. REASON reason-code, TYPE OF RESOURCE resource-type, AND RESOURCE NAME resource-name
o 00C90088 - deadlock
o 00C9008E - timeout
Check whether you have any indoubt thread running just abort them & try again |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
What are the steps to be followed to get rid off from -911 and -904
|
Change the design of the code or change when the processes are scheduled. |
|
Back to top |
|
|
Cristopher
New User
Joined: 31 Jul 2008 Posts: 53 Location: NY
|
|
|
|
Saurabh,
You can go through the attached document.
Hopefully, it will help you in clearing some of your doubts.
Cris |
|
Back to top |
|
|
dineshpost
New User
Joined: 06 Nov 2008 Posts: 2 Location: India - Chennai
|
|
|
|
For -904.....
Check with DBA if the id has the more RLF limits. There are chances for timeouts if the id does have enough RLF limits. It is good to check with DBA to increase the RLF limits to avoid resource unavailable status. |
|
Back to top |
|
|
Shriram Jogdand
New User
Joined: 14 Oct 2008 Posts: 65 Location: Pune
|
|
|
|
I also faced the same problem some time back. You can resolve this issue by changing the ISOLATION LEVEL. While binding the plan/package, keep the Isolation level as CS i.e. cursor stability. |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
Sometimes a -904 can be caused by not committing often enough. Of course, it depends on the resource type. Several things cause a -904. |
|
Back to top |
|
|
|