|
When I’ll find time to have a crack at fixing it is another matter Buck - but it does seem to me that the wiki entry is wayyyyy over complicated. Certainly in its opening section. All the stuff on the PASA is overkill to my mind and would tend to confuse anybody who actually needs the answer.
But maybe it’s just me.
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
On Feb 12, 2015, at 9:54 AM, Buck Calabro <kc2hiz@xxxxxxxxx> wrote:
On 2/12/2015 6:34 AM, Vernon Hamberg wrote:
Back to the Future -- CL 101!!With the advent of internet / HTML based manuals, I find it really
This is all described in something like chapter 9 of the CL Programming
manual. It includes the several alternatives that others have given here.
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:I always do it with a command.
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.
--
--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.