Hi,
Instead of « ON SIZE ERROR » on every arithmetic statement, a solution could be to implement in IBM Entreprise COBOL compiler the exception management as described in ISO standard.
A compilation option could activate globally exception management for any cases or for a subset of cases, like overflow or the >>TURN exception CHECKING ON|OFF.
Exception equivalent for ON SIZE ERROR are E-SIZE-OVERFLOW and EC-SIZE-UNDERFLOW.
Exception can be managed by DECLARATIVES and USE AFTER EXCEPTION CONDITION exception-name.
------------------------------
Denis FALLAI
BPCE SI, BPCE group.
------------------------------