Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Abend s04c while compiling cobol program???

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
gosia

New User


Joined: 19 Apr 2006
Posts: 10

PostPosted: Thu May 04, 2006 12:22 am    Post subject: Abend s04c while compiling cobol program???
Reply with quote

I am getting storage exception error trying to compile very simple cobol program.
It does not have any tables, subscripts.... only 2 display statements. Please help????
Back to top
View user's profile Send private message

DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Thu May 04, 2006 1:45 am    Post subject: Re: Abend s04c while compiling cobol program???
Reply with quote

gosia,

Please post your entire program (if it's not to big) and we will take a look at it.

press (alt+c) before and after your code. it displays in a better format.

Welcome to the forum, let?s see if we can solve your first post.

there are many very talented members here that are willing to help.

Dave
Back to top
View user's profile Send private message
gosia

New User


Joined: 19 Apr 2006
Posts: 10

PostPosted: Thu May 04, 2006 2:04 am    Post subject: Re: Abend s04c while compiling cobol program???
Reply with quote

David,
Thank you, please see attched program. It is trvial, but it is not compiling??? and I have no idea why?
gosia
Back to top
View user's profile Send private message
gosia

New User


Joined: 19 Apr 2006
Posts: 10

PostPosted: Thu May 04, 2006 2:04 am    Post subject: Re: Abend s04c while compiling cobol program???
Reply with quote

David,
Thank you, please see attched program. It is trvial, but it is not compiling??? and I have no idea why?
gosia
Back to top
View user's profile Send private message
DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Thu May 04, 2006 2:59 am    Post subject: Re: Abend s04c while compiling cobol program???
Reply with quote

Well gosia,

I don't know.

I cut/paste, compiled and ran your porgram without problem.

output from your program is:
Code:

.SARPAGE 4                                       
.                                                 
.THIS IS THE DATA TO BE PARSED:                   
.1234567890DHELLO WORLD                           
******************************** BOTTOM OF DATA **


What compiler are you using?

Are there any messages that come with the abend that may help us?

Maybe there is something I did when I cut/paste that corrected an error?

Send whatever info you can, Nothing is trivial when it doesn't work and you don't know why. This can be a learning experience for both.

Dave
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
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
This topic is locked: you cannot edit posts or make replies. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 8 Wed Nov 15, 2017 4:27 pm
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us