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 Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Omegamon for DB2 query ashek15 DB2 0 Wed Feb 15, 2017 11:25 am
No new posts Query on DB2 WLM stored procedures ashek15 DB2 8 Sun Feb 12, 2017 11:13 pm


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