The variable WS-AMT is defined with an editing picture string (PIC ZZZ999). In COBOL, numeric edited fields are used for display formatting and cannot be used as target receiving fields in arithmetic statements like ADD. Doing so results in a compilation error.