Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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 -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
chkiran2

New User


Joined: 24 Jun 2004
Posts: 24
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

sandip_datta

Active User


Joined: 02 Dec 2003
Posts: 151
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need to write record of PS File in ex... Chandan1993 JCL & VSAM 1 Wed Jun 07, 2017 1:35 am
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Sort Large record length cmsmoon DFSORT/ICETOOL 14 Tue Apr 11, 2017 5:49 pm
No new posts Format record to remove Leading zeroes Learncoholic DFSORT/ICETOOL 14 Wed Apr 05, 2017 2:43 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us