|
> If RPG can call a stored procedure, which I am > assuming it can but I haven't ever done it, then it > should be able to make use of the Extender, correct? There's some interesting terminology that needs to be agreed upon before embarking on this jaunt down Pedantry Lane. RPG cannot call an SQL stored procedure; only SQL can. Of course, RPG can invoke SQL which in turn can call a stored procedure. But the Very Cool nature of OS400 makes stored procedures a different animal than on other databases. We write an RPG program, create the program object and then use SQL to register it as a stored procedure. Because our stored procedures are implemented as *PGM objects, and because we can call programs from RPG, we can call the underlying program object! So while we can't really call the SP, we can call the underlying program which implements the SP. I have not tried to call the underlying program in a LANGUAGE SQL procedure though. --buck
As an Amazon Associate we earn from qualifying purchases.
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.