Invoke DB2 stroed Procedure from RI Cognos Data Manager
Hi All,
I have requirements in the project, need to pass parameters to DB2 Stored Procedure (SP) then which can be invoke from Cognos Data Manager. is it possible to pass parameter to SP? If yes how do invoke it?
Ex: Sql('TARGET','CALL GIDMET.SPGETACCNAME(9999,?)')
Error: CLI0100E Wrong number of parameters. SQLSTATE=07001
Thanks in advance to provide the support.
I have requirements in the project, need to pass parameters to DB2 Stored Procedure (SP) then which can be invoke from Cognos Data Manager. is it possible to pass parameter to SP? If yes how do invoke it?
Ex: Sql('TARGET','CALL GIDMET.SPGETACCNAME(9999,?)')
Error: CLI0100E Wrong number of parameters. SQLSTATE=07001
Thanks in advance to provide the support.
One answer
Hi All,
I have requirements in the project, need to pass parameters to DB2 Stored Procedure (SP) then which can be invoke from Cognos Data Manager. is it possible to pass parameter to SP? If yes how do invoke it?
Ex: Sql('TARGET','CALL GIDMET.SPGETACCNAME(9999,?)')
Error: CLI0100E Wrong number of parameters. SQLSTATE=07001
Thanks in advance to provide the support.
Are you trying to do this from a DM SQL node or in a DM function?