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



Thanks Jon! RTNPARM is a new one for me.

As far as your question about it being a data structure, well, yes and no.
It is a pseudo-array, and the array element's length is specified in the
LineLen parameter. So, the length of each line is not known at compile
time for the service program. And the length may be different for other
programs that call this procedure.

- Dan

On Fri, Aug 14, 2015 at 6:50 PM, Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:

If this is a frequently used procedure and you are on V7.1 or later I
would suggest adding RTNPARM to the return value definition. The size of
field thou are returning right now is on the large side and will not
perform anywhere near as well as if you use this option.

Also the “field” being returned seems an odd size - is it perhaps a DS?
If so, defining the parm as LikeDs and using a Template for the DS would
give you a more bullet proof approach as any changes to the returned field
would be automatically be reflected without having to re-calc the size.


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