<?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: Connecting to SQL Server from SAS EG running on unix server in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/829535#M41264</link>
    <description>Suggest looking at the solution in this thread about DSNLESS connections. &lt;A href="https://communities.sas.com/t5/SAS-Data-Management/Example-of-DSN-less-SQL-Server-connection-from-Linux/m-p/349245#M10386" target="_blank"&gt;https://communities.sas.com/t5/SAS-Data-Management/Example-of-DSN-less-SQL-Server-connection-from-Linux/m-p/349245#M10386&lt;/A&gt;</description>
    <pubDate>Sun, 21 Aug 2022 02:46:35 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2022-08-21T02:46:35Z</dc:date>
    <item>
      <title>Connecting to SQL Server from SAS EG running on unix server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/452725#M29210</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using windows SAS Enterprise guide 6.1 , running on Linux server x86_64.&lt;/P&gt;
&lt;P&gt;We wanted to access the SQL server from SAS EG itself, however we dont think we have the odbc connection setup for it.&lt;/P&gt;
&lt;P&gt;Connection string:&lt;/P&gt;
&lt;P&gt;[ABC_DRI]&lt;/P&gt;
&lt;P&gt;Driver=/sso/faw/dbclinet/lib/S0451.so&lt;/P&gt;
&lt;P&gt;Description=DataDirect 7.1.5 SQL Server Wire Protocol&lt;/P&gt;
&lt;P&gt;AuthenticationMethod=1&lt;/P&gt;
&lt;P&gt;BulkLoadBatchSize=1&lt;/P&gt;
&lt;P&gt;database=abc_dri_reporting&lt;/P&gt;
&lt;P&gt;EnableQuotedIdentifier=0&lt;/P&gt;
&lt;P&gt;EnableBulkLoad=1&lt;/P&gt;
&lt;P&gt;Hostname=dri02stub_abc&lt;/P&gt;
&lt;P&gt;Portnumber=1726&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;libname sqlsvr1 sqlsvr noprompt="

Driver=/sso/faw/dbclinet/lib/S0451.so;

/*Description=DataDirect 7.1.5 SQL Server Wire Protocol;*/

AuthenticationMethod=1;

BulkLoadBatchSize=1;

database=abc_dri_reporting;

EnableQuotedIdentifier=0;

EnableBulkLoad=1;

Hostname=dri02stub_abc;

Portnumber=1726;

UID= fv4578;

PWD=abc_def_124;

";&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know if we can use the connection as&amp;nbsp;DSNLESS using the username and password that we are using to login to sql server management studio on windows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried using it but it didnt execute. Below is the errro :CLI Datadirect ODBC lib data source&amp;nbsp; name not found.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Also I don't have the user privileges to change odbc.ini on linux server&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;am i using the correct format and what could i be doing wrong? TIA&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aa.JPG" style="width: 682px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/19713i20523E7B36C1AA8D/image-dimensions/682x25?v=v2" width="682" height="25" role="button" title="aa.JPG" alt="aa.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 08:49:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/452725#M29210</guid>
      <dc:creator>mnjtrana</dc:creator>
      <dc:date>2018-04-10T08:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQL Server from SAS EG running on unix server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/452731#M29212</link>
      <description>&lt;P&gt;You need a driver of some sort, if you want to connect via odbc, then you need an odbc driver.&amp;nbsp; Login details is just part of the login process, it does not pass information back and forth, this is a driver task.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 08:00:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/452731#M29212</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-04-10T08:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQL Server from SAS EG running on unix server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/452734#M29213</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/45151"&gt;@RW9&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks for the reply. I have the driver path, please see below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Driver=/sso/faw/dbclinet/lib/S0451.so&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 08:08:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/452734#M29213</guid>
      <dc:creator>mnjtrana</dc:creator>
      <dc:date>2018-04-10T08:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQL Server from SAS EG running on unix server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/452735#M29214</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;however we dont think we have the odbc connection setup for it." - speak with your IT, you need to have the driver setup to work correctly with the database.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 08:14:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/452735#M29214</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-04-10T08:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQL Server from SAS EG running on unix server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/452736#M29215</link>
      <description>This driver setup is already working for the other SQL server prod environment, we just wanted to make it work for UAT environment.&lt;BR /&gt;&lt;BR /&gt;It's just the server name the database is different for UAT.</description>
      <pubDate>Tue, 10 Apr 2018 08:16:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/452736#M29215</guid>
      <dc:creator>mnjtrana</dc:creator>
      <dc:date>2018-04-10T08:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQL Server from SAS EG running on unix server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/452911#M29219</link>
      <description>&lt;P&gt;Just to be clear, we are talking about connecting from the SAS server, not the EG client right (since libname is executed on the server)?&lt;/P&gt;
&lt;P&gt;Verify that you have the SAS/ACCESS to ODBC license. And you have that module installed.&lt;/P&gt;
&lt;P&gt;Then follow the constructions for post install configurations.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 18:09:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/452911#M29219</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-04-10T18:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQL Server from SAS EG running on unix server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/829533#M41262</link>
      <description>&lt;P&gt;We have this problem of connecting SQL Server database from HP Unix server using SAS EG 7.15. We purchased Easysoft Unix ODBC SQL Server driver and installed&amp;nbsp; and configured it in HP Unix sever. Then I was able to connect to SQL Server database. You may use Easysoft Unix ODBC driver free of charge for a shorter period of time. This driver is available for both unix and Windows server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to install this driver in SAS unix server you must be a root user or have unix system administrator right&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 01:19:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/829533#M41262</guid>
      <dc:creator>saliyakumaw</dc:creator>
      <dc:date>2022-08-21T01:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQL Server from SAS EG running on unix server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/829534#M41263</link>
      <description>&lt;P&gt;Why don't you use the SAS install account, often called sasinstall? It surely has the right permissions for server software installs.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 02:37:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/829534#M41263</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-08-21T02:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQL Server from SAS EG running on unix server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/829535#M41264</link>
      <description>Suggest looking at the solution in this thread about DSNLESS connections. &lt;A href="https://communities.sas.com/t5/SAS-Data-Management/Example-of-DSN-less-SQL-Server-connection-from-Linux/m-p/349245#M10386" target="_blank"&gt;https://communities.sas.com/t5/SAS-Data-Management/Example-of-DSN-less-SQL-Server-connection-from-Linux/m-p/349245#M10386&lt;/A&gt;</description>
      <pubDate>Sun, 21 Aug 2022 02:46:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/829535#M41264</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-08-21T02:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQL Server from SAS EG running on unix server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/829560#M41267</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/34466"&gt;@mnjtrana&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;As is clear form the error message the it appears that the dsn has not been setup.&lt;BR /&gt;You appear to have the data direct odbc driver installed. Try with the following libname. Hopefully it should work if there are no other issues. I have taken the user,password, dsn and database values from your post. Make sure you have the actual values&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname&amp;nbsp;sqlsrvr1&amp;nbsp;ODBC&lt;/CODE&gt;&lt;CODE class=" language-sas"&gt; dsn=ABC_DRI user=fv4578; password="abc_def_124" database=abc_dri_reporting;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;If this does not work with sqlserver instead of odbc.&lt;BR /&gt;About dsnless connection please look at this form post&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/td-p/349245" target="_blank"&gt;https://communities.sas.com/t5/SAS-Data-Management/Example-of-DSN-less-SQL-Server-connection-from-Linux/td-p/349245&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Aug 2022 13:37:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Connecting-to-SQL-Server-from-SAS-EG-running-on-unix-server/m-p/829560#M41267</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-08-21T13:37:01Z</dc:date>
    </item>
  </channel>
</rss>

