IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

If you have big pgm. during compilation is abends with S0C7


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sunaina Javali

New User


Joined: 22 Apr 2009
Posts: 16
Location: Bangalore

PostPosted: Tue Jun 02, 2009 6:08 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Tue Jun 02, 2009 6:11 pm
Reply with quote

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
View user's profile Send private message
Sunaina Javali

New User


Joined: 22 Apr 2009
Posts: 16
Location: Bangalore

PostPosted: Tue Jun 02, 2009 6:56 pm
Reply with quote

Hi,


progarm coded for around 80k lines.
so i finding difficulty to search.


Thanks,
Nisha
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8796
Location: Welsh Wales

PostPosted: Tue Jun 02, 2009 7:15 pm
Reply with quote

Are you saying that the compiled and linked module is sissuing the abend or the compile process that issues the abend.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Tue Jun 02, 2009 7:20 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Jun 02, 2009 9:22 pm
Reply with quote

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
View user's profile Send private message
Terry Heinze

JCL Moderator


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

PostPosted: Wed Jun 03, 2009 1:30 am
Reply with quote

An 80 thousand line COBOL program?? Good luck!
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Jun 03, 2009 1:44 am
Reply with quote

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.... icon_eek.gif
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Wed Jun 03, 2009 2:05 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Jun 03, 2009 2:39 am
Reply with quote

Hello,

Quote:
during compilation the program abends with (soc7)
Has this been clarified yet?

As posted, the compiler abended. . . . icon_confused.gif
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Jun 03, 2009 3:01 am
Reply with quote

Dick,

Oops! icon_redface.gif icon_redface.gif icon_redface.gif

Missed the fact that this is occurring during compilation.

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

Active User


Joined: 22 Jan 2006
Posts: 114
Location: India

PostPosted: Wed Jun 03, 2009 6:28 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Wed Jun 03, 2009 6:29 pm
Reply with quote

Wouldn't a space issue be reflected in an x37 abend -- not a S0C7?
Back to top
View user's profile Send private message
Itanium

Active User


Joined: 22 Jan 2006
Posts: 114
Location: India

PostPosted: Wed Jun 03, 2009 6:33 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Jun 03, 2009 7:02 pm
Reply with quote

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. . . icon_sad.gif
Back to top
View user's profile Send private message
Itanium

Active User


Joined: 22 Jan 2006
Posts: 114
Location: India

PostPosted: Wed Jun 03, 2009 7:07 pm
Reply with quote

yes.. nothing is better than something sometimes..
Back to top
View user's profile Send private message
Sunaina Javali

New User


Joined: 22 Apr 2009
Posts: 16
Location: Bangalore

PostPosted: Wed Jun 03, 2009 7:21 pm
Reply with quote

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. icon_smile.gif


thanks again.

sorry Dick for wasting your time. icon_sad.gif


Regards,
Nisha
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Wed Jun 03, 2009 7:31 pm
Reply with quote

Quote:
it's a space issue
I wonder how a space issue can cause a SOC7 icon_rolleyes.gif. Can you post the exact error message here. And how did you resolve this?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Wed Jun 03, 2009 7:41 pm
Reply with quote

I echo Arun -- inquiring minds want to know (and learn) ....
Back to top
View user's profile Send private message
GlobalGyan

New User


Joined: 31 Jan 2006
Posts: 28

PostPosted: Thu Jun 04, 2009 2:38 pm
Reply with quote

a BIG program abending with s0c7, so can a "small" program also abend with s0c7 (during complie time)?
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Thu Jun 04, 2009 8:11 pm
Reply with quote

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 icon_wink.gif)
Back to top
View user's profile Send private message
Itanium

Active User


Joined: 22 Jan 2006
Posts: 114
Location: India

PostPosted: Thu Jun 04, 2009 8:13 pm
Reply with quote

its for sure not S0C7..Nisha didnt capture the actual error code., better to close this thread by moderators.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


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

PostPosted: Thu Jun 04, 2009 9:08 pm
Reply with quote

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 icon_wink.gif)

icon_lol.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Jun 05, 2009 2:10 am
Reply with quote

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 icon_sad.gif
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Fri Jun 05, 2009 6:53 am
Reply with quote

Quote:
finally i solved this.
And how you solved this. icon_rolleyes.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming Goto page 1, 2  Next

 


Similar Topics
Topic Forum Replies
No new posts S0C7 - Field getting overlayed COBOL Programming 2
No new posts Batch call online program, EXCI task ... CICS 3
No new posts Recovery Routine/Abend exit to releas... PL/I & Assembler 14
No new posts S0C7 abend while running a Cobol Program COBOL Programming 2
No new posts Abends using up address spaces? ABENDS & Debugging 6
Search our Forums:

Back to Top