Search found 20 matches

by unclelude
Fri Mar 07, 2003 12:01 pm
Forum: HostMonitor
Topic: Getting error when executing stored procedure with ODBC Quer
Replies: 2
Views: 16073

Alex,

I think I have fixed the problem. The stored procedure was generating a system message before returning the recordset, when I was deleting a #temp table in the code. I have chenged the stored procedure and it is working now.

Thanks,

Adnan
by unclelude
Thu Mar 06, 2003 10:52 am
Forum: HostMonitor
Topic: Getting error when executing stored procedure with ODBC Quer
Replies: 2
Views: 16073

Alex, I have an ODBC Query Test, which executes a stored procedure as follows. exec SysAdmin..Job_Monitor_Interval @jobname = 'FX Broadcast and Status Job', @view='T' I am getting the following error when the job runs. Error: [Microsoft][ODBC SQL Server Driver]Prepared statement is not a cursor- spe...
by unclelude
Wed Feb 26, 2003 8:32 am
Forum: HostMonitor
Topic: Subject text changes for e-mail notifications
Replies: 5
Views: 20715

I have a "send e-mail" action for each test. Do I have to "create" a seperate profile for each test ? can't I use the same profile and just change the "Subject Text". If first is the answer, then it means that I will have to have as many profiles as the tests, which is ...
by unclelude
Tue Feb 25, 2003 9:20 pm
Forum: HostMonitor
Topic: Subject text changes for e-mail notifications
Replies: 5
Views: 20715

Alex, I think it should be quite easy to recreate. I have two tests. Both of them have different DataSource Names, Test Names, Comments, and when x = y test conditions. The problem is with the "Subject" text. It takes the "Subject" text from the latest entry made to HM. For examp...
by unclelude
Mon Feb 24, 2003 1:11 pm
Forum: HostMonitor
Topic: Subject text changes for e-mail notifications
Replies: 5
Views: 20715

Alex,

It seems that e-mail notification picks up the "Subject" text from the previos e-mail notification that was sent out. Is that possible ? It also overwrites that entries for the custom configuaration.
by unclelude
Thu Feb 20, 2003 10:53 pm
Forum: HostMonitor
Topic: SQL query does not run via host monitor
Replies: 23
Views: 134695

Hi Alex, I think the code needs a little bit of tweeking. If you have a couple of lines of SQL code in HM, it removes the space between the lines. For example, the code select * from tbl1 where a = 1 will become select * from tbl1where a = 1 to test it, enter few lines of code in HM, then do a cut/p...
by unclelude
Wed Feb 19, 2003 3:14 pm
Forum: HostMonitor
Topic: SQL query does not run via host monitor
Replies: 23
Views: 134695

Hi Alex,

You are correct, HM expects all the code in one line. I tried your suggestion and it worked. I am very greatful for your help.

Thanks,

Adnan
by unclelude
Tue Feb 18, 2003 2:24 pm
Forum: HostMonitor
Topic: SQL query does not run via host monitor
Replies: 23
Views: 134695

Alex,

I downloaded the file and now I am using HM 3.65

Tried, but same error "Incorrect Syntax near 'emmWirelessType_EwnIDFK' with and without SQLFetch... option.

by unclelude
Tue Feb 18, 2003 1:48 pm
Forum: HostMonitor
Topic: SQL query does not run via host monitor
Replies: 23
Views: 134695

Hi Alex, 1. The link , http://www.ks-soft.net/download.hm366.zip does not work. 2. What version of HM do you use? 3.56 3. The following SQL creates the cartesian product. SELECT 'norcomq' as protcol, FROM FX_PRD05..tblWooStatusLog (NOLOCK) INNER JOIN FX_PRD05..vewEmpModem (NOLOCK) ON FX_PRD05..tblWo...
by unclelude
Tue Feb 18, 2003 8:46 am
Forum: HostMonitor
Topic: SQL query does not run via host monitor
Replies: 23
Views: 134695

Hello Alex, I have tried both tests and they both pretty much give the same error number, though with different text. Here are the details. I tried the following SQL SELECT 'norcomq' as protcol, datediff(mi, MAX(dateadd(hh, -5, tblWooStatusLog.wslInsertedWhen ) ), getdate() )as MinutesPast , MAX(dat...
by unclelude
Mon Feb 17, 2003 9:27 pm
Forum: HostMonitor
Topic: SQL query does not run via host monitor
Replies: 23
Views: 134695

Alex,

I just tested my SQL with two downloaded ODBC Query Tools, Query Tool (ODBC) 3.5.7.9; and SQL Query Tool (ODBC) 4.1. It worked in both of them, so now I am thinking may be something in HostMonitor is not configured properly for ODBC ?
by unclelude
Mon Feb 17, 2003 9:15 pm
Forum: HostMonitor
Topic: SQL query does not run via host monitor
Replies: 23
Views: 134695

Hi Alex, I tried a simple SQL, SELECT count(*) from tblModem, and it worked fine. I think the problem is between NATIVE SQL code and ODBC code. The SQL I am having problems with, works fine in SQL Query Analyzer, but it won't work in HostMonitor because HM uses ODBC. I will have to test my SQL for O...
by unclelude
Sun Feb 16, 2003 9:48 am
Forum: HostMonitor
Topic: SQL query does not run via host monitor
Replies: 23
Views: 134695

Hi Alex,

I am using SQL 7 & SQL 2000. I also have SQL 2000 installed on my desktop.

As per my previous question, how can I test my SQL for ODBC compliance ? any tools or utilities. I have only worked in the SQL Enterprise and SQL Query Analyzer environment.
by unclelude
Fri Feb 14, 2003 6:56 pm
Forum: HostMonitor
Topic: SQL query does not run via host monitor
Replies: 23
Views: 134695

Hi Alex, I get the following error in a dialog box: Error 4294967295 [Microsoft][ODBC Driver Manager] Function Sequence Error I don't even know how to test my code for ODBC compliance or how to test my SQL so that it can work in Host Monitor. Any ideas. I really like Host Monitor, but this has put a...
by unclelude
Fri Feb 14, 2003 8:16 am
Forum: HostMonitor
Topic: SQL query does not run via host monitor
Replies: 23
Views: 134695

Hello, I am trying to run the following SQL, but it gives me an error. The code runs fine via SQL Query Analyzer. This is pure SQL Server code. Do I have to follow a certain syntax for ODBC ? If yes, then this puts a huge, limit on what we can do with host monitor. SELECT 'mobitex' as protcol, dated...