Stored procedures with output parameters and result set
It is possible to execute IBM® DB2® stored procedures with output parameters and a result set.
The output parameter values are available after the
OPEN
cursor
instruction: OPEN curs USING n IN, d OUT, c INOUT
FETCH curs INTO rec.*