← All errors

RNQ

RNQ0103 Result does not fit in the field

RPG status code
00103 An intermediate result is not large enough to contain the result.

Most common cause

The result of a numeric expression does not fit in the field receiving it.

Other causes

  • Intermediate results exceeding the expected digits (multiplying amounts).
  • Counters that after years of growth outgrow the field.

How to fix it

Make the field larger. EXPROPTS(*RESDECPOS) and EVAL(H) help control decimals, but an overflow in the integer part is only fixed with a larger field.

Related errors

Text and codes from IBM documentation for 7.6. Checked on .