Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 6 Thu Sep 07, 2017 6:02 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us