Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
SOC7 exact corrupt record

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
chkiran2

New User


Joined: 24 Jun 2004
Posts: 25
Location: Gurgoan

PostPosted: Mon Aug 30, 2004 7:42 pm    Post subject: SOC7 exact corrupt record
Reply with quote

Hi
If I get a SOC7 because of a prticular record in input file. Suppose if the 10th record was the one which contained bad data which caused SOC7, how to find out that it was the 10th record which caused this error.
Back to top
View user's profile Send private message
References
sandip_datta

EXPERT


Joined: 02 Dec 2003
Posts: 152
Location: Tokyo, Japan

PostPosted: Tue Aug 31, 2004 7:27 am    Post subject:
Reply with quote

When you get S0C7 error, you will definitely get an Offset. Note that Offset. Now compile the program and in the compile list find the offset. Then just above you will get the line number for the code. Now go to the top of the compile listing and find out the line number. You will get the COBOL verb and variables name from there.
I don't know how do you find that it is in 10th. record (may be from Display).
After getting the variable names, try to locate the variable definition in compile listing. After getting this you will get the BLW at the right side of the variable. Note that and in the Dump, go to that particular BLW. You can see the data within that variable.

If you work somewhere, ask some of your senior. They will explain you with live example.

Regards,
Sandip.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1