Thanks for the reply. But that would mean, the original sp needed to be modified which is not possible in my case since it is considered legacy and changing it would break existing applications.
Are there any other mechanisms to retrie the rc and values returned from the SP? For example, I came accross temp tables but could not get it to work.
Any thoughts?
Thanks