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
 

 

How can the SOC7 error be solved

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
venkateshbagayat

New User


Joined: 04 Mar 2005
Posts: 10

PostPosted: Thu Aug 25, 2005 1:00 pm    Post subject: How can the SOC7 error be solved
Reply with quote

Hi..,
1. Please can anyone tell me how can the SOC7 error be solved?
2. And if for that any part of the code is to be changed .., wat is that?
3. and how to solve that wijtout changing the lines or data?
--- these were asked in an interview ..so i need to clear up regarding that...
--regards..,
venkat
Back to top
View user's profile Send private message

Dariusz
Warnings : 1

New User


Joined: 11 Aug 2005
Posts: 27
Location: POLAND

PostPosted: Thu Aug 25, 2005 1:33 pm    Post subject:
Reply with quote

HI.
I can't see any solution without changing data or program
because main reason for S0C7 is data error(it maybe generated by hardvare error).
I can see two solutions only:
-correct data
-ommite bad record.
Many regards.
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 436
Location: chennai, India

PostPosted: Thu Aug 25, 2005 1:48 pm    Post subject:
Reply with quote

If bad record causing s0c7,then we can omit them and run the job.
But don't forget to process that particular bad record later after correcting it.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


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

PostPosted: Sun Aug 28, 2005 12:37 pm    Post subject: Re: SOC errors...
Reply with quote

Hi Venkat,
Quote:
1. Please can anyone tell me how can the SOC7 error be solved?

S0C7 is a DATA EXCEPTION Error. which caused due to use of wrong data in the program. Such as use of alphabets in an arithmetic expression.

For solving the S0C7 error first you find out the offset value in joblog for the perticular abend. Mapping that offset value to the lines od codes you find the area exactly where the error occured while processing.
Quote:
2. And if for that any part of the code is to be changed .., wat is that?

Finding the area in code is mentioned above...foe a detailed description please search forum. You can even find some screen shots related to S0C7.
Quote:
3. and how to solve that wijtout changing the lines or data?

If neither is changed, then how will it be possible to went thru.

Regards,

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

New User


Joined: 08 Aug 2005
Posts: 7

PostPosted: Tue Sep 13, 2005 10:48 am    Post subject: Re: SOC errors...
Reply with quote

Hi,
There can be many methods to solve SOC7
1)by using XPEDITER
2)Going behind the reasons causing Soc7 in working -storage.
3)the most preferable one is to get the value of offset in compile list,getting this offset then find this offset's corresponding value in your pgm.It will take you straight to the line causing SOC7.
Happy Debugging :lol:
Back to top
View user's profile Send private message
shamtab

New User


Joined: 19 Aug 2005
Posts: 4
Location: INDIA

PostPosted: Tue Sep 13, 2005 5:30 pm    Post subject: SOC errors...
Reply with quote

S0C7 Abbend is DATA EXCEPTION Error.

And is caused due to incorrect data or bad record in the Program.

This abbend can be corrected by looking for the incorrect data or the bad record in the complied program.

And then finding the incorrect data or the bad record Offset in the program and then getting it corrected.

You can then go ahead and execute the program after compiling it.

We can also use the Tool Expeditor to get the SOC7 Abbbend corrected.
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm


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