Thread: Abends and Error Codes

S0C7 inside DFSORT - data is "fine" according to the analyst

Started by Kayla • user4 replies172 viewsLast activity 4 weeks ago
Post #1
1 votes
Kayla
Reputation
72
Posts: 10
Joined: Sep 11, 2025, 8:22 AM
Posted: Jul 16, 2026, 12:11 PM

ICE185A S0C7 during DFSORT. Analyst swears the file is clean. Offset chasing in the sort is useless.

SORT fields include some PD/ZD. Could a wrong start position look exactly like bad data?

Post #2
0 votes
Rick
Reputation
302
Posts: 22
Joined: Jun 14, 2024, 9:41 AM
Posted: Jul 16, 2026, 2:11 PM

If DFSORT thinks a field is numeric and it is not, that is an S0C7. Period. Either the data is wrong or your position/length is wrong so you are reading the wrong bytes.

ICETOOL VERIFY is good for hunting bad ZD/PD. Also remember RDW offset on variable records - off-by-4 gets everyone once.

Post #3
0 votes
Bill
Reputation
221
Posts: 41
Joined: Aug 28, 2024, 7:08 AM
Posted: Jul 16, 2026, 6:11 PM

Split the file in half, run both halves. Narrows the bad record fast when VERIFY is not set up yet.

Post #4
1 votes
Kayla
Reputation
72
Posts: 10
Joined: Sep 11, 2025, 8:22 AM
Posted: Jul 17, 2026, 3:11 PM

Position was wrong on a VB file (forgot RDW). Not the analyst's "fine" data after all. Good lesson.

You must be signed in to reply to this thread