Ok...I want to call a procedure in a service program from embedded SQL. The
reason I'm using embedded SQL is that I want the called procedure to return
a result set that the caller will consume. I'm on 7.1, so I know I can
produce a result set in the called by using this:
Exec SQL
Set Result Sets For Return To Client
Array :ReturnDS For :WkRowcount Rows;
And consume the result set in the caller with this:
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.