View previous topic :: View next topic |
Author |
Message |
mainhead Beginner
Joined: 07 Feb 2006 Posts: 26 Topics: 11
|
Posted: Mon Feb 13, 2006 12:14 pm Post subject: Online abend u0240 |
|
|
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 |
|
 |
Bithead Advanced

Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Mon Feb 13, 2006 12:55 pm Post subject: |
|
|
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 |
|
 |
|
|