View previous topic :: View next topic
|
Author |
Message |
EnjoyMF
New User
Joined: 27 May 2005 Posts: 88
|
|
|
|
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 |
|
|
Kunal Roy
New User
Joined: 24 Jun 2005 Posts: 2
|
|
|
|
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 |
|
|
kotesh_cs634
Guest
|
|
|
|
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
|
|
|
|
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 |
|
|
Guest
|
|
|
|
how to resolve S0C7 with the help of abend ADDRESS |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
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.
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 |
|
|
Guest
|
|
|
|
HI
CAN ANY BODY COULD U PLZ EXPLAIN ME ABOUT THIS
JESYMSG...
|
|
Back to top |
|
|
learnmf
Active User
Joined: 14 Mar 2005 Posts: 123
|
|
|
|
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 |
|
|
Sridevi_C
Active User
Joined: 22 Sep 2005 Posts: 104 Location: Concord, New Hampshire, USA.
|
|
|
|
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 |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
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 |
|
|
Sridevi_C
Active User
Joined: 22 Sep 2005 Posts: 104 Location: Concord, New Hampshire, USA.
|
|
|
|
Hi mmwife,
I got it.Thanks!
Regards,
Sridevi. |
|
Back to top |
|
|
sleepingcat
New User
Joined: 07 Nov 2005 Posts: 3
|
|
|
|
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 |
|
|
venkat.c
New User
Joined: 11 Dec 2005 Posts: 6
|
|
|
|
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 |
|
|
sretheesh4u
New User
Joined: 18 Jan 2006 Posts: 1 Location: chennai
|
|
|
|
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 |
|
|
creator.abhishek
New User
Joined: 07 May 2006 Posts: 32 Location: Pune
|
|
|
|
can u able to give me formula to calculate offset address. |
|
Back to top |
|
|
hussainasgar
New User
Joined: 06 Jul 2006 Posts: 9
|
|
|
|
Hi,
i am not able to find any attachment at right hand bottom corner.
can any one re post it.
regards,
Asgar |
|
Back to top |
|
|
hussainasgar
New User
Joined: 06 Jul 2006 Posts: 9
|
|
|
|
Hi,
I got the Document.
Thanks Prasad.
Cheers,
Asgar |
|
Back to top |
|
|
v_gopinath2003
New User
Joined: 18 Jul 2006 Posts: 1
|
|
|
|
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 |
|
|
crs916
New User
Joined: 08 Dec 2006 Posts: 2 Location: india
|
|
|
|
I am not able to find any attachment at right hand bottom corner.
can any one re post it.
Cheers
ravi |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|