Previous Topic: IDCMEDIT06 - Edit operand must be numeric literal or numeric field when edit pattern is not specifiedNext Topic: IDCMEDIT08 - Edited field will have decimal places truncated


IDCMEDIT07 - Insufficient edit pattern integer digits to contain the maximum allowed in the field. A RUN-TIME error may occur

Reason:

An expression involving $EDIT of a numeric field was encountered. The edit-mask used for the PIC operand does not contain as many integer places as the numeric identifier being edited. An edit overflow run-time error can occur if the field's significant integer digits exceed edit pattern.

Action:

No action might be necessary. If change is wanted, alter the specification of the numeric identifier so that it contains fewer integer digits or change the edit-pattern to accommodate more integer digits. If you are certain that the digit positions being truncated are always zero, consider prefixing the edit-pattern with L (left-justify) and Z (zero-suppress) for each non-significant integer digit position.