View previous topic :: View next topic
|
Author |
Message |
Sunaina Javali
New User
Joined: 22 Apr 2009 Posts: 16 Location: Bangalore
|
|
|
|
Hi,
please let me know, If you have big pgm. during compilation the program abends with (soc7) how do you know which line has S0C7 error.
Thnaks,
Nisha |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
How big is the program?
If you get an abend during a compile, you need to open a PMR with IBM as their compiler should not abend like that. It is not very common for the compiler to have problems, especially not a S0C7 abend. |
|
Back to top |
|
|
Sunaina Javali
New User
Joined: 22 Apr 2009 Posts: 16 Location: Bangalore
|
|
|
|
Hi,
progarm coded for around 80k lines.
so i finding difficulty to search.
Thanks,
Nisha |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Are you saying that the compiled and linked module is sissuing the abend or the compile process that issues the abend. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
What kind of output are you getting? Exactly which step is getting the abend? Is there a CEEDUMP, SYSUDUMP, or other dump generated? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Have you identified where the 0c7 is happening?
Unless/until you post some diagnostic information, no one here will be able to help. . . |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1248 Location: Richfield, MN, USA
|
|
|
|
An 80 thousand line COBOL program?? Good luck! |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
If the PSW information is displayed (as it should be) in SYSOUT or somewhere, calculate the address of the failing instruction = NSI (Next Sequential Instruction) address minus the ILC (Instruction Length Code).
Once you have this address, it's probably going to be within the expansion of a COBOL VERB (COMPUTE, ADD, SUBTRACT, etc). Go to this address in the dump and post it here. It's probably going to be an OP Code F8 (ZAP), FA (AP), FB (SP), etc. The first byte at the address-location will be the OP Code.
If order to pinpoint the exact instruction within the given VERB, you'll have to re-compile the program, using the LIST,NOOFFSET compile options.
With that, the compiled listing will be HUGE, so don't even think about printing it.... |
|
Back to top |
|
|
Douglas Wilder
Active User
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
|
|
|
|
If you have Abendaid or Fault Analyzer it can be setup to show you the line of code and the fields involved. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
during compilation the program abends with (soc7) |
Has this been clarified yet?
As posted, the compiler abended. . . . |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Dick,
Oops!
Missed the fact that this is occurring during compilation.
Regards, |
|
Back to top |
|
|
Itanium
Active User
Joined: 22 Jan 2006 Posts: 114 Location: India
|
|
|
|
Quote: |
during compilation the program abends with (soc7) |
Assuming this is related to SPACE issue of the PDS where the program resides.. try to compres the PDS and recompile or copy the program to a new PDS with more space allocated & recompile. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Wouldn't a space issue be reflected in an x37 abend -- not a S0C7? |
|
Back to top |
|
|
Itanium
Active User
Joined: 22 Jan 2006 Posts: 114 Location: India
|
|
|
|
we are still unclear as there is no reponse from Nisha regarding the actual issue. it was just my assumption that it could be a SPACE related issue. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
we are still unclear as there is no reponse from Nisha regarding the actual issue. |
Which means we shouldn't throw guesses at it.
The only reply that now matters is from Nisha and so far - nothing.
This is one of those topics that may be better to delete. As is, it is just a way to waste people's time. . . |
|
Back to top |
|
|
Itanium
Active User
Joined: 22 Jan 2006 Posts: 114 Location: India
|
|
|
|
yes.. nothing is better than something sometimes.. |
|
Back to top |
|
|
Sunaina Javali
New User
Joined: 22 Apr 2009 Posts: 16 Location: Bangalore
|
|
|
|
Hi all,
i am sorry for delay...
thank you very much for your valuable reply.
yes Itanium, u r correct it's a space issue.
finally i solved this.
thanks again.
sorry Dick for wasting your time.
Regards,
Nisha |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Quote: |
it's a space issue |
I wonder how a space issue can cause a SOC7 . Can you post the exact error message here. And how did you resolve this? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
I echo Arun -- inquiring minds want to know (and learn) .... |
|
Back to top |
|
|
GlobalGyan
New User
Joined: 31 Jan 2006 Posts: 28
|
|
|
|
a BIG program abending with s0c7, so can a "small" program also abend with s0c7 (during complie time)? |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
BIG programs abend with S0C7,
small programs abend with s0c7.
Please note the difference!
(sorry guys for wasting your time, I just HAD to write this ) |
|
Back to top |
|
|
Itanium
Active User
Joined: 22 Jan 2006 Posts: 114 Location: India
|
|
|
|
its for sure not S0C7..Nisha didnt capture the actual error code., better to close this thread by moderators. |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1248 Location: Richfield, MN, USA
|
|
|
|
Marso wrote: |
BIG programs abend with S0C7,
small programs abend with s0c7.
Please note the difference!
(sorry guys for wasting your time, I just HAD to write this ) |
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
sorry Dick for wasting your time. |
Not just my time. . . You wasted everyone's time. . .
And you still have not explained how a space problem caused an 0c7 |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Quote: |
finally i solved this. |
And how you solved this. |
|
Back to top |
|
|
|