Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

DB2 Query failing due to ASUTIME Limit.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
chandraBE

New User


Joined: 02 Feb 2010
Posts: 40
Location: Bangalore

PostPosted: Tue Aug 16, 2011 2:52 pm    Post subject: DB2 Query failing due to ASUTIME Limit.
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: 1013
Location: India

PostPosted: Tue Aug 16, 2011 2:59 pm    Post subject:
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: 40
Location: Bangalore

PostPosted: Tue Aug 16, 2011 3:14 pm    Post subject:
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: 1013
Location: India

PostPosted: Tue Aug 16, 2011 3:32 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Join in SQL Query vickey_dw DB2 2 Tue Jan 17, 2017 12:15 am
This topic is locked: you cannot edit posts or make replies. MQ setup query mohitsaini Java & MQSeries 4 Sun Jan 08, 2017 1:53 am
No new posts DB2 query Using Recursion, Converting... smilewithashu2 DB2 1 Tue Jan 03, 2017 12:50 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us