We have several SQLRPGLE programs that we have created procedures over to 
return parms and result sets to external C#.net programs.  The question came up 
asking if we can call a procedure from another SQLRPGLE program and return the 
parms and result set(s)?  I know I can do an embedded SQL Call to the procedure 
and get the parms back, I'm not sure how to get the result set back.  I also 
know I can change the program to return arrays or create temporary tables that 
I can then access from my calling program, but I don't want to change the 
programs.  Is there a way to access the result set passed back by the procedure 
via a SQLRPGLE program?  A related question, is there a way to access a Cursor 
created in ProgramA from ProgramB?

David Smith
Tri-State Hospital Supply Corp.
IT Consultant
dsmith@xxxxxxxxx
517.546.5400


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.