Scott is, of course, right about this.

I should have changed OutBufAlloc
and OutBufUsed to "20U 0".

Since Giovanni and I no longer control CGIDEV2, I'll send a copy of this message to IBM's Rich Diedrich for his consideration.

I agree with Scott that it's unlikely anyone would ever need to exceed 4 GB.

Mel Rothman
Mel Rothman, Inc.

Scott Klement wrote:

> "Assuming you are using CGIDEV2 Version 2004-09-02 17:40:18 or later,
> CGIDEV2's HTML output buffer can grow up to about 2 terabytes.

I agree that the OP's problem is due to having an older version.  However,
the output buffer can't be 2 TB.

The reason is because you're using a variable called "OutBufAlloc" to keep
track of how big the output buffer is, and this variable is defined as
"10U 0".   Since the largest number that a 10U field can store is
4,294,967,295, the program would crash with a "Receiver Value too Small to
Hold Result" if you tried to exceed 4gb.

However, I can't imagine anyone ever needing to exceed 4gb.


SPONSORED LINKS
How to format a computer hard drive Cobol programmer Iseries 400
How to format a computer How to format your computer How to format computer


YAHOO! GROUPS LINKS




Reply via email to