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

Compilation error - working storate section exceeded limit.


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

New User


Joined: 15 Jan 2007
Posts: 36
Location: Kerala

PostPosted: Wed Sep 16, 2009 6:50 pm
Reply with quote

I am using IBM ENTERPRISE COBOL FOR Z/OS 3.4.1 . While compiling a cobol program, I am getting the following error :-

'THE SIZE OF THE "WORKING-STORAGE SECTION" EXCEEDED THE LIMIT OF 16,777,215 BYTES ALLOWED UNDER THE "RENT" AND"DATA(24)" COMPILER OPTIONS. THE "DATA(31)" OPTION WAS ASSUMED'.

Please help me in fixing this issue.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Sep 16, 2009 6:56 pm
Reply with quote

the best source of info would be Your support...

somebody chose to have as default the option "DATA(24)"
we do not know the reason why..
so we cannot tell the consequences of going on with the option "DATA(31)"

it is not an error in itself, just a warning that You have incurred in a limitation for Your current setup.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Wed Sep 16, 2009 7:01 pm
Reply with quote

You have two choices to fix this issue:

1) Change your compile option from DATA(24) to DATA(31). This may have various side effects including programs being called from your program not being able to access data being passed to them.

2. Reduce your use of WORKING-STORAGE below 16 megabytes to stay within the limit of DATA(24) storage. If you cannot do this, you are reduced to option (1).
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Sep 16, 2009 9:47 pm
Reply with quote

Hello,

Why does the code need more than 16meg?

Usually, this is a sign that there was not proper design consideration or that someone was quite lazy.
Back to top
View user's profile Send private message
raghavendra_p_sarvade

New User


Joined: 17 Oct 2006
Posts: 32

PostPosted: Mon Sep 21, 2009 12:15 pm
Reply with quote

Hello,

If you have multi dimensional internal arrays declared, you can try to do an external SORT on the outer dimensions of array declaration. You can then remove them from your cobol code and then handle the breaking of the values in your logic.

Hope this helps.

Thanks,
Raghav
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 Error to read log with rexx CLIST & REXX 11
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
Search our Forums:

Back to Top