×
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.
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.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.