Page 1 of 1

COBOL program S0C7 abend, no bad data in input

Posted: Tue Sep 09, 2025 10:46 am
by Angel
Hi,

COBOL program S0C7 abend, no bad data in input even though when Input looks clean, but still S0C7. Where else to check?

Re: COBOL program S0C7 abend, no bad data in input

Posted: Wed Sep 10, 2025 3:46 am
by zum13
Hello.

If you're performing an arithmetic operation involving the input data, check the other variables being used in the calculation in case they are bad.

Re: COBOL program S0C7 abend, no bad data in input

Posted: Thu Sep 11, 2025 8:19 pm
by Robert Sample
It doesn't really matter what you think -- the computer is telling you that there is bad data somewhere causing the S0C7.  Until you start trusting the computer and closely scrutinizing your data, you will fail to identify the issue.