|
On 2012/4/16 2:40 PM, Michael Schutte wrote:
Would any advise for or against putting any new prompt procedures in the
same service program? Just curious. I started a new service program with
the intent to put any new prompt programs in this service program. But
then I got to thinking maybe that would be a bad idea because as the size
of the service program grew, so would the amount of memory each time the
program was activated. I am using a named activation group.
Aside from any considerations about the prompt procedures themselves ...
The amount of memory required for a service program doesn't necessarily
increase when you add new procedures.
It does increase when you add new RPG _modules_, since all RPG modules
have a certain amount of storage for inner workings of RPG, even nomain
or linear-main modules.
So if you are concerned about memory, grouping similar procedures in the
same module is a good idea.
By "similar", I mean a couple of things
- similar in their nature, so that it "makes sense" for them to be
together in the same module
- similar in the things they need, such as other service programs,
files, global variables within the module
--
Barbara
--
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 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.