<?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: ODBC SQL server libname issue in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-SQL-server-libname-issue/m-p/213596#M16024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is EG on your desktop or is it a Server Installation?&lt;/P&gt;&lt;P&gt;If it's a server installation it may not see your dsn connection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2015 16:35:18 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2015-05-12T16:35:18Z</dc:date>
    <item>
      <title>ODBC SQL server libname issue</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-SQL-server-libname-issue/m-p/213595#M16023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an odbc connection at my desktop and I don't need username and password for that when I use libname in base sas .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Libname risk odbc dsn="risk" user="" password="" schema=dbo;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works perfectly fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I try to use the same using eg it gives me error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ports are opened in our server and we have odbc engine in place&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really don't understand what could be the issue . it gives me CLI error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions are welcome &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 16:22:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-SQL-server-libname-issue/m-p/213595#M16023</guid>
      <dc:creator>forumsguy</dc:creator>
      <dc:date>2015-05-12T16:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC SQL server libname issue</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-SQL-server-libname-issue/m-p/213596#M16024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is EG on your desktop or is it a Server Installation?&lt;/P&gt;&lt;P&gt;If it's a server installation it may not see your dsn connection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 16:35:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-SQL-server-libname-issue/m-p/213596#M16024</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-05-12T16:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC SQL server libname issue</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-SQL-server-libname-issue/m-p/213597#M16025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Similar to what Reeza said, if the libname statement works in Base SAS, and EG is connecting to SAS on the same machine (either locally or remotely), then submitting the same libname statement in EG (to the same server) should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if Base SAS and EG is on your local machine, the same libname statement should work in both (so long as you are submitting to the "Local" server in EG).&lt;/P&gt;&lt;P&gt;If EG is on your local machine and you are submitting to a remote server, then the libname statement will work in EG if it also works in Base SAS installed on the server machine.&lt;/P&gt;&lt;P&gt;In other words, the DSN has to exist on the host machine where the SAS server process is running.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 17:47:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-SQL-server-libname-issue/m-p/213597#M16025</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2015-05-12T17:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC SQL server libname issue</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-SQL-server-libname-issue/m-p/213598#M16026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you would like to avoid defining DSNs on all of your SAS local or remote SAS servers you can just do it all in your LIBNAME - note you will need to substitute &lt;STRONG&gt;RiskServerName&lt;/STRONG&gt; and &lt;STRONG&gt;RiskDatabase&lt;/STRONG&gt; with your actual values as defined in your DSN (stored in the ODBC Administrator tool). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; color: blue; font-family: Consolas; font-size: 9pt;"&gt;libname&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: Consolas; font-size: 9pt;"&gt; risk &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-family: Consolas; font-size: 9pt;"&gt;odbc&lt;/SPAN&gt; &lt;SPAN style="background: white; color: blue; font-family: Consolas; font-size: 9pt;"&gt;noprompt&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: Consolas; font-size: 9pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="background: white; color: purple; font-family: Consolas; font-size: 9pt;"&gt;"server=RiskServerName;DRIVER=SQL Server Native Client 11.0;Trusted Connection=yes"&lt;/SPAN&gt; &lt;SPAN style="background: white; color: blue; font-family: Consolas; font-size: 9pt;"&gt;DATABASE&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: Consolas; font-size: 9pt;"&gt; = RiskDatabase &lt;/SPAN&gt;&lt;SPAN style="background: white; color: blue; font-family: Consolas; font-size: 9pt;"&gt;schema&lt;/SPAN&gt;&lt;SPAN style="background: white; color: black; font-family: Consolas; font-size: 9pt;"&gt; = dbo;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 20:06:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ODBC-SQL-server-libname-issue/m-p/213598#M16026</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-05-12T20:06:32Z</dc:date>
    </item>
  </channel>
</rss>

