|
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
(RPG400On Behalf Of DeLong, Eric
Sent: Tuesday, August 07, 2007 9:47 AM
To: RPG programming on the AS400 / iSeries
Subject: RE: Dynamic 'callp'
Speaking of "the redbook", what ever happened to the sequel.... uh...
refresh of that title?
Just wondering..
Eric
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Jon Paris
Sent: Tuesday, August 07, 2007 9:00 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Dynamic 'callp'
On Tue, 07 Aug 2 Brian Parkin said: "However, dynamic calls using a
variable
for the program name have a performance overhead. Hence most dynamic
calls
employ a constant/literal for the name."
These days the overhead is very small Brian - it only becomes really
significant if the target is changed on every call. The compilers
withand
RPG IV) only resolve the pointer now when the content of the variable
changes.
And for anyone wondering if you can use this variable target approach
insubprocedures the answer is yes - and there is a very simple example
listthe
RPG Redbook "Who Knew You Could Do That ..."
Jon Paris
Partner400
www.Partner400.com
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
listTo 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.
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
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.