Is creating another wrapper program *PGM an option (that calls the program)?It is still something to create.Then you can get input and output as parms among other stuff for better control via SQL parameter style




On Thursday, January 22, 2026 at 05:09:23 PM GMT+1, Justin Taylor <jtaylor.0ab@xxxxxxxxx> wrote:

I'd wager this is a long shot, but it can't hurt to ask.

I have an RPGLE *PGM that has a parameter that's basically an output
parameter.  Is there a way to create an SQL UDF that can use that *PGM
object and make that output parameter an actual return value?

*SRVPGM is off the table.  Don't ask...  :(


Thanks

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