>>Care to elaborate? Could you provide an example of the appropriate syntax? Your help is greatly appreciated.
>
>You would use SETRESULTSET() function. For example,
>
>* Code that is not shown creates a cursor MyCursor
>...
>* Return MyCursor
>RETURN SETRESULTSET("MyCursor")
1. That is *gold*.
2. That is underdocumented and underhyped. I searched for a few hours on the web and usenet and even some in the UT didn't find this until you pointed it out. Great stuff.
Thanks!