IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How can the SOC7 error be solved


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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
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: 435
Location: chennai, India

PostPosted: Thu Aug 25, 2005 1:48 pm
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: 1448
Location: Chicago, IL

PostPosted: Sun Aug 28, 2005 12:37 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts IEW2315E 1369 Link error All Other Mainframe Topics 3
No new posts Help on IMS -API URL migrating from P... IMS DB/DC 1
No new posts JES datasets IO Error ABENDS & Debugging 3
No new posts Error to invoke MPP program through B... IMS DB/DC 3
No new posts PKZIP error ZPFM121E and ZPCE009E JCL & VSAM 6
Search our Forums:

Back to Top