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
 

 

Reg Soc7? How to find out this one?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
sonasheetal

New User


Joined: 08 Jun 2005
Posts: 27

PostPosted: Tue Feb 07, 2006 4:47 pm    Post subject: Reg Soc7? How to find out this one?
Reply with quote

Suppose there are 4 input files in a program. If a SOC 7 error occurs, how can we figure out which one of the input files resulted in the error?

I would apprciate if ur answering.,
Bye
Sona
Back to top
View user's profile Send private message

Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Tue Feb 07, 2006 4:59 pm    Post subject: Re: Reg Soc7? How to find out this one?
Reply with quote

Hi,

Quote:
Suppose there are 4 input files in a program. If a SOC 7 error occurs, how can we figure out which one of the input files resulted in the error?

I would apprciate if ur answering.,
Bye
Sona


To find the where SOC7 abend happedn the best wayis use DISPLAY in your cobol program . Using this you can fined it.

Hope this helps

Regards
Rupesh
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Tue Feb 07, 2006 5:00 pm    Post subject: Re: Reg Soc7? How to find out this one?
Reply with quote

Sona,

S0C7 is a data exception error caused by Invalid Data.

You'll have to identify the statement causing S0C-7 first with the help of offset value given in abend log. Then identify what input file is passing values to the variables involved in the statement.

Giving few displays around the statement will help you grip on the error.

P.S. You'll find lots of document available in the site for S0C-7 error resolution. Take a look there, it'll help you.

Regards,

Priyesh.
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Tue Feb 07, 2006 5:03 pm    Post subject:
Reply with quote

Hi sonasheetal,

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.

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

Thanks,
Parikshit
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Tue Feb 07, 2006 5:05 pm    Post subject:
Reply with quote

Opps,

I guess priyesh posted while I was writting.



Quote:
P.S. You'll find lots of document available in the site for S0C-7 error resolution. Take a look there, it'll help you.


Anyway, You are right Priyesh.
Threre are a number of documents wherein resolution of S0C-7 is well documented. Searching the forum will definitely get you a good one.

Thanks,
Parikshit.
Back to top
View user's profile Send private message
sonasheetal

New User


Joined: 08 Jun 2005
Posts: 27

PostPosted: Tue Feb 07, 2006 5:16 pm    Post subject: Re: Reg Soc7? How to find out this one?
Reply with quote

Hi Folks,

Thanks a lot for all of ur quick reply.
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 -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm


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