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



Hi Scott,

I have created the command with the maximum lenght so that the user must
always specify 2048 as parameter length. I can continue with the normal
programming.

My idea of the command is not possible, it cant be done with the iSeries.
If you want to boldly go where no man has gone before than I am happy to
keep this thread alive. I will post my further findings anyway.

Further investigations:

With debug i have checked the result of the parameter that i use as the
RTNVAL in the command. I would expect that any changes in the RPGLE
parameter will directly be reflected in the value of the calling program if
the parameter is passed by reference. This is not the case, suggesting that
there is a buffer between the CL and the CPP.

I also have a very hard time finding a manual describing the behaviour of
commands in combination with RTNVAL PARMS.

regards,

Wim





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.