View previous topic :: View next topic
|
Author |
Message |
CHIRANJEEVI GUTHULA
New User
Joined: 22 Mar 2006 Posts: 9 Location: HYDERABAD
|
|
|
|
Hi All,
I am trying to execute a query thru QMF and JCL, and i get these error messages i cant figure out exactly what is happening. the query is working in test region. these are the error messages:
QUERY MESSAGES:
Unsuccessful execution because DB2 resource limit was exceeded. Resource name =
ASUTIME, limit = 000000000604.
QUERY MESSAGES:
Unsuccessful execution caused by an unavailable resource. Reason code
00C90084, type of resource 00000230, and resource name 4K.
Could any one help on this
Regards,
Chiru |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hey,
I think this is because of time exceed... Can u try to fetch only first 10 rows...or so
correction r welcome |
|
Back to top |
|
|
CHIRANJEEVI GUTHULA
New User
Joined: 22 Mar 2006 Posts: 9 Location: HYDERABAD
|
|
|
|
Ya I will try that, but I tried to execute it thru the JCL giving Maximum Time Limit but still the Error message is the same. |
|
Back to top |
|
|
CHIRANJEEVI GUTHULA
New User
Joined: 22 Mar 2006 Posts: 9 Location: HYDERABAD
|
|
|
|
Many Thanks
The query is working for the first 1000 records fetched. But still I want to know why its not working in the production region as i want all the records that are satisfying the selection criteria. |
|
Back to top |
|
|
ragshere
New User
Joined: 20 Dec 2004 Posts: 70
|
|
|
|
Hi,
You are getting the first message because the DB2 CPU limit which was allocated by DB2 governer to you is exceeded...changing the time limit in the JCL will not solve your problem..You need to tune the query such that it will run in your allocated CPU limit..otherwise contact your DBA to make the query run...
Second error is different case..and I have very less idea about it...
Regards
Rags |
|
Back to top |
|
|
anamikak
New User
Joined: 10 May 2006 Posts: 64 Location: Singapore
|
|
|
|
So you got -905 followed by the message that you have mentioned. You did not mention as to what was your limit source. The limit source could be from SYSIBM.SYSROUTINES or from SYSIBM.DSNRLST01 . In either case you can set this ASUTIME field to a high value. Say if it is 50000 currently, try increasing it to 200000 service units. But if that is not acceptable , then you should try and fetch say 1000 rows or smaller at a time. This can be acheived by using SQL feature optimize for n rows.
Anamika |
|
Back to top |
|
|
CHIRANJEEVI GUTHULA
New User
Joined: 22 Mar 2006 Posts: 9 Location: HYDERABAD
|
|
|
|
Hi
I dont know how to set the ASUTIME limit. Could you please explain it briefly.
Chiru |
|
Back to top |
|
|
|