|
>We mostly use JDBC stored procedures to run RPG/CL. >I found one inconvenience with this approach: I >have to create a stored procedure for >each RPG/CL in the database. You can create a more generic approach if you pass the "real" program name as a parameter to a generic stored procedure (that is essentially a CALL &PARM1) and pass the other parameters through. >BTW, is there a way to list all the defined procedures in a database? Depending on what you want to know, look at the system catalogue files SYSPROCS, SYSPARMS, SYSROUTINE... --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.