Hello,
Can I make a service program that keeps it's memory and return the next result set. makes sense right.
I want a procedure that will return a data structure from a SQL statement. The next time I invoke the procedure I want it to return the next data structure or a blank one for EOF.
In old school rpg I would just do a return without setting LR on, then use a shut down call that would set LR on. I have no clue how to do this in a procedure.
Thanks.
Can I make a service program that keeps it's memory and return the next result set. makes sense right.
I want a procedure that will return a data structure from a SQL statement. The next time I invoke the procedure I want it to return the next data structure or a blank one for EOF.
In old school rpg I would just do a return without setting LR on, then use a shut down call that would set LR on. I have no clue how to do this in a procedure.
Thanks.




Comment