Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to set ASUTIME limit

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: How to set ASUTIME limit
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10309
Location: italy

PostPosted: Wed Apr 01, 2009 10:27 pm    Post subject: Reply to: facing -905 error
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    Post subject: Reply to: How to set ASUTIME limit
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    Post subject:
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

Site Director


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

PostPosted: Thu Apr 09, 2009 12:51 am    Post subject:
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    Post subject:
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    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
This topic is locked: you cannot edit posts or make replies. Limit access to certain RACF group cvnlynn CLIST & REXX 5 Wed Aug 23, 2017 2:28 am
No new posts Can we limit length in concatenation ... balaji81_k DB2 7 Tue Aug 22, 2017 2:50 am
No new posts setting new limit Key values for inde... srilata83 DB2 1 Fri Feb 10, 2017 9:24 pm
No new posts Limit CICS CPU resource vasanthz CICS 0 Tue Jan 31, 2017 7:09 am
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us