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
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm

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