I tried with the stored proc call in an input card and it didn't return the result set, only the output parameters. The trace shows the call being executed and succeeding.
This is the database command on the input card.
-DBTYPE DB2 -SOURCE xxx -USER xxx -PASSWORD xxx -STMT CALL DBL.SP2...
I'm calling a DB2 stored procedure using a DBLOOKUP. The call is succeeding but its only returning the output parameters. How do I retrieve the result set?
DBLOOKUP("Call db2_proc(var1,var2,?,?);", ConnectString)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.