Calls from command line are always by reference.

The best way I can recommend is to make a command to front-end the program - define it with that 1024-long parameter - this pre-allocates the memory it needs.

Eezy-peezy!

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




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.