<?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: Local ODBC driver in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Local-ODBC-driver/m-p/243720#M17370</link>
    <description>&lt;P&gt;How do I use the File &amp;gt; Open &amp;gt; ODBC option without downloading the dataset? Have I missed an option?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;"(have EG connect to a SAS Workspace&amp;nbsp;server on UNIX, and connect to your ODBC source from there instead)."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have the syntax to do the above? I can only specify the drivers on the unix server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jan 2016 10:17:28 GMT</pubDate>
    <dc:creator>EdC</dc:creator>
    <dc:date>2016-01-15T10:17:28Z</dc:date>
    <item>
      <title>Local ODBC driver</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Local-ODBC-driver/m-p/243710#M17368</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using Base 9.3 and EG 5.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't have access to the Unix server that SAS is installed on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've installed an ODBC driver on my PC it can connect to the server I want, I just want to run passthrou with it and query the DB through SAS / EG.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The closest I've come is to go file &amp;gt; open &amp;gt; ODBC and view all my tables and download them ,which isn't workable because they're huge tables and I just want to query and generate reports.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be good.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 09:18:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Local-ODBC-driver/m-p/243710#M17368</guid>
      <dc:creator>EdC</dc:creator>
      <dc:date>2016-01-15T09:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Local ODBC driver</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Local-ODBC-driver/m-p/243718#M17369</link>
      <description>&lt;P&gt;So why download them? Query/report on the tables directly.&lt;/P&gt;
&lt;P&gt;If that isn't feasible&amp;nbsp;due to required logic/report constraints, you should require access to the&amp;nbsp;SAS server instead (have EG connect to a SAS Workspace&amp;nbsp;server on UNIX, and connect to your ODBC source from there instead).&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 09:57:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Local-ODBC-driver/m-p/243718#M17369</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-01-15T09:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Local ODBC driver</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Local-ODBC-driver/m-p/243720#M17370</link>
      <description>&lt;P&gt;How do I use the File &amp;gt; Open &amp;gt; ODBC option without downloading the dataset? Have I missed an option?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;"(have EG connect to a SAS Workspace&amp;nbsp;server on UNIX, and connect to your ODBC source from there instead)."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have the syntax to do the above? I can only specify the drivers on the unix server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 10:17:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Local-ODBC-driver/m-p/243720#M17370</guid>
      <dc:creator>EdC</dc:creator>
      <dc:date>2016-01-15T10:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Local ODBC driver</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Local-ODBC-driver/m-p/243731#M17371</link>
      <description>&lt;P&gt;Actually, I haven't used local ODBC drivers from EG much, but I assumed that by adding/opening them, does not necessarily&amp;nbsp;mean that they are downloaded&amp;nbsp;to the local PC, but I can be wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If using a SAS server, you need first a login to the server, primarily&amp;nbsp;a metadata user. The SAS server admin will help you with that.&lt;/P&gt;
&lt;P&gt;To access the ODBC data from UNIX may require some server configuration (and license), if not already been done. Again, check with your server admin.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, best practice is to register your ODBC server and data in SAS&amp;nbsp;metadata. By doing so, the connection should be available&amp;nbsp;to yo "automatically". If you are responsible to do the connection yourselft, see SAS online doc for SAS/ACCESS to ODBC for syntax and examples. See LIBNAME and/or PROC SQL pass-thru.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 11:10:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Local-ODBC-driver/m-p/243731#M17371</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-01-15T11:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Local ODBC driver</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Local-ODBC-driver/m-p/243757#M17373</link>
      <description>&lt;P&gt;It sounds like you don't have a way to access the database from your SAS server, so you are using EG (via ODBC) as a go-between. &amp;nbsp;That process forces the&amp;nbsp;&lt;STRONG&gt;entire&lt;/STRONG&gt; table to pass through the client (your desktop) and back up to the SAS session, just so that you can then run SQL and other PROCs on it. &amp;nbsp;It's very inefficient.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wrote a primer on this that's available as a SAS Note: &lt;A href="http://support.sas.com/kb/26/178.html" target="_self"&gt;Efficient Data Access from SAS Enterprise Guide&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also &lt;A href="https://youtu.be/OSTa1EUpKT8" target="_self"&gt;recorded a YouTube video&lt;/A&gt; -- many years ago -- that illustrates the concepts using our favorite type of data (M&amp;amp;Ms!).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FOSTa1EUpKT8%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DOSTa1EUpKT8&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FOSTa1EUpKT8%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="400" height="225" scrolling="no" title="Optimize Data Access within SAS Enterprise Guide" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have no way to get to the database from your UNIX SAS session, then the only other workaround I can suggest is perhaps create an ODBC view to the subset you need, perhaps via a local instance of Microsoft Access (if you have it). &amp;nbsp;Then use the MS Access ODBC driver to access&amp;nbsp;&lt;STRONG&gt;that&lt;/STRONG&gt; and create the subset for you. &amp;nbsp;This is a lot of layers of indirection, I know. &amp;nbsp;The most efficient solution would be to use SAS/ACCESS to whatever database you've got, and let SAS push through the query to the database. &amp;nbsp;But that's an additional SAS module and more configuration on your server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 12:55:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Local-ODBC-driver/m-p/243757#M17373</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-01-15T12:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Local ODBC driver</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Local-ODBC-driver/m-p/243761#M17374</link>
      <description>&lt;P&gt;If you need to access the DB from SAS regularly in your production environment, I highly recommend licensing and setting up SAS/ACCESS for the DBMS in question.&lt;/P&gt;
&lt;P&gt;Depending on the frequency of access and required currentness of data, it might be an option to have the data unloaded from the DBMS to flat files and read those into SAS tables on the server (in batch jobs run by central production). This does not require additional licenses and the hassles of setting up the DB access.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 13:14:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Local-ODBC-driver/m-p/243761#M17374</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-01-15T13:14:32Z</dc:date>
    </item>
  </channel>
</rss>

