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



PHP can be used in the web or as a script so Web400 isn't the only place.

Write a stored procedure in RPG and I believe you can return resultsets, join tables, etc.

Or write some PHP classes (your business layer in PHP) to wrap the SQL.

Regards,
Richard Schoen
RJS Software Systems Inc.
Where Information Meets Innovation
Document Management, Workflow, Report Delivery, Forms and Business Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT

------------------------------

message: 3
date: Thu, 29 Nov 2012 14:23:57 -0600
from: "Eric Lehti" <elehti@xxxxxxxxxxxxxxxxxx>
subject: What style of RPG program can communicate with PHP?

What style of RPG program can communicate with PHP?
Pass a result set back to the PHP application?

We are writing a Customer Relationship Management (CRM) application in
agnostic PHP (not the ZEND optimized for IBM i)

All of the CRM-specific tables are physical files on IBM I in our CRM
library.

Substantial portions of the CRM application will join to our JD Edwards
World ERP at release A92 for information.
e.g. Retrieve from F42* files containing Sales history.
e.g. Validate postal codes against F0117 Address Book file
(exist/NotExist CHAIN)

e.g. provide a JDE# to retrieve a name from F0101 Address Book
e.g. Scrub and Edit some CRM data entry against various UDCs in F0005
User-Defined-Codes.

I am willing to write some RPG programs that our web guy could use as
program calls so that he doesn't need to do everything with SQL
statements, however, I do not know style of RPG program he could use.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.