× 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.



Maybe that's good for most questions here, and I've had situations, plenty enough, when I just needed the simple answer like right now.

But for what it's worth, folks, in general, I'm one who really appreciates "under-the-covers" explanations of what's going on. :)

Alan Cassidy


-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jon Paris
Sent: Thursday, February 12, 2015 11:25 AM
To: Rpg400 Rpg400-L
Subject: Re: Parameter lengths and calling from command line

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!!

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.


--
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.


--------------------------------------------------------------------------------
Confidentiality Notice: This email may contain confidential information or information covered under the Privacy Act, 5 USC 552(a), and/or the Health Insurance Portability and Accountability Act (PL 104-191) and its various implementing regulations and must be protected in accordance with those provisions. It contains information that is legally privileged, confidential or otherwise protected from use or disclosure. This e-mail message, including any attachments, is for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. You, the recipient, are obligated to maintain it in a safe, secure and confidential manner. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Thank you.
--------------------------------------------------------------------------------



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.