Thread: Abends and Error Codes

What is S0C7? Seeing it a lot in training

Started by Jordan • user3 replies302 viewsLast activity 1 week ago
Post #1
0 votes
Jordan
Reputation
12
Posts: 32
Joined: May 2, 2026, 11:10 AM
Posted: Aug 3, 2026, 1:36 PM

Job abended S0C7. Mentor muttered "bad decimal" and walked off.

What should I check first as a beginner?

Post #2
0 votes
Rick
Reputation
302
Posts: 22
Joined: Jun 14, 2024, 9:41 AM
Posted: Aug 3, 2026, 2:36 PM

S0C7 = data exception. Usually math or packed decimal on data that is not valid numeric (spaces, low-values, wrong PIC).

Check the field you just ADD/COMPUTE/MOVEd into COMP-3. DISPLAY in hex if you can. IS NUMERIC before math helps while learning.

Post #3
0 votes
Marty
Reputation
412
Posts: 58
Joined: Aug 12, 2024, 9:14 AM
Posted: Aug 3, 2026, 6:36 PM

Also group MOVEs into COMP-3 areas. That one bites every trainee.

You must be signed in to reply to this thread