<?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: SAS ODBC to SQL Server issues in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175189#M13453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas;"&gt;Your Libname command looks o.k. Could it be that SAS Access to ODBC works under Windows and SAS Access to SQL is needed. You might need to contact product support.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jul 2014 06:21:33 GMT</pubDate>
    <dc:creator>user24feb</dc:creator>
    <dc:date>2014-07-11T06:21:33Z</dc:date>
    <item>
      <title>SAS ODBC to SQL Server issues</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175186#M13450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAS ODBC LibnameHi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We run a SAS Grid with SAS 9.3 on 2 Linux Nodes.&lt;/P&gt;&lt;P&gt;We have SAS/ACCESS to ODBC for use with MS SQL Server databases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We moved form a Windows SAS Server to a LINUX SAS Grid.&lt;/P&gt;&lt;P&gt;Here is no ODBC Manager, so it is a struggle for us to figure out how to set up the ODBC DSN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Our Linux man installed the SQL Server ODBC Drivers.&lt;/LI&gt;&lt;LI&gt;A new entry now appears in the ODBCInst.ini file.&lt;/LI&gt;&lt;LI&gt;We added the DSN entry in the ODBC.ini file&lt;/LI&gt;&lt;LI&gt;We also added the SQL server info on the HOSTS file on the Linux nodes.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a SAS User with trusted security on the SQL Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When he sets up a LIBNAME statement as follows:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;Libname AR &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;ODBC&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;noprompt&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 12pt; font-family: Courier New;"&gt;"dsn=mssql_autorek;Trusted_Connection=yes"&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;schema&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;=dbo;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;We get this error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;1836&amp;nbsp; LIBNAME AR ODBC noprompt=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX schema=dbo;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;ERROR: CLI error trying to establish connection: [unixODBC][Microsoft][ODBC Driver 11 for SQL Server]Cannot generate SSPI context :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;We are wrecking our heads here trying to figure out what is missing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;Has anyone else faced this issue before?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;We would really appreciate some guidance here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;Many thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Len&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 13:48:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175186#M13450</guid>
      <dc:creator>Lenvdb</dc:creator>
      <dc:date>2014-07-10T13:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODBC to SQL Server issues</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175187#M13451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you configure IWA? This is a more challenging part as you need part of SAMBA being installed for id/gid translation to Windows world.&lt;BR /&gt;Often the user en password are getting coded in the SAS code. Of course you do not want to do that. That would be an other question.&amp;nbsp; &lt;BR /&gt;&lt;A href="http://support.microsoft.com/kb/811889" title="http://support.microsoft.com/kb/811889"&gt; How to troubleshoot the "Cannot generate SSPI context" error message&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 15:49:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175187#M13451</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-07-10T15:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODBC to SQL Server issues</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175188#M13452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm pretty sure the string Trusted_Connection=yes is only for Windows authentification so that could be part of the problem. Have you tried the usual user= and password= options?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 05:04:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175188#M13452</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2014-07-11T05:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODBC to SQL Server issues</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175189#M13453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas;"&gt;Your Libname command looks o.k. Could it be that SAS Access to ODBC works under Windows and SAS Access to SQL is needed. You might need to contact product support.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 06:21:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175189#M13453</guid>
      <dc:creator>user24feb</dc:creator>
      <dc:date>2014-07-11T06:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODBC to SQL Server issues</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175190#M13454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have SAMBA installed on the Linux boxes. I would assume it is configured correctly for interfacing with Windows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 07:54:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175190#M13454</guid>
      <dc:creator>Lenvdb</dc:creator>
      <dc:date>2014-07-11T07:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODBC to SQL Server issues</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175191#M13455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have tried various options - incl this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="background: white; color: blue; font-family: 'Courier New';"&gt;LIBNAME&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt; Autorek &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-family: 'Courier New';"&gt;ODBC&lt;/SPAN&gt; &lt;SPAN style="background: white; color: blue; font-family: 'Courier New';"&gt;DSN&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; font-family: 'Courier New';"&gt;"mssql_autorek"&lt;/SPAN&gt; &lt;SPAN style="background: white; color: blue; font-family: 'Courier New';"&gt;user&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt;=&amp;lt;login&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-family: 'Courier New';"&gt;pwd&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt;=&amp;lt;mypassw&amp;gt; &lt;SPAN style="background: white; color: blue; font-family: 'Courier New';"&gt;schema&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: 'Courier New';"&gt;=dbo;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background: white; font-family: 'Courier New';"&gt;produces this error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: red; font-family: 'Courier New';"&gt;ERROR: CLI error trying to establish connection:&lt;BR /&gt;[unixODBC][Microsoft][ODBC Driver 11 for SQL Server][SQL Server]Login failed for&lt;/SPAN&gt;&lt;SPAN style="background: white; color: red; font-family: 'Courier New';"&gt; user 'xxxxxxxx'.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 07:58:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175191#M13455</guid>
      <dc:creator>Lenvdb</dc:creator>
      <dc:date>2014-07-11T07:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODBC to SQL Server issues</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175192#M13456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IWA is not easy to implement &lt;A href="http://support.sas.com/documentation/cdl/en/bisecag/63082/HTML/default/viewer.htm#n1d1zo1jsf2o0en1ehu4c4simfky.htm" title="http://support.sas.com/documentation/cdl/en/bisecag/63082/HTML/default/viewer.htm#n1d1zo1jsf2o0en1ehu4c4simfky.htm"&gt;SAS(R) 9.3 Intelligence Platform: Security Administration Guide&lt;/A&gt; (IWA). Assuming it is correct is nice knowing is better (test/verification).&lt;/P&gt;&lt;P&gt;Even then I would not trust immediate an IWS attempt using ODBC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ahh, the login error is more clear. You are not allowed to login with that user. Your AD logs should be able why, Userid missing password failed wrong domain/time etc.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 08:12:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175192#M13456</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-07-11T08:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODBC to SQL Server issues</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175193#M13457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like KERBEROS is not configured properly on the Linux Boxes (SAS Grid). We are currently taking this up with SAS Tech Support...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 16:01:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175193#M13457</guid>
      <dc:creator>Lenvdb</dc:creator>
      <dc:date>2014-07-17T16:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODBC to SQL Server issues</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175194#M13458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aha&lt;/P&gt;&lt;P&gt;We finally got it.&lt;/P&gt;&lt;P&gt;We needed to create a System Account for the SAS User, and then we had to get the DSN correct in the ODBC.ini file.&lt;/P&gt;&lt;P&gt;The Documentation on SAS did not quite get it right for us.&lt;/P&gt;&lt;P&gt;We found an obscure little document somewhere on the web showing the correct format, which we tried, and it worked!!&lt;/P&gt;&lt;P&gt;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 08:07:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175194#M13458</guid>
      <dc:creator>Lenvdb</dc:creator>
      <dc:date>2014-09-05T08:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODBC to SQL Server issues</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175195#M13459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lenvdb,&lt;/P&gt;&lt;P&gt;You don't happen to have a URL to the "&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;obscure little document somewhere on the web"? Can you post it here?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 19:17:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175195#M13459</guid>
      <dc:creator>UlfBorjesson</dc:creator>
      <dc:date>2015-03-19T19:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODBC to SQL Server issues</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175196#M13460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for taking so long to reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not actualy find the documentation, the Linux Admins did.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It proposed that the odbc.ini entry show the ADDRESS= option rather than the SERVER= and PORT= option:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[mySASDDODBC]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Driver=/opt/Progress/DataDirect/Connect64_for_ODBC_71/lib/ddsqls27.so&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Description=DataDirect 7.1 SQL Server Wire Protocol&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Address=MYMSSQL01,1433&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the &lt;STRONG&gt;Address=servername, port number&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We installed the Datadirect driver. Currently testing it. It sits on top of ODBC, so it still uses the ODBC.ini, ODBCINST.ini etc.&lt;/P&gt;&lt;P&gt;We also have to set Environment Variables when running SQL queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We managed to test with success in Linux, but still unable to get it working in SAS EG5.1. Not sure what we are missing still.&lt;/P&gt;&lt;P&gt;SAS will be contacting us to sort it out early next week.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 14:02:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/175196#M13460</guid>
      <dc:creator>Lenvdb</dc:creator>
      <dc:date>2015-06-05T14:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODBC to SQL Server issues</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/335429#M22283</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any resolution to this issue, we are also facing same issue in our environment. Please let me know&amp;nbsp;the solution if its has been resolved.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 22:13:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/335429#M22283</guid>
      <dc:creator>maheshtalla</dc:creator>
      <dc:date>2017-02-23T22:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODBC to SQL Server issues</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/335520#M22290</link>
      <description>&lt;P&gt;I have encountered this error in SAS Management Console. So when i used to clear the credential cache and reenter the username password to generate the LIBNAME statement is usually starts working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For permanent fix, we created a authtication domin in our server configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and our dsn looks something like&lt;BR /&gt;&lt;BR /&gt;[DSNNAME]&lt;BR /&gt;Driver=&lt;BR /&gt;Description=&lt;BR /&gt;Trace=Yes&lt;BR /&gt;Server=&lt;BR /&gt;Port=&lt;BR /&gt;Database=&lt;BR /&gt;user=&lt;BR /&gt;password=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 07:51:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/335520#M22290</guid>
      <dc:creator>ankit___gupta</dc:creator>
      <dc:date>2017-02-24T07:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAS ODBC to SQL Server issues</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/335566#M22291</link>
      <description>&lt;P&gt;Hi Lenvdb,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are few pre-requisites to get connected with DB through ODBC connection.&lt;/P&gt;
