On 10/6/21 10:58 AM, D*B wrote:
@david: I don't find return values, it's limited to give back an int - very poor.

OK, there are limitations.

But ProgramCall object don't allow return values either.

PCML can do everything a ProgramCall can do (because ProgramCallDocument wraps ProgramCall) but is easier for non-IBM i developers to use, because they just set & get values using a structured naming scheme.

As a developer familiar with IBM i, I find PCML calls to be much easier to understand ... I don't have to be aware of all the parameter sizes & positions, I just define the PCML document once (or, even better, let the compiler generate it for me), load the document, set the variables, and make the call.

david


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