How to identify the record that caused the SOC7 abend



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

How to identify the record that caused the SOC7 abend

Postby rravi3421 » Sun Nov 30, 2008 2:44 am

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?
Thank you very much for help.
User avatar
rravi3421
 
Posts: 7
Joined: Sun Nov 16, 2008 3:30 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to identify the record that caused the SOC7 abend

 

Re: soc7

Postby dick scherrer » Sun Nov 30, 2008 3:55 am

Hello,

Typically, you find the instruction that abended (using the displacement given at the time of the abend) and then you find the data in storage that caused the abend and then the problem record is known.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post