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: 10374
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: 8201
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 REXX LISTDSI () SMSINFO is not working upendrasri CLIST & REXX 4 Fri Nov 17, 2017 11:33 am
No new posts Split files upto certain limit based ... bubbu75 DFSORT/ICETOOL 5 Tue Nov 14, 2017 11:11 pm
No new posts -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm

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