<?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: How can I set up ODBC connection from within SAS Studio in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-can-I-set-up-ODBC-connection-from-within-SAS-Studio/m-p/560001#M10410</link>
    <description>&lt;P&gt;The good news with running on Windows makes it easy to define ODBC connections without using data sources at all. You can specify everything in the connection string. What database(s) are you connecting to? If it is SQL Server this post may be helpful:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Data-Management/Example-of-DSN-less-SQL-Server-connection-from-Linux/m-p/349245/highlight/true#M10386" target="_blank"&gt;https://communities.sas.com/t5/SAS-Data-Management/Example-of-DSN-less-SQL-Server-connection-from-Linux/m-p/349245/highlight/true#M10386&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2019 04:53:01 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2019-05-20T04:53:01Z</dc:date>
    <item>
      <title>How can I set up ODBC connection from within SAS Studio</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-can-I-set-up-ODBC-connection-from-within-SAS-Studio/m-p/559997#M10409</link>
      <description>&lt;P&gt;We have a new SAS VIYA environment set up on Windows, my access to it is via SAS Studio in a web browser.&lt;/P&gt;&lt;P&gt;I have some legacy code to run which uses ODBC libnames to connect to SQL Server databases, and we have SAS/ACCESS for ODBC installed.&lt;/P&gt;&lt;P&gt;How do I set up the ODBC connection so that the libname can point to it? Is there a tool within SAS Studio to allow me to do that or will I need to log into the Windows environment on the server that SAS is installed on to set up the ODBC connection there?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got the SAS side of it set up fine:&lt;/P&gt;&lt;P&gt;libname ABS2016 ODBC datasrc='ABSGEO2016';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just need to know how I go about setting up the ODBC connection. On the old server I had access to the OS to be able to do this, but not on the new one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 04:23:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-can-I-set-up-ODBC-connection-from-within-SAS-Studio/m-p/559997#M10409</guid>
      <dc:creator>9Squirrels</dc:creator>
      <dc:date>2019-05-20T04:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set up ODBC connection from within SAS Studio</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-can-I-set-up-ODBC-connection-from-within-SAS-Studio/m-p/560001#M10410</link>
      <description>&lt;P&gt;The good news with running on Windows makes it easy to define ODBC connections without using data sources at all. You can specify everything in the connection string. What database(s) are you connecting to? If it is SQL Server this post may be helpful:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Data-Management/Example-of-DSN-less-SQL-Server-connection-from-Linux/m-p/349245/highlight/true#M10386" target="_blank"&gt;https://communities.sas.com/t5/SAS-Data-Management/Example-of-DSN-less-SQL-Server-connection-from-Linux/m-p/349245/highlight/true#M10386&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 04:53:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-can-I-set-up-ODBC-connection-from-within-SAS-Studio/m-p/560001#M10410</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-05-20T04:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set up ODBC connection from within SAS Studio</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-can-I-set-up-ODBC-connection-from-within-SAS-Studio/m-p/560007#M10412</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;, unfortunately as I don't have access to the OS, the link isn't much help as it requires you to add/update settings files to the SAS install.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However your note that I could set up all the details within the libname ODBC statement helped me look elsewhere and I eventually found some examples here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/52/777.html" target="_blank"&gt;http://support.sas.com/kb/52/777.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And that's fixed my problem&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;75         libname gnaf odbc noprompt="driver=SQL Server;
 76                                      server=blahblah;
 77                                      database=GNAF_AUG2018;
 78                                      Trusted_Connection=yes"
 79                           schema=dbo;
 NOTE: Libref GNAF was successfully assigned as follows: 
       Engine:        ODBC 
       Physical Name: &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 06:14:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-can-I-set-up-ODBC-connection-from-within-SAS-Studio/m-p/560007#M10412</guid>
      <dc:creator>9Squirrels</dc:creator>
      <dc:date>2019-05-20T06:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set up ODBC connection from within SAS Studio</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-can-I-set-up-ODBC-connection-from-within-SAS-Studio/m-p/560016#M10413</link>
      <description>&lt;P&gt;Cool. Your solution is exactly what we do. Glad to be able to help.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 07:04:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-can-I-set-up-ODBC-connection-from-within-SAS-Studio/m-p/560016#M10413</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-05-20T07:04:54Z</dc:date>
    </item>
  </channel>
</rss>

