Compiler limits with AMODE 64 support
In general, the maximum size of tables and elementary alphanumeric
data items in LP(64)
is 2,147,483,646 bytes. See
Compiler limits(Enterprise COBOL for z/OS® Language Reference) for more details.
About this task
The LOCAL-STORAGE SECTION is allocated on the Language Environment® stack. Its total size is limited by the settings in the Language Environment as well as the requirements of internal variables used by the compiler. The actual limit available for COBOL programs is less than 2,147,483,646 bytes.
The Language Environment STACK64
runtime
option controls the allocation of stack storage for AMODE 64 applications.
The default value is STACK64(1M,1M,128M)
. Use this
option to specify the maximum size of the stack required by your program.
The WORKING-STORAGE SECTION is allocated on the Language Environment heap. Its total size is limited by the 64-bit storage capacity of the machine.