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

Abend s04c while compiling cobol program???


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top