|
On 2/12/2015 6:34 AM, Vernon Hamberg wrote:
Back to the Future -- CL 101!!
This is all described in something like chapter 9 of the CL
Programming manual. It includes the several alternatives that others have given here.
With the advent of internet / HTML based manuals, I find it really
difficult to give a canonical reference.
http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/rbam6/passp
.htm
which is
Programming > Control language > CL programming > Controlling flow and
communicating between programs and procedures > Passing parameters
It seems to me that this is THE most frequently asked question about
programming. We had a FAQ page on it when we had a Midrange FAQ
(thanks
David!) and we have a wiki page on it now (Thanks David!)
http://wiki.midrange.com/index.php/Parameter_passing
If there are some words that can be put in the wiki that would help
people understand what is happening, I would love to add them. In
essence, this is a buffer overflow situation: the callee is reading
more memory than the caller allocated.
On 2/11/2015 4:55 PM, Pete Helgren wrote:
Thanks all... I guess I HAD been in the habit of building commands
to run the program but I certainly had forgotten that....
You folks also gave me some other approaches which I may check out,
but wrapping it with a command was the easiest and it works great.
I always do it with a command.
--
--buck
'I had nothing to offer anybody except my own confusion' - Jack
Kerouac
--
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.
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.