<?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: Connect SAS to SQL without SAS/Access in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Connect-SAS-to-SQL-without-SAS-Access/m-p/668257#M79100</link>
    <description>&lt;P&gt;Do you have an ODBC DSN named MH in your ODBC Data Sources widget?&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jul 2020 05:07:13 GMT</pubDate>
    <dc:creator>ketpt42</dc:creator>
    <dc:date>2020-07-10T05:07:13Z</dc:date>
    <item>
      <title>Connect SAS to SQL without SAS/Access</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Connect-SAS-to-SQL-without-SAS-Access/m-p/668255#M79099</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I was able to connect SAS and SQL Server in the past without SAS/ACCESS to ODBC, but cannot reproduce it now.&lt;/P&gt;&lt;P&gt;One piece of code that I've found:&lt;/P&gt;&lt;P&gt;libname mylib pcfiles server=localhost port=9621 dsn=MH user=UserID password=MyPassword ; run;&lt;/P&gt;&lt;P&gt;The error message that I get:&lt;/P&gt;&lt;P&gt;ERROR: CLI error trying to establish connection: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P&gt;We have a licence to Enterprise Guide and SAS/ACCESS Interface to PC Files (not to ODBC).&lt;/P&gt;&lt;P&gt;I would greatly appreciate any help with this.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 04:48:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Connect-SAS-to-SQL-without-SAS-Access/m-p/668255#M79099</guid>
      <dc:creator>VSht</dc:creator>
      <dc:date>2020-07-10T04:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Connect SAS to SQL without SAS/Access</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Connect-SAS-to-SQL-without-SAS-Access/m-p/668257#M79100</link>
      <description>&lt;P&gt;Do you have an ODBC DSN named MH in your ODBC Data Sources widget?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 05:07:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Connect-SAS-to-SQL-without-SAS-Access/m-p/668257#M79100</guid>
      <dc:creator>ketpt42</dc:creator>
      <dc:date>2020-07-10T05:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Connect SAS to SQL without SAS/Access</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Connect-SAS-to-SQL-without-SAS-Access/m-p/668260#M79101</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Yes, we defined an odbc connection on my local machine called MH&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 05:28:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Connect-SAS-to-SQL-without-SAS-Access/m-p/668260#M79101</guid>
      <dc:creator>VSht</dc:creator>
      <dc:date>2020-07-10T05:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Connect SAS to SQL without SAS/Access</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Connect-SAS-to-SQL-without-SAS-Access/m-p/668261#M79102</link>
      <description>I don't have a SQL Server DSN setup on my machine, but I was able to get this to work on a Teradata DSN. Did you create the DSN in the 32 or 64 bit ODBC Administrator? And does that match with the bitness of your SAS/ACCESS for PC Files version?</description>
      <pubDate>Fri, 10 Jul 2020 05:42:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Connect-SAS-to-SQL-without-SAS-Access/m-p/668261#M79102</guid>
      <dc:creator>ketpt42</dc:creator>
      <dc:date>2020-07-10T05:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Connect SAS to SQL without SAS/Access</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Connect-SAS-to-SQL-without-SAS-Access/m-p/668262#M79103</link>
      <description>&lt;P&gt;Thank you. This is an interesting question. I have not thought about it. I will have to ask our Administrator on Monday&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 05:45:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Connect-SAS-to-SQL-without-SAS-Access/m-p/668262#M79103</guid>
      <dc:creator>VSht</dc:creator>
      <dc:date>2020-07-10T05:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Connect SAS to SQL without SAS/Access</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Connect-SAS-to-SQL-without-SAS-Access/m-p/668333#M79114</link>
      <description>&lt;P&gt;Interesting -- I didn't know about this little loophole to connect via ODBC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure that your ODBC connection is defined in the same bit architecture as your SAS session.&amp;nbsp; So, 64-bit SAS? You need a 64-bit ODBC driver and data source defined.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 11:45:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Connect-SAS-to-SQL-without-SAS-Access/m-p/668333#M79114</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2020-07-10T11:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Connect SAS to SQL without SAS/Access</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Connect-SAS-to-SQL-without-SAS-Access/m-p/668694#M79147</link>
      <description>&lt;P&gt;There are a few old posts about this trick including this one:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Analytics-U/SQL-Server-ODBC-DSN-Connection-Error-CLI-error-trying-to/m-p/252265" target="_blank"&gt;https://communities.sas.com/t5/SAS-Analytics-U/SQL-Server-ODBC-DSN-Connection-Error-CLI-error-trying-to/m-p/252265&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need to ensure the SAS PC Files Server is running and that the ODBC DSN is defined in the Windows ODBC Administrator on the computer the SAS PC Files Server is running on.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2020 21:20:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Connect-SAS-to-SQL-without-SAS-Access/m-p/668694#M79147</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-07-12T21:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Connect SAS to SQL without SAS/Access</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Connect-SAS-to-SQL-without-SAS-Access/m-p/669085#M79172</link>
      <description>&lt;P&gt;Just in case if it helps someone in the future, the error persisted until we&amp;nbsp;set up the connection as System DSN&amp;nbsp;using Administrator rights.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2020 05:04:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Connect-SAS-to-SQL-without-SAS-Access/m-p/669085#M79172</guid>
      <dc:creator>VSht</dc:creator>
      <dc:date>2020-07-14T05:04:45Z</dc:date>
    </item>
  </channel>
</rss>

