COBOL                                    EDITED PICTURE ERRORS

 

Erroneous Picture

Nature of the error

$$$,ZZZ.99

,ZZZ,99

***,ZZZ.99

$$$,***.99

Mixed floating symbols are not permitted

ZZZ,Z9Z.99

Z must not appear to the right of 9

ZZZ,ZZZ.Z9

Mixed characters to right of decimal point are not permitted.

Z.-99

$-ZZ,ZZZ.99

Fixed sign must be leftmost or rightmost character

---,--$.99

+++,++$.99

$ cannot follow floating sign

XX-XX-XX

999-99-9999

Hyphen cannot be used for punctuation

XX:XX:XX

99:99:99

Colon cannot be used for punctuation

$,$$$.99

-,---.99

*,***.99

+,+++.99

Floating $, -, +, or * must be indicated by at least two adjacent leftmost symbols (leftmost symbol is not a digit position)

99.99.99

XX.XX.XX

No more than one actual decimal may appear in an edited string.