Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes



One answer

Permanent link
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?

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jul 13 '11, 3:08 a.m.

Question was seen: 5,979 times

Last updated: Jul 13 '11, 3:08 a.m.

Confirmation Cancel Confirm