<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Pass Through iHistorian SQL Error in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Pass-Through-iHistorian-SQL-Error/m-p/234816#M54977</link>
    <description>&lt;P&gt;One obvious problem in your SAS log is that you are using SAS/ACCESS to ODBC but the database driver error references OLEDB. So what type of database driver are you using with iHistorian - OLEDB or ODBC? You can only use an ODBC driver with &lt;SPAN&gt;SAS/ACCESS to ODBC.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 15 Nov 2015 18:30:46 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2015-11-15T18:30:46Z</dc:date>
    <item>
      <title>Pass Through iHistorian SQL Error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Pass-Through-iHistorian-SQL-Error/m-p/234501#M54944</link>
      <description>&lt;P&gt;I'm trying to use a pass through to use iHistorian to access data I need. The code is listed at the bottom. I'm recieving the following error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: CLI describe error: [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot initialize the data source object of OLE DB&lt;BR /&gt;provider "IhOLEDB.iHistorian" for linked server "fsp1".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Has anyone tried this with iHistorian? Does anyone know what's going on here?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------&lt;BR /&gt;proc sql;&lt;BR /&gt;connect to odbc as conn(dsn="FSPPDW" uid=FontaneF);&lt;BR /&gt;create table work.Stuff as&lt;BR /&gt;select * from connection to conn (&lt;BR /&gt;select * from OPENQUERY(fsp1,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;'SELECT&lt;BR /&gt;tagname,&lt;BR /&gt;timestamp,&lt;BR /&gt;value as Signal&lt;/P&gt;&lt;P&gt;FROM ihrawdata&lt;BR /&gt;WHERE timestamp &amp;gt; 10/23/2015 AND timestamp &amp;lt; 10/25/2015&lt;BR /&gt;AND (tagname = Fsdfeee:000)&lt;BR /&gt;AND intervalmilliseconds = 60000&lt;BR /&gt;AND samplingmode=interpolated'&lt;/P&gt;&lt;P&gt;)&lt;BR /&gt;);&lt;BR /&gt;disconnect from conn;&lt;BR /&gt;;&lt;BR /&gt;quit;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2015 21:31:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Pass-Through-iHistorian-SQL-Error/m-p/234501#M54944</guid>
      <dc:creator>alewis3663</dc:creator>
      <dc:date>2015-11-12T21:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Through iHistorian SQL Error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Pass-Through-iHistorian-SQL-Error/m-p/234586#M54958</link>
      <description>&lt;P&gt;Have you tried to reach it from another (non SAS ) application?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 13:04:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Pass-Through-iHistorian-SQL-Error/m-p/234586#M54958</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-11-13T13:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Through iHistorian SQL Error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Pass-Through-iHistorian-SQL-Error/m-p/234617#M54959</link>
      <description>&lt;P&gt;I accessed the data through iHistorian Interactive SQL and it works. I have not tried it from another software. I'm only really familar with SAS and JMP, and most of my data processing is through SAS, so I would prefer to not incorporate a 3rd software.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 14:24:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Pass-Through-iHistorian-SQL-Error/m-p/234617#M54959</guid>
      <dc:creator>alewis3663</dc:creator>
      <dc:date>2015-11-13T14:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Through iHistorian SQL Error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Pass-Through-iHistorian-SQL-Error/m-p/234756#M54971</link>
      <description>You should for trouble shooting purposes. Just try to open your source in Excel or any other OLE db/odbc client.</description>
      <pubDate>Sat, 14 Nov 2015 10:04:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Pass-Through-iHistorian-SQL-Error/m-p/234756#M54971</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-11-14T10:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Through iHistorian SQL Error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Pass-Through-iHistorian-SQL-Error/m-p/234816#M54977</link>
      <description>&lt;P&gt;One obvious problem in your SAS log is that you are using SAS/ACCESS to ODBC but the database driver error references OLEDB. So what type of database driver are you using with iHistorian - OLEDB or ODBC? You can only use an ODBC driver with &lt;SPAN&gt;SAS/ACCESS to ODBC.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Nov 2015 18:30:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Pass-Through-iHistorian-SQL-Error/m-p/234816#M54977</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-11-15T18:30:46Z</dc:date>
    </item>
  </channel>
</rss>

