× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



We updated our ILE C applications to send and receive MQSeries messages
greater than 16 Meg some time ago. You just need to define teraspace when
you create the module. Something like TERASPACE(*YES *TSIFC) . I don't think
the entire application has to be teraspace. If I recall directly just
enabling this option gives you the ability to allocate big chunks of memory.


Patrick

On Thu, Dec 17, 2009 at 5:18 AM, Bruce Vining <bvining@xxxxxxxxxxxxxxx>wrote:

Though the %alloc built-in is limited to 16MB you can use the _C_TS_malloc
API to allocate just a tad under 2GB and the _C_TS_malloc64 API if you need
more than 2GB. RPG based variables can then be used to access the full
variable contents (admittedly at roughly 16MB per operation). This is a
very
reasonable workaround (to my thinking anyway).

There are many areas in the i where 16MB limitations imposed by the
operating system have been removed. Languages, such as RPG, may or may
not take full advantage of these expanded capabilities based on
the perceived needs of their users.

Bruce Vining

On Thu, Dec 17, 2009 at 2:13 AM, Åke Olsson <ake.olsson@xxxxxx> wrote:

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?





Med vänlig hälsning / Best regards


Åke H Olsson



Box 433 SE 551 16 Jönköping Sweden visit: Brunnsgatan 11

phone: +46 (0)36 342976 mobile: +46 (0)705 482976 fax: +46 (0)36 34 29
29

ake.olsson@xxxxxx <mailto:ake.olsson@xxxxxx> www.pdb.se





This e-mail and any attachments may contain confidential and
privileged information. If you are not the intended recipient,
please notify the sender immediately by return e-mail, delete this
e-mail and destroy any copies. Any dissemination or use of this
information by a person other than the intended recipient is
unauthorized and may be illegal.
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.





--
Regards,
Bruce
www.brucevining.com
www.powercl.com
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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