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



No, I normally write my business logic as a service program designed to be easy to call directly from ILE RPG. Then I add simple wrapper routines to make it compatible with either stored procedure logic or UDTF logic.

That way, ILE programs can call the ILE interfaces, and non-ILE programs can use the stored procedures.

However, I *have* used stored procedures from ILE RPG in the past, and have published examples in the past. It's just not my normal way of doing things...

Finally, if it's important that your routines work both from embedded SQL languages, and from languages that use the CLI (ODBC, JDBC and PHP use the CLI engine under the covers) then you might consider using UDTFs instead of stored procedures, since they work from both environments.


Michael Ryan wrote:
Scott...do you call the stored proc from a green screen program as
well? If so, how do you do that? CLI? Got an example? 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-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.