Re: PIC X greater 16 MB?



Yes and yes,

You may define a single item that size, but that is also the limit for the
entire Working-Storage, so you couldn't define any other items in the same
working-storage.

--
Bill Klein
wmklein <at> ix.netcom.com
"Thomas" <tmanal@xxxxxx> wrote in message
news:1156495762.545979.41370@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,

I work with IBM Enterprise Cobol for z/OS. In the documentation I find
these information:

Version 3 Release 4, July 2005

Several limits on COBOL data-item size have been significantly raised,
for example:
- The maximum data-item size has been raised from 16 MB to 128 MB.
- The maximum PICTURE symbol replication has been raised to
134,217,727.
- The maximum OCCURS integer has been raised to 134,217,727.

Does it mean that I can declare a data-item like this
01 XML-DOCUMENT PIC X(134217727).
or is 128 MB the max. size of the whole WORKING-STORAGE SECTION?

Thanks!

Thomas



.