View previous topic :: View next topic
|
Author |
Message |
venkateshbagayat
New User
Joined: 04 Mar 2005 Posts: 10
|
|
|
|
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 |
|
|
Dariusz Warnings : 1 New User
Joined: 11 Aug 2005 Posts: 27 Location: POLAND
|
|
|
|
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 |
|
|
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
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 |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
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 |
|
|
pandey_nitin78
New User
Joined: 08 Aug 2005 Posts: 7
|
|
|
|
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 |
|
|
shamtab
New User
Joined: 19 Aug 2005 Posts: 4 Location: INDIA
|
|
|
|
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 |
|
|
|