×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Consider defining an External Stored Procedure to invoke the RPG program. That way you can use a database provider (ODBC, OLE DB, .NET Provider) to invoke the program.

Craig Pelkie




On Friday, April 11th, 2025 at 2:57 AM, Mahesh Angadi via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:



Hi,
We areconsidering two different approaches to expose our RPG program as an API andwould like to gather insights from IBM i experts before deciding:

- Solution#1 -- Utilizing the IBM i HTTP Apache server to expose the RPG program as an API. We are aware that various products leverage this method to build APIs.

- Solution#2 -- Developing an API within the .NET environment and directly invoking the RPG program from .NET using cwbx.dll (provided by IBM i Access Client Solutions). We have already built a framework using cwbx.dll to support our needs.

We are uncertain about which solution to choose and would greatly appreciate expert opinions on both approaches from a long-term perspective, including any real-world challenges that you may be encountered during implementation and usage.


Thanks,

Mahesh Angadi

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

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.