ODBC Query - RCC DSN list, Stored Procedure

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
harryhsyd
Posts: 2
Joined: Wed Mar 29, 2006 4:59 pm

ODBC Query - RCC DSN list, Stored Procedure

Post by harryhsyd »

I'm experiencing a couple of problems with the ODBC Query test with HostMon 5.92.
When I try and create/edit the test with RCC it shows the DSNs on my local machine and not those of the server.

Also, how do I get a return value from a MS SQL Stored Procedure?
I'm using

Declare @RetVariable int
RETURN @RetVariable

HostMon executes the SP fine but gives the following error.
Error: [ODBC SQL Server Driver] Prepared statement is not a cursor-specification

Cheers
Harry
Yoorix
Posts: 177
Joined: Wed Dec 14, 2005 8:28 am

Re: ODBC Query - RCC DSN list, Stored Procedure

Post by Yoorix »

harryhsyd wrote:Also, how do I get a return value from a MS SQL Stored Procedure?
I'm using
Declare @RetVariable int
RETURN @RetVariable
I think you should try SELECT @RetVariable instead of RETURN

Regards,
Yoorix
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

When I try and create/edit the test with RCC it shows the DSNs on my local machine and not those of the server.
Yes, RCC does not retrieve list of data sources from remote system (yet). But you may type it manually.

Regards
Alex
Post Reply