Solved

SSRS 2005 calling stored procedure in Informix with parameters

Posted on 2011-09-29
4
967 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
PERFORMANCE OF SQL QUERY 13 58
T-SQL to Update Table Dynamically 2 32
Date Differences SSRS 3 43
SQL Backup skipping a few tables 7 25
Introduction In the following article I’ll be discussing and demonstrating several different ways of how images can be put on a report. I’m using SQL Server Reporting Services 2008 R2 CTP, more precisely version 10.50.1352.12, but the methods ex…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now