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
 

 

Article: Resoving S0C7

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
EnjoyMF

New User


Joined: 27 May 2005
Posts: 88

PostPosted: Tue Jun 07, 2005 12:21 pm    Post subject: Article: Resoving S0C7
Reply with quote

Hi Friends


i am hereby sending process to resolve S0c7
the same is used to resolve S0c4,S0c1 or other S0c

Hope this may help you

Regards
Prasad
Back to top
View user's profile Send private message

Kunal Roy

New User


Joined: 24 Jun 2005
Posts: 2

PostPosted: Fri Jun 24, 2005 8:46 am    Post subject: Re: Article: Resoving S0C7
Reply with quote

Hi All,

You can also use ICETOOL for S0C7 where you need to put the following statement

VERIFY ON 1 5 ZD

this references with your segment structure where your variables are Comp -3 or Comp.

Thanks,Kunal
Back to top
View user's profile Send private message
kotesh_cs634

Guest





PostPosted: Tue Jun 28, 2005 12:22 pm    Post subject: more iformation
Reply with quote

hi prasad,
Thak u for given information on soc7 and other resolvation..
could you plz give more information on abends what ever you told..
and send complete jcl for that because .. i am not clear ...completely

thnaks®ards
kotesh....
Back to top
vinotht

New User


Joined: 24 Jun 2005
Posts: 1
Location: Bangalore

PostPosted: Wed Jun 29, 2005 2:49 pm    Post subject: Hi.
Reply with quote

I dont know how to select the XREF option while compilation in Changeman. Can anyone explain me by giving a screenshot? Thanks in advance.
Back to top
View user's profile Send private message
Guest







PostPosted: Sat Aug 27, 2005 12:58 pm    Post subject:
Reply with quote

how to resolve S0C7 with the help of abend ADDRESS
Back to top
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Aug 28, 2005 10:11 pm    Post subject:
Reply with quote

Hi Guest,

First recompile your pgm w/the LIST,NOOFF options. I find the simplest way to do this is to preceed your pgm code with:

CBL LIST,NOOFF in col 8

When you re-run your pgm and it abends w/an 0C7 look at your sysmsg for the offset. You'll see a hex number like 06B4. This is the relative location in your pgm that contains the assembler instruction that caused the 0C7.

Now go to your compile listing. Now enter "f mvc" in the cmd line of your sdsf session. This brings you to the "list" part of the COBOL listing. Now enter "f 06B4". This brings you to the assembler instuction that caused the 0C7. If you look to the right on that print line you'll see data names from your pgm. One of them contains the data that caused the 0C7.

If you scroll up from there you'll see a cobol verb (e.g. ADD, COMPUTE, MOVE, etc.). That's the cobol verb that caused the 0C7. To the left of the verb you'll see the line# of the stmt. Use that to find the the actual stmt in your listing.

You can find the field in the dump, but that'll take too long to explain, even if I can remember it all. icon_rolleyes.gif

The next best thing id to DISPLAY the field(s) just before you execute the stmt causing the 0C7.

P.S. If failing pgm is statically called, determining the the offset into your pgm is a bit more involved.

In this case the overall offset is displayed in sysmsg, not the offset into your pgm. For example, if the calling module's length is 500 bytes and the 0C7 occured 200 bytes into your pgm, the offset shown in sysmsg will be 700 not 200.

To determine the offset into your pgm subtract the size of ALL load modules linkedited into the loadset before yours. Use the linkedit listing to determine those values.
Back to top
View user's profile Send private message
Guest







PostPosted: Thu Sep 01, 2005 11:50 am    Post subject: what is JESYMSG IN SPOOL
Reply with quote

HI
CAN ANY BODY COULD U PLZ EXPLAIN ME ABOUT THIS
JESYMSG...
icon_question.gif
Back to top
learnmf

Active User


Joined: 14 Mar 2005
Posts: 123

PostPosted: Sat Sep 10, 2005 4:58 pm    Post subject: Re: Article: Resoving S0C7
Reply with quote

Hi Friends,
I am using endevor for ompiling my program.

While submitting the run JCL i am getting S0c7.
Then how to resolve.I am getting the offset value.
Then how to find the exact location of error.
IS xpediter used for this purpose?
Regards,
Chandra
Back to top
View user's profile Send private message
Sridevi_C

Active User


Joined: 22 Sep 2005
Posts: 104
Location: Concord, New Hampshire, USA.

PostPosted: Fri Sep 23, 2005 10:16 pm    Post subject: Re: Article: Resoving S0C7
Reply with quote

