IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

DB2 Query failing due to ASUTIME Limit.


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chandraBE

New User


Joined: 02 Feb 2010
Posts: 44
Location: Bangalore

PostPosted: Tue Aug 16, 2011 2:52 pm
Reply with quote

Hi,

The below Query was running fine in production from long time but today after DB2 Version 10 upgrade this giving SQLCODE = -905 for the RESOURCE NAME = ASUTIME.

Query:

DELETE FROM AAAA.TABLENAME POS
WHERE POS.IDNUMBER IN
(SELECT ALT.IDNUMBER FROM AAAA.TABLES2 ALT
WHERE ALT.CD_SYS = 'ABC')

Error LOG:

SQLERROR ON DELETE COMMAND, EXECUTE FUNCTION
RESULT OF SQL STATEMENT:
DSNT408I SQLCODE = -905, ERROR: UNSUCCESSFUL EXECUTION DUE TO RESOURCE LIMIT BEING EXCEEDED, RESOURCE NAME = ASUTIME LIMIT
= 000000000098 CPU SECONDS (000005000000 SERVICE UNITS) DERIVED FROM SYSIBM.DSNRLST01
DSNT418I SQLSTATE = 57014 SQLSTATE RETURN CODE
DSNT415I SQLERRP = DSNXRRC SQL PROCEDURE DETECTING ERROR
DSNT416I SQLERRD = 106 13172746 0 13820889 -1041948638 12714050 SQL DIAGNOSTIC INFORMATION
DSNT416I SQLERRD = X'0000006A' X'00C9000A' X'00000000' X'00D2E3D9' X'C1E52022' X'00C20042' SQL DIAGNOSTIC
INFORMATION

Can you anyone help me to resolve this issue on ASUTIME?.

Regards,
Chandra
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Tue Aug 16, 2011 2:59 pm
Reply with quote

Chandra,

Quote:
Can you anyone help me to resolve this issue on ASUTIME?
You need to discuss that with your DBA because that will be a setting change, that will impact other queries running in your sub-system.

How was the upgrade done? Is it a jump from 8->10 or 9->10 ?

Do an explain and find out how much the query is currently taking after the upgrade ?

Thanks,
Sushanth
Back to top
View user's profile Send private message
chandraBE

New User


Joined: 02 Feb 2010
Posts: 44
Location: Bangalore

PostPosted: Tue Aug 16, 2011 3:14 pm
Reply with quote

Hi Sushanth,

Thanks for the Quick reply.

Its direct upgrade from DB2 version 8 to version 10.

I had ran an explain but dont see any difference. Can you help to understand how do we find the how much the ASUTIME required for the query?.

Thanks and Regards,
Chandra
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Tue Aug 16, 2011 3:32 pm
Reply with quote

chandra,

After running an EXPLAIN you should check the DSN_STATEMNT_TABLE for the service units.

Bring this issue to your DBA's attention, he/she might have changed the limits during the migration.

Thanks,
Sushanth
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts RC query -Time column CA Products 3
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts Issue with EXEC CICS QUERY SECURITY c... CICS 6
Search our Forums:

Back to Top