<?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 SAS OLE DB in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SAS-OLE-DB/m-p/143080#M22435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;This is probably quite obscure, I don't know if anyone can help. I'm trying to import a SAS (v9.1) file directly into Qlikview. I'm sure I've done this before and it worked, but now it doesn't.&lt;/P&gt;&lt;P&gt;I select OLE DB from the script editor and click "connect".&lt;/P&gt;&lt;P&gt;I select the driver for SAS datasets "SAS Local Data Provider 9.1"&lt;/P&gt;&lt;P&gt;I click "next" and in the "data source" box I put the name of the folder where my sas files reside.&lt;/P&gt;&lt;P&gt;I click OK and then the "select" button. The list of sas datasets appears with their column headings (so it obviously found them okay). I pick the dataset I want and then click OK, which pastes the code into the script as follows:&lt;/P&gt;&lt;P&gt;&lt;B&gt;CONNECT&lt;/B&gt; &lt;B&gt;TO&lt;/B&gt; [Provider=sas.LocalProvider.9.1;Data Source=T:\HOUSEHOLD\MONTHLY SAS FILES\DATA;Mode=Read|Share Deny None];&lt;/P&gt;&lt;P&gt;&lt;B&gt;SQL&lt;/B&gt; &lt;B&gt;SELECT&lt;/B&gt; *&lt;/P&gt;&lt;P&gt;&lt;B&gt;FROM&lt;/B&gt; "HCMASTER_EVENT";&lt;/P&gt;&lt;P&gt;I then click reload and get the following error dialogue:&lt;/P&gt;&lt;P&gt;SQL error: A provider specific error occurred (CODACommand::Execute() : Execute not allowed).&lt;/P&gt;&lt;P&gt;Script line: SELECT * FROM "'HCMASTER_EVENT"&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM "HCMASTER_EVENT"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else tried importing SAS files? Does anyone know what the problem is here?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2009 23:11:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-04-30T23:11:12Z</dc:date>
    <item>
      <title>SAS OLE DB</title>
      <link>https://community.qlik.com/t5/QlikView/SAS-OLE-DB/m-p/143080#M22435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;This is probably quite obscure, I don't know if anyone can help. I'm trying to import a SAS (v9.1) file directly into Qlikview. I'm sure I've done this before and it worked, but now it doesn't.&lt;/P&gt;&lt;P&gt;I select OLE DB from the script editor and click "connect".&lt;/P&gt;&lt;P&gt;I select the driver for SAS datasets "SAS Local Data Provider 9.1"&lt;/P&gt;&lt;P&gt;I click "next" and in the "data source" box I put the name of the folder where my sas files reside.&lt;/P&gt;&lt;P&gt;I click OK and then the "select" button. The list of sas datasets appears with their column headings (so it obviously found them okay). I pick the dataset I want and then click OK, which pastes the code into the script as follows:&lt;/P&gt;&lt;P&gt;&lt;B&gt;CONNECT&lt;/B&gt; &lt;B&gt;TO&lt;/B&gt; [Provider=sas.LocalProvider.9.1;Data Source=T:\HOUSEHOLD\MONTHLY SAS FILES\DATA;Mode=Read|Share Deny None];&lt;/P&gt;&lt;P&gt;&lt;B&gt;SQL&lt;/B&gt; &lt;B&gt;SELECT&lt;/B&gt; *&lt;/P&gt;&lt;P&gt;&lt;B&gt;FROM&lt;/B&gt; "HCMASTER_EVENT";&lt;/P&gt;&lt;P&gt;I then click reload and get the following error dialogue:&lt;/P&gt;&lt;P&gt;SQL error: A provider specific error occurred (CODACommand::Execute() : Execute not allowed).&lt;/P&gt;&lt;P&gt;Script line: SELECT * FROM "'HCMASTER_EVENT"&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM "HCMASTER_EVENT"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else tried importing SAS files? Does anyone know what the problem is here?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 23:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAS-OLE-DB/m-p/143080#M22435</guid>
      <dc:creator />
      <dc:date>2009-04-30T23:11:12Z</dc:date>
    </item>
    <item>
      <title>SAS OLE DB</title>
      <link>https://community.qlik.com/t5/QlikView/SAS-OLE-DB/m-p/143081#M22436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Incidentally, I can use OLE DB to load SAS datasets into Excel with no problems.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 23:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAS-OLE-DB/m-p/143081#M22436</guid>
      <dc:creator />
      <dc:date>2009-04-30T23:11:54Z</dc:date>
    </item>
    <item>
      <title>SAS OLE DB</title>
      <link>https://community.qlik.com/t5/QlikView/SAS-OLE-DB/m-p/143082#M22437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sounds like a security issue on your SAS data source. I'm not familiar wtih SAS at all, but based on the message (if it's accurate), your database might now allow something like executing dynamic SQL statements? Check all various permissions - either ad the SAS level, or at the Data Provider level. Try ODBC as an alternative.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2009 23:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAS-OLE-DB/m-p/143082#M22437</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-04-30T23:15:11Z</dc:date>
    </item>
    <item>
      <title>SAS OLE DB</title>
      <link>https://community.qlik.com/t5/QlikView/SAS-OLE-DB/m-p/143083#M22438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAS support says that "The SAS Local Data Provider for OLE DB does not support SQL, so any query that uses SQL syntax (for example, SELECT * FROM &lt;I&gt;table-name&lt;/I&gt;) will fail"&lt;/P&gt;&lt;P&gt;see : http://support.sas.com/kb/30/795.html&lt;/P&gt;&lt;P&gt;May be an Access DB can act as frontend, try to "attach" SAS dataset to an Access Database using ADO in cmdTableDirect mode, and run SQL query from Access attached table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2009 03:18:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAS-OLE-DB/m-p/143083#M22438</guid>
      <dc:creator>yblake</dc:creator>
      <dc:date>2009-05-01T03:18:36Z</dc:date>
    </item>
    <item>
      <title>SAS OLE DB</title>
      <link>https://community.qlik.com/t5/QlikView/SAS-OLE-DB/m-p/143084#M22439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you ever figure this out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 01:48:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAS-OLE-DB/m-p/143084#M22439</guid>
      <dc:creator />
      <dc:date>2011-01-05T01:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS OLE DB</title>
      <link>https://community.qlik.com/t5/QlikView/SAS-OLE-DB/m-p/143085#M22440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone figured out how to get around this yet? We are probably going to export the dataset to a .CSV document, but it is not an ideal solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 14:09:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SAS-OLE-DB/m-p/143085#M22440</guid>
      <dc:creator />
      <dc:date>2013-10-09T14:09:17Z</dc:date>
    </item>
  </channel>
</rss>