EnjoyMF wrote:
Hi Friends


i am hereby sending process to resolve S0c7
the same is used to resolve S0c4,S0c1 or other S0c

Hope this may help you

Regards
Prasad


Hi,
I couldn't find ur process info. Where should I look for it?
Thanks in advance!
Sridevi
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon Oct 17, 2005 2:11 am    Post subject:
Reply with quote

Hi Sridevi,

Go to the bottom right hand corner of EnjoyMF's post above and click on "Download" just below the icon of the floppy disk.
Back to top
View user's profile Send private message
Sridevi_C

Active User


Joined: 22 Sep 2005
Posts: 104
Location: Concord, New Hampshire, USA.

PostPosted: Mon Oct 17, 2005 3:51 am    Post subject:
Reply with quote

Hi mmwife,
I got it.Thanks!
Regards,
Sridevi.
Back to top
View user's profile Send private message
sleepingcat

New User


Joined: 07 Nov 2005
Posts: 3

PostPosted: Mon Nov 07, 2005 12:37 pm    Post subject:
Reply with quote

hi Chandra,

you can compile your cob program that is causing this and try to find 'hex loc' in it.try to find the nearest address to the offset addr you got from you s0c7 jcl.~

regards,
Ray
Back to top
View user's profile Send private message
venkat.c
Warnings : 1

New User


Joined: 11 Dec 2005
Posts: 6

PostPosted: Mon Dec 12, 2005 2:02 am    Post subject: Re: Hi.
Reply with quote

vinotht wrote:
I dont know how to select the XREF option while compilation in Changeman. Can anyone explain me by giving a screenshot? Thanks in advance.



when u try to compile a program in changeman..... it will ask u for program lang,version,compile parms,linkedit parms ets....u can give xref in the compile parm and sub the job...hope this is clear if its not mail me again i will give u with screenshots

thanks

regards

venkat
Back to top
View user's profile Send private message
sretheesh4u

New User


Joined: 18 Jan 2006
Posts: 1
Location: chennai

PostPosted: Wed Jan 18, 2006 1:14 pm    Post subject: Please do help
Reply with quote

HI I am not able to find the floppy icon.
can some one please repost it????

mmwife wrote:
Hi Sridevi,

Go to the bottom right hand corner of EnjoyMF's post above and click on "Download" just below the icon of the floppy disk.
Back to top
View user's profile Send private message
creator.abhishek

New User


Joined: 07 May 2006
Posts: 32
Location: Pune

PostPosted: Thu Jul 06, 2006 12:32 pm    Post subject:
Reply with quote

can u able to give me formula to calculate offset address.
Back to top
View user's profile Send private message
hussainasgar

New User


Joined: 06 Jul 2006
Posts: 9

PostPosted: Thu Jul 13, 2006 12:57 am    Post subject: Re: Article: Resoving S0C7
Reply with quote

Hi,

i am not able to find any attachment at right hand bottom corner. icon_sad.gif
can any one re post it.

regards,
Asgar
Back to top
View user's profile Send private message
hussainasgar

New User


Joined: 06 Jul 2006
Posts: 9

PostPosted: Thu Jul 13, 2006 1:09 am    Post subject:
Reply with quote

icon_smile.gif Hi,

I got the Document.
Thanks Prasad.

Cheers,
Asgar
Back to top
View user's profile Send private message
v_gopinath2003

New User


Joined: 18 Jul 2006
Posts: 1

PostPosted: Tue Jul 18, 2006 6:07 pm    Post subject: Re: Article: Resoving S0C7
Reply with quote

EnjoyMF wrote:
Hi Friends


i am hereby sending process to resolve S0c7
the same is used to resolve S0c4,S0c1 or other S0c

Hope this may help you

Regards
Prasad


Hi Prasad,

Can u post it again? It would be great if u post it.

Thanks in advance
Gopi
Back to top
View user's profile Send private message
crs916

New User


Joined: 08 Dec 2006
Posts: 2
Location: india

PostPosted: Fri Jan 09, 2009 11:56 am    Post subject: Reply to: Article: Resoving S0C7
Reply with quote

I am not able to find any attachment at right hand bottom corner.
can any one re post it.

Cheers
ravi
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: Fri Jan 09, 2009 12:17 pm    Post subject:
Reply with quote

Hello,

There is an attachment on the previous page of replies.

For best results, right-click and SaveAs to your hard drive.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    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 Looking for a Frank Yaeger article Charles Wolters DFSORT/ICETOOL 5 Tue Jan 12, 2016 11:39 pm
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


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