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
 
need suggestin regarding s0c7

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

New User


Joined: 11 May 2007
Posts: 59
Location: chennai

PostPosted: Tue Jul 29, 2008 1:40 pm    Post subject: need suggestin regarding s0c7
Reply with quote

Hi,

I have a job abended due to s0c7.Its a production job stream.We
removed the error record and ran the job and it went fine.Job
was abended with s0c7.Now my question is how can i solve this
problem.What approach i should take so that this error will again
not occur in the next run?
without expediting the program is there is any other way to find the
reason

suggetions are welcome.
Back to top
View user's profile Send private message

sudhakar84

New User


Joined: 20 Jun 2008
Posts: 21
Location: chennai

PostPosted: Tue Jul 29, 2008 2:01 pm    Post subject: Reply to: need suggestin regarding s0c7
Reply with quote

Hi,

Get the offset address from the spool and look for the variable belongs to that offset address in the ecompiler listing.To get the compiler listing either u can look into the listing that u got while compiling or recompile and get the same.

The compiler listing will have the mapping between the variable and the address location.Since we have got the address already we can easily figure out the variable causing the S0c7.There after u can analyse the reason for the Soc7.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Tue Jul 29, 2008 2:06 pm    Post subject: Reply to: need suggestin regarding s0c7
Reply with quote

Pur,

Quote:
Now my question is how can i solve this
problem.What approach i should take so that this error will again
not occur in the next run?


First analyse and find out the reason for the abend. The topic of SOC7 has been debated before and you can search the forum for examples.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Jul 29, 2008 2:16 pm    Post subject:
Reply with quote

Hi,

Check this link for threads on S0C7-

http://www.ibmmainframes.com/viewtopic.php?t=32765&highlight=s0c7
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Jul 29, 2008 8:12 pm    Post subject:
Reply with quote

Hello,

For my $.02, a more important issue is the "error record".

If it is in some file that was created by the system, the code that creates "the records" needs to be fixed so this cannot happen again.

If the "bad record" is in some un-edited input file, the program processing that data for the first time needs to be corrected to identify the bad data so there will be no later abend.

Learning how to "debug" an 0c7 from a dump is very valuable for a developer, but it is far more important to prevent them (0c7's) in production.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Tue Jul 29, 2008 8:17 pm    Post subject:
Reply with quote

Agree with Dick. Finding the field in error is usually a lot easier than determining when that "bad" field entered the system. It could have been many jobs/days ago. Preventing future occurrences is the big issue. The long-standing phrase "garbage in, garbage out" still holds true even today.
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 S0C7 abend not able to locate Rijit COBOL Programming 8 Wed Apr 01, 2015 4:03 pm
No new posts S0C7 Data Exception Error Niti Srivastava ABENDS & Debugging 4 Mon Feb 23, 2015 5:40 pm
No new posts S0C7 issued on a CALL statement RedDevil711 ABENDS & Debugging 8 Sun Feb 01, 2015 3:57 pm
No new posts SUM FIELDS Giving S0C7 Indrajit_57 JCL & VSAM 4 Tue Jul 01, 2014 4:01 pm
No new posts OUTREC S0C7 issue for particular scen... Skolusu DFSORT/ICETOOL 6 Fri Mar 07, 2014 1:10 pm

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