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
 
Compilation error - working storate section exceeded limit.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Compilation error - working storate section exceeded limit.
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10309
Location: italy

PostPosted: Wed Sep 16, 2009 6:56 pm    Post subject: Reply to: Compilation error - working storate section exceed
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: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Wed Sep 16, 2009 7:01 pm    Post subject:
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

Site Director


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

PostPosted: Wed Sep 16, 2009 9:47 pm    Post subject:
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    Post subject:
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    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 Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 1 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am
No new posts Reply MQ open error Vignesh Sid COBOL Programming 5 Thu Sep 07, 2017 6:02 pm

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