15 pts.
 numeric operation is too small to hold the result (C G D F)
HOW TO REMOVE THIS ERROR-"The target for a numeric operation is too small to hold the result (C G D F)"?

Software/Hardware used:
ASKED: October 3, 2008  5:49 AM
UPDATED: October 3, 2008  8:19 PM

Answer Wiki:
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  philpl1jb   44,130 pts.
All Answer Wiki Contributors:  philpl1jb   44,130 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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.

 540 pts.

 

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.

 44,130 pts.