×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




With the new version of Mq the maximum message size is 100 mb.

However - even with the highly appreciated extension of maximum
variable size in RPG - the maximum size in RPGLE is 16mb. Even the
%ALLOC statement signals 16 meg as the maximum size it can allocate to
a pointer.

Is it likely that IBM will extend the options beyond the 16mb limit in
a coming release?

Is there any work-around available?

I cannot speak for IBM's plans, but I can say that this is not an RPG-only
limitation. It is a limitation of 24-bit addressing that's implemented in
many (most?) objects throughout the i architecture. For example, this is
the maximum size of a user space also. Without knowing the construction of
a pointer, I'd be willing to bet small dollars that the pointer data type
also is comprised of a 24-bit address, limiting the value of such an
increase from a practicability standpoint.

Because of this, I have copied your message to midrange-l for further
discussion. (David may want to slap my hands for this; let's find out.)

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"If I were two-faced, would I be wearing this one?"
-- Abraham Lincoln


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2026 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.