×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




And besides you can't call anything from the command line and pass by anything other than reference.

Passing by value is only valid for a bound call - not dynamic calls.


On 2013-10-30, at 1:37 PM, Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx> wrote:

Calls from command line are always by reference.

...

HTH
Vern

On 10/30/2013 12:24 PM, Darryl Freinkel wrote:
I have called many programs for years without fail but today it failed.



I am calling a CLLE program with 1 parm that is CHAR(1024) from the command
line.



Problem:

The CLLE program receives the call using the parms by reference and not
value. As a result, the program gets whatever is in the reference area of
memory. I cannot determine how to make the call by value. It was my
understanding that any call from the command line was automagically a call
by value.



H E L P.



TIA

Darryl Freinkel | Assignment 400 Group, Inc.

Tel: 770.321.8562 ext 111 | 678.355.8562

2247 La Salle Dr, Marietta GA, 30062, USA | PO Box 72556, Marietta, GA
30007-2556

E-mail: dfreinkel@xxxxxxxxxxxxxxxxx

Web: www.assignment400.com <http://www.assignment400.com/>




--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2026 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.