Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to call oracle procedure in impromptu report

Status
Not open for further replies.

Polavarapu

IS-IT--Management
Oct 31, 2002
13
IN
Hi,
I am using Oracle Stored Procedure as a data source in my
impromptu report.In my procedure 1 input and 1 output
is there.So how can I call that procedure in my report
Thank you.
 
See faq401-907. It's a copy of a Cognos knowledgebase article on this topic.

Regards,

Dave Griffin


The Decision Support Group
Reporting Consulting with Cognos BI Tools
"Magic with Data"
[pc2]
Want good answers? Read FAQ401-2487 first!
 
Hi,
Thank You for your reply.
In impromptu i am giving like this
call TEST_PROC1(?i_PROD_ITEM_MODEL_NUMBER? IN)


Error number -9:

DMS-E-GENERAL, A general exception has occurred during operation 'execute'.
ORA-06550: line 1, column 7:
PLS-00201: identifier 'TEST_PROC1' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

Note:- I have 1 input and 1 output.So how can i declare
the output parameter.

Please give me the solution.

Thank You
 
I don't use this option much, but when I do, I've found that for Oracle I have to use the syntax:

Begin sp_name(param1,param2,...); End;

in order to get it to work. This was for version 7. Try it and let me know if it works for you.

Regards,

Dave Griffin




The Decision Support Group
Reporting Consulting with Cognos BI Tools
"Magic with Data"
[pc2]
Want good answers? Read FAQ401-2487 first!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top