Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 10274
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: 8117
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 Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us