SOC7 Abend Record Identification

How to identify the record that caused the SOC7 abend in a batch program? Suppose there are 1000 records in the input file. how can we find the exact record?

Questions by sekharjchandra

Showing Answers 1 - 6 of 6 Answers

fazil

  • Mar 24th, 2009
 

If the cobol program is compile with option FDUMP. you can see the input record which caused the abend CEEDUMP and also the field which cause the error. Something like this.

QTY-ACCEPTED                                                                  
             S9(7) CMP3       *** Invalid data for this data type *** Hex 40404
QTY-ORDERED  S9(7) CMP3       *** Invalid data for this data type *** Hex 40404

  Was this answer useful?  Yes

The diagnostics provided with the S0C7 will help you identify which value is not valid. If your site has Abend Aid or one of the other abend analysis tools

Index or Subscript is uninitialized, Incorrect overlapping of fields in arithmetic packed decimal.. search for this offset in the compiler listing and you will get the exact statement which has caused the issue.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions