He envisions doing an SQL SELECT statement that joins all
five files together as needed.

If the pricing routine is that simple that a join of a couple of tables
will do it, let him. But I doubt it's that easy. The actual calculation
probably depends on other items in the order, customer type, order
history, item quantity, date, etc. Recreating this logic is insane,
you've got it already in place, why recreate it.

submits parameters to an RPG program on the System i
and retrieves the result back in a data queue or data file

Why would you use a dtaq or file for this process, just present the RPG
program as a stored proc and let him call it. We've often found that the
"difficulty" in accessing logic on the i comes from the fact that people
think of it as being different, so they look for these complex ways to
access it. At the end of the day it's a database server, use it like
one. Tell your PHP guy to call the stored proc passing the needed parms
and getting back the price. If he doesn't know how to call a stored
proc, time to look for a new programmer. :-)

-Walden

--
Walden H Leverich III
Tech Software
(516) 627-3800 x3051
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)



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.