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

How to set ASUTIME limit


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

New User


Joined: 05 Dec 2007
Posts: 29
Location: Bangalore

PostPosted: Wed Apr 01, 2009 10:22 pm
Reply with quote

Hi ,

I saw in QMF Error messages

Even I am facing same -905 error and I am very new to DB2.

Could anybody suggest me how to set or increase the ASUTIME limit ?

Thanks in advance.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Apr 01, 2009 10:27 pm
Reply with quote

work it out with Your support
Back to top
View user's profile Send private message
ajeshrn

New User


Joined: 25 Mar 2009
Posts: 78
Location: India

PostPosted: Wed Apr 08, 2009 5:53 pm
Reply with quote

CREATE PROCEDURE SYSPROC.application (
IN TABLE_NAME CHAR(10),
OUT REC_COUNT INT
)
ASUTIME LIMIT 500000
LANGUAGE COBOL
COLLID collection_id
EXTERNAL NAME application

through asutime limit parameter in the above query we can change the time
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Wed Apr 08, 2009 8:54 pm
Reply with quote

As Enrico says, consult with your DB support folks before blindly going ahead. They may have something to say about that modification.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Apr 09, 2009 12:51 am
Reply with quote

Hello,

One way this is prevented in well-run shops is that stored procedures must be signed off by the dba - which prevents sneaking something in that will use an unacceptable amount of resource.

IMHO, it depends on if the process needs more time because of the amount of real work it does rather than being inefficiently implemented. Better to improve a poor process once than to run it "forever" wasting resources.

This often happens when a "simplest for the programmer" solution is used rather than a proper solution.

It is far more important to learn to implement good code than to learn to get around safeguards. . .
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Thu Apr 09, 2009 6:52 am
Reply with quote

"It is far more important to learn to implement good code than to learn to get around safeguards. . ."
Totally agree.
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 Expand ISPF field up to a limit - is ... TSO/ISPF 9
No new posts Rexx to list generations of GDGs and ... CLIST & REXX 3
No new posts Any limit on usage of cursors ? DB2 1
This topic is locked: you cannot edit posts or make replies. Removing duplicate record based on th... DFSORT/ICETOOL 4
No new posts SDSF limit access to specifc output c... All Other Mainframe Topics 1
Search our Forums:

Back to Top