Page 1 of 1

WORKING-STORGE limits

PostPosted: Fri Jul 30, 2010 9:18 pm
by rgranja
We have Enterprise COBOL for z/OS V3R4 and was wondering what the limit on the size of the working storage section for this version? Looking at batch jobs and stored procedures. Is the limit of passing data from one program to another 32K? this is what I have been able to figure out from the manuals, but not sure if this is true.

Re: WORKING-STORGE limits

PostPosted: Fri Jul 30, 2010 9:43 pm
by Robert Sample
Appendix B of the COBOL Language Reference manual lists the compiler limits. LINKAGE SECTION can be 128 megabytes (less 1) or 134,217,727 bytes. Various forms of CALL have limits from 16,380 bytes up to 2 GB less 1.

Re: WORKING-STORGE limits

PostPosted: Fri Jul 30, 2010 9:45 pm
by Robert Sample
I missed adding WORKING-STORAGE is also limited to 128 megabytes less 1.