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
 

 

If you have big pgm. during compilation is abends with S0C7
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: If you have big pgm. during compilation is abends with S0C7
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: 7904
Location: Bellevue, IA

PostPosted: Tue Jun 02, 2009 6:11 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Jun 02, 2009 7:15 pm    Post subject:
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: 7904
Location: Bellevue, IA

PostPosted: Tue Jun 02, 2009 7:20 pm    Post subject:
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

Site Director


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

PostPosted: Tue Jun 02, 2009 9:22 pm    Post subject:
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: 1238
Location: Richfield, MN, USA

PostPosted: Wed Jun 03, 2009 1:30 am    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Jun 03, 2009 1:44 am    Post subject: Reply to: If you have big pgm. during compilation is abends
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    Post subject:
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

Site Director


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

PostPosted: Wed Jun 03, 2009 2:39 am    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Jun 03, 2009 3:01 am    Post subject: Reply to: If you have big pgm. during compilation is abends
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    Post subject:
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: 7904
Location: Bellevue, IA

PostPosted: Wed Jun 03, 2009 6:29 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Wed Jun 03, 2009 7:02 pm    Post subject:
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    Post subject:
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    Post subject:
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: 2158
Location: @my desk

PostPosted: Wed Jun 03, 2009 7:31 pm    Post subject:
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: 7904
Location: Bellevue, IA

PostPosted: Wed Jun 03, 2009 7:41 pm    Post subject:
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    Post subject:
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compilation Error in Translation Step. amitc23 CICS 4 Tue Mar 01, 2016 12:24 pm
No new posts IGYDS5000-U and IGYDS5062-U abend in ... Alks ABENDS & Debugging 5 Mon Jan 18, 2016 9:56 pm
No new posts IEFZB476 getting various 0C4 abends Grant Goodale PL/I & Assembler 18 Sat Sep 12, 2015 9:27 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


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