Aaron Bartell wrote:
I haven't tested the new 16MB string variable feature on V6R1, but couldn't
that be the reason 16MB is being sent if the data isn't be trimmed of spaces
at the end? If wrkbuf isn't defined as VARYING then unless you do a
%trimr() to occupy wrkbuflen you will have the full length.

The V6R1 RPG limit isn't strictly 16MB, it's 16,773,104. That's smaller than the 16,777,216 (x'1000000') that Bill is getting. If wrkbuflen has a value of 16,777,216, it couldn't be from a simple %size or %len calculation even in v6r1.

(And now I'll go back to lurking in this socket-related thread; I can hardly even spell "sokcet".)

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].