Solved

SSRS 2005 calling stored procedure in Informix with parameters

Posted on 2011-09-29
4
976 Views
Last Modified: 2013-12-28
Im trying to call a stored procedure from within SSRS 2005 that lives in Informix.  I can retrieve data from tables, but when I attempt to create a dataset of type "stored procedure" SSRS does not recognize the procedures in my informix database.  The procedures are not in the drop down box.   If I try to create a Text command type and enter in the statement execute procedure root.bobs(1, 'RFR', 'CRTEST'), SSRS will not parse the statement stating that the "routine (root.bobs) cannot be resolved".  I have granted execute on the procedure to public, the user defined in the ODBC driver has permissions to execute it.

using 32 bit Informix Driver from CSDK 3.7 on Windows 7
0
Comment
Question by:rbaskett
  • 2
  • 2
4 Comments
 
LVL 25

Expert Comment

by:TempDBA
ID: 36861199
I had never got a chance with working on informix, but the call should be more or less same.
Is the execute procedure statement working in the database. If so, which should be (so you have mentioned here), can you check for the full naming convention.
Like in sql server if you doesn't give schema name i.e. exec dbo.procedurename, it sometimes finds problem in searching it.
0
 

Author Comment

by:rbaskett
ID: 36863455
yes, the statement executes directly in Informix by several users including the one defined in the ODBC DSN.
0
 
LVL 25

Accepted Solution

by:
TempDBA earned 500 total points
ID: 36863627
and if you are calling the procedure from some other database where the stored procedure doesn't resides, how you do it. Please try the same statement in the reporting service too.
0
 

Author Comment

by:rbaskett
ID: 36867298
fully qualified database+owner+sproc name worked - thanks!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question