Mowry, Norma wrote:
>We were able to find the 2 records causing the S0C7 abends in the 
>COBOL/Syncsort application.  Thanks for the help.   
 
You're most welcome! It was a big lion pleasure to help! ;-D

War story:

One of my clients has a similar S0C7 abend with a program they're using 'for 
years'.

They were running in circles and eventually they came to me. So I requested 
source, library and current and previous datasets as input. Linecounts of input 
were about 40 millions.

I rerun that program (Main COBOL program and some called Assembler programs) on 
both datasets. S0C7 on current input. RC=00 on previous input.

With approval, I re-compiled it with display milestones on how far in the 
dataset the program is running. I quickly found the exact offending line and 
removed that with some IDCAMS REPRO, COUNT and SKIP work. Repeat, rinse, just 
to find some more such records. Eventually I gave the input dataset minus those 
lines back to the user which enabled them to meet their deadline.

Quick eye-ball scan revealed bad characters in numeric fields. One record was 
misaligned. Another was shorter than expected.

Groete / Greetings 
Elardus Engelbrecht 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to