MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Online abend u0240

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
mainhead
Beginner


Joined: 07 Feb 2006
Posts: 26
Topics: 11

PostPosted: Mon Feb 13, 2006 12:14 pm    Post subject: Online abend u0240 Reply with quote

Hi ,

My program is of ims db/dc , where user makes online abend of this online screen comes out with u0240 error code

Explanation: A message processing application program exceeded the
allowable execution time (set at IMS system definition) in a message
processing region. In the case of a BMP, this abend indicates that the
value specified in "CPUTIME=" has been exceeded.

I Have seen this abend many times due to user makes some modification and like to prevent this abend in future Please let me know how it caused (No user responce) and how to protect

your advice is highly valuble.


Thanks,
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Mon Feb 13, 2006 12:55 pm    Post subject: Reply with quote

The program is taking longer to run than the definition allows. This could be because the program is looping. One fix is to increase the time limit on the transaction but this is not recommended.

If the program is using DB2, then make sure that all the appropriate RUNSTATS have been performed on all tables, both direct and indirect (by referential integrity and triggers). Note that the program will need to be rebound after any RUNSTATS.

If you are still running into problems, compare test and production data.

There is no way to handle a u0240 abend in the program. The abend is called from IMS.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group