View previous topic :: View next topic
|
Author |
Message |
bijoybabu83
New User
Joined: 15 Jan 2007 Posts: 36 Location: Kerala
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
raghavendra_p_sarvade
New User
Joined: 17 Oct 2006 Posts: 32
|
|
|
|
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 |
|
|
|