I have a stored procedure, which i have imported by name. This is a very simple stored procedure which counts all of the rows within a table and returns the number. Is it possible to assign this value to a variable within DI?
I’m still having a little trouble though, when i hover over my stored proc it seems to only want two output values i.e the retcode and errmsg. When i go into my imported stored procedure there are three columns, AL_SP_RETCODE and AL_SP_ERRMSG have a green rightheaded arrow in front of them. And AL_SP_RETURN has a blue/red left headed arrow.
Can you look at the definition for the SP on the database? Does it have output values in the definition? Not talking about a return type from the SP, but actual output variables? Since we are on DB2 for most of our SP’s, I don’t know how much directly relates, but we cannot return rowsets or the like, we have to specify output type parameters in the definition of the SP.