I have a DB2 stored procedure that returns a dataset (opened and returned cursor) of a buncha rows. It's now become necessary to determine the number of rows returned. Is there an easy way to handle this?
My logic here is invalid, but hopefully you'll get the point that I'm trying to accomplish:
select count(*) from DBName.STOREPROCEDURENAME;
Can it be that simple? Do you have any examples?
Thoughts?
Thanks!
SkydiverMN
