Hi everyone, I may soon find myself in the situation in question: a web app running on a Linux or Windows server needs to access data on the Power Server. Obviously, this involves structured information based on a well-defined and consolidated calculation in a business logic managed by three RPG programs that have been doing their job effectively for 20 years. The only change was made about twenty years ago, and a parameter was added to the programs that simply creates an PF-DTA object as an output file with this data to be later managed.
So, back to the point: what's the best way to allow a Node.js script running on a Linux (or Windows) server to connect with a specific user to a Power Server on IBM i 7.3 or 7.5 and make a call pgm1(parm1); wait a few milliseconds for the execution time and then retrieve a database file? Has anyone had similar experiences? Perhaps encapsulate the pgm in an SQL function?
Thanks in advance to anyone who can share their experiences.

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