COBOL · Abend code
What does Abend S0C7 mean in COBOL?
The program attempted an arithmetic or data-movement operation against a numeric field that contains invalid, non-numeric, or uninitialized data, most often a corrupted packed-decimal (COMP-3) field.
The program attempted an arithmetic or data-movement operation against a numeric field that contains invalid, non-numeric, or uninitialized data, most often a corrupted packed-decimal (COMP-3) field.
Check for uninitialized numeric fields (add VALUE ZERO or an explicit MOVE before first use), verify the record layout being read matches the copybook exactly, and use NUMERIC class tests before arithmetic on any field populated from external input.