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



Paul,

Thanks for explaining.  This service pgm has been around for many years, and
I'm not about to change it!  I'll probably have the CL call an RPG which
then calls the service pgm.

Phil

> Subject: Re: CALLPRC with RTNVAL
> Reply-To: midrange-l@midrange.com
>
> Phil,
>
> There in lies your problem. A CL program cannot "import" a field.
>
> The RTNVAR parameter on CALLPRC refers to a parameter reurned by
> the called
> procedure. i.e. your RPG program should say:
>
> C                                        Return              Parm1.
>
> The procedure interface should be
>
> D GetParm              PI                            121
>
> with the corresponding prototype of
>
> D GetParm             PR
> 121                             Export
>
> HTH
>
> Paul Tuohy
>



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.