&lt;P&gt;For Linux platform :-&lt;/P&gt;
&lt;P&gt;1. UnixODBC driver&lt;/P&gt;
&lt;P&gt;2. SQL driver&lt;/P&gt;
&lt;P&gt;3.odbc.ini&lt;/P&gt;
&lt;P&gt;4. Operating system must be able to get connected with database.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Install the UnixODBC driver by following below url.&lt;/P&gt;
&lt;P&gt;in RHEL/CentOS/Fedora :- yum install unixODBC* -y (It will install default driver as per o/s releases) then you need to update it with letest versions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;A href="https://linuxsasadmin.wordpress.com/2015/09/17/how-to-install-unixodbc-driver-in-linux-rhelcentosfedora/" target="_blank"&gt;https://linuxsasadmin.wordpress.com/2015/09/17/how-to-install-unixodbc-driver-in-linux-rhelcentosfedora/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Define odbc.ini file (Perform only 1st step)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://linuxsasadmin.wordpress.com/2015/09/21/how-to-connect-with-mysql-database-using-sas-enterprise-guide/" target="_blank"&gt;https://linuxsasadmin.wordpress.com/2015/09/21/how-to-connect-with-mysql-database-using-sas-enterprise-guide/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Operating system access:-&lt;/P&gt;
&lt;P&gt;isql -v dsn username password&lt;/P&gt;
&lt;P&gt;if you are get connected with database then you can test the same with base sas (in foundation by ./sas -nodms) or sas Enterprise guide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now open SAS Enterprise Guide &amp;amp; write this statement to validate the connection.&lt;/P&gt;
&lt;P&gt;libname Test odbc dsn=DSN user=sa pwd=xxxxxxx connection=global schema=dbo;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it’s run without any error then you have made a connection successfully between SQL &amp;amp; SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Final step is you need to create a odbc library from the sas management console as per your set enviornment.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 11:54:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-ODBC-to-SQL-Server-issues/m-p/335566#M22291</guid>
      <dc:creator>SurajChand</dc:creator>
      <dc:date>2017-02-24T11:54:26Z</dc:date>
    </item>
  </channel>
</rss>

