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



When I do this sort of thing, I set up my RPG programs as stored procedures and then just call them from an SQL statement.

Another approach would be to set up the RPG logic as web services.

Or, you could use the i5_xxx() routines from PHP -- but personally, I prefer to stay clear of that, since web services or stored procedures are very easy and can be run from anywhere, whereas the i5_xxx routines can only be used from PHP, and even in the PHP world they're obscure.


elehti@xxxxxxxxxxxxxxxxxx wrote:
PHP and SQL web developer re-creates all business logic found in RPG
programs.

Our web developer for our Customer Relationship Management (CRM) system
on our intranet (on a Wintel server) wants to re-create in PHP (or Java)
and SQL the same business logic and business rules that currently exist
on our System i in an RPG program. The RPG program computes each
customer's price from five data files on our System i. He envisions
doing an SQL SELECT statement that joins all five files together as
needed.

Our web developer has no understanding of how to write a browser
application that submits parameters to an RPG program on the System i
and retrieves the result back in a data queue or data file for him to
display on the HTML page.

What resource or technical book/document can you show me that shows that
web developers can retrieve data from RPG programs.

Thanks, EricL





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.