× 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, that's helpful.  If that's consistent, it means testing for %parms >
x will handle that situation.

Anyone out there using other languages to call RPGLE procedures know about
this?  Like Java, C, etc.

From: "Pete Clifford"
> My only direct experience of this is in relation to SQL UDFs. There, the
> value of %parms appears to be -1 when a procedure is called by SQL. That;s
> as far as I can comment, I'm afraid.
>
> "Mail List"
> > So does the same caveat apply to %parms when used in a subprocedure?
That
> > is, if the subprocedure is called by some program that does not pass a
> > minimal operational descriptor, will %parms be unavailable?  No mention
is
> > made of which languages would do that btw.  And what does "unavailable"
> > mean?  Is it zero?  Or will I get an error if I try to use it?



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.