No recovery is possible. D-ump the job
The program did a calculation which produced a result that is bigger than the variable
Either there was bad data or the program needs to be changed to provide a larger variable.
If you have the source you can see which statement was in error.
The dump will provide the values of all variables at the time of the error.
Last Wiki Answer Submitted: October 3, 2008 1:08 pm by philpl1jb44,130 pts.
All Answer Wiki Contributors: philpl1jb44,130 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
I avoid this error in my logic. I validate the result before performing the calculation. If the result is greater than the field size I either skip the calc, move the highest value the field can hold, or return a message to the user.
These can also be captured with MONITOR.
But before preventing it, it’s necessary to determine why it’s occuring and correct the issue.
Having a program error may not be as bad as having it appear to work when it really isn’t.
The error message is good, skipping the calc or filling it with the max value might be ok..but it might be a disaster.
I avoid this error in my logic. I validate the result before performing the calculation. If the result is greater than the field size I either skip the calc, move the highest value the field can hold, or return a message to the user.
These can also be captured with MONITOR.
But before preventing it, it’s necessary to determine why it’s occuring and correct the issue.
Having a program error may not be as bad as having it appear to work when it really isn’t.
The error message is good, skipping the calc or filling it with the max value might be ok..but it might be a disaster.