× 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.



Thanks for the update Barbara - I must pay more attention!

I doubt if it will do much for their performance even so.


On 2013-06-25, at 7:22 PM, Barbara Morris <bmorris@xxxxxxxxxx> wrote:

On 6/25/2013 5:26 PM, Jon Paris wrote:
Simply compiling the program to use teraspace will do nothing for
you. It won't even use it. I believe that pretty much all the RPG
options are concerned with is can RPG access storage referenced via a
teraspace pointer.


The 7.1 enhancement was to allow RPG and COBOL to actually run in the
teraspace storage model.

Advantages:
- no practical limit to the amount of automatic storage in a procedure
or the program stack. Whether it's usually a good idea to go over the
16MB limit is a separate issue.
- ability to run in the same activation group as C or C++ that uses the
very fast teraspace pointers

ILE RPG could always reference teraspace storage. It was only C and C++
that had options to disallow it. But in 6.1, everything can. OPM
programs, ILE C programs compiled with TERASPACE(*NO), everything.

But it's not a trivial exercise to start running in the teraspace
storage model. It usually involves a complete overhaul or at least a
complete review of activation groups, since you can't have programs
(including service programs) in the same activation group that are
teraspace storage model and single-level storage model. So if most of
your calls use *CALLER, you'd have to put everything into the teraspace
storage model, or at least make them STGMDL(*INHERIT). If there's
anything you call that you don't have control over so you can't change
its storage model, then you can have difficulties.

As part of the teraspace enhancement, we also added the ALLOC H spec
keyword for RPG so that %ALLOC etc could use teraspace storage with its
much bigger limitations, even in the single-level storage model. That's
usually the only part of the teraspace enhancement that I really talk
about in what's-new presentations.

--
Barbara
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (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.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com





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.