<?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: New SAS Library Errors in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226437#M3405</link>
    <description>&lt;P&gt;SASkiwi, I am wondering why there is a DSN resource created as all needed parameters for the connection can be specfied within SAS so avoiding the need to add the burdern of an segregated ODBCADM administraiton.&lt;BR /&gt;I know some guy from NZ that explained me the trick some day &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Having a libname statement being genereated for some libref to connect to an exterenal RDBMs is not the solution for authentication.&lt;/P&gt;&lt;P&gt;- The libname/libref is the technical way how to get connected to data.&lt;/P&gt;&lt;P&gt;- the user/passwrd (when needed) is who has the grants for accessing those data&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Commonly it&amp;nbsp;is bad idea to use shared access (group accounts)&amp;nbsp;for external sensitive data.&amp;nbsp; With shared access you will lossed in the situation of lack of auditability traceability.&amp;nbsp;&amp;nbsp;Only in play-toy areas to prove&amp;nbsp; the functionality of the technical connection something like that is acceptable. Doing things wrong wiht these concepts&amp;nbsp;from start can cause a lot of political aversions.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 20 Sep 2015 07:33:44 GMT</pubDate>
    <dc:creator>jakarman</dc:creator>
    <dc:date>2015-09-20T07:33:44Z</dc:date>
    <item>
      <title>New SAS Library Errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226307#M3398</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to create a new library to connect to an existing MS SQL server. I think it needs to use a generic userid rather than my personal userid like below which I am not able to make it do so.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 LIBNAME BLBFLMS ODBC NOPROMPT=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX SCHEMA=dbo USER=saspert&lt;BR /&gt;1 ! PASSWORD=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ;&lt;BR /&gt;ERROR: CLI error trying to establish connection: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver&lt;BR /&gt;specified&lt;BR /&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Server:&lt;BR /&gt;BB&lt;BR /&gt;Major version number:&lt;BR /&gt;0&lt;BR /&gt;Minor version number:&lt;BR /&gt;0&lt;BR /&gt;Data Source Type:&lt;BR /&gt;ODBC - Other Database&lt;BR /&gt;Associated Machine:&lt;BR /&gt;server.client.com&lt;/P&gt;&lt;P&gt;Connection:&lt;BR /&gt;Connection: BLUEBUFFALO&lt;BR /&gt;Authentication type:&lt;BR /&gt;User/Password&lt;BR /&gt;Connection String:&lt;BR /&gt;NOPROMPT="dsn=SAS_BB;Trusted_Connection=yes"&lt;BR /&gt;Authentication domain:&lt;BR /&gt;DefaultAuth&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Library:&lt;BR /&gt;BBMS&lt;BR /&gt;Location:&lt;BR /&gt;/HMI/SourceData/BB&lt;BR /&gt;Assigned to SAS Servers:&lt;BR /&gt;SASApp&lt;BR /&gt;Libref:&lt;BR /&gt;BLBFLMS&lt;BR /&gt;Engine:&lt;BR /&gt;ODBC&lt;/P&gt;&lt;P&gt;Database Server:&lt;BR /&gt;BBB&lt;BR /&gt;Database Schema Name:&lt;BR /&gt;dbo&lt;BR /&gt;Connection:&lt;BR /&gt;Connection: BB&lt;BR /&gt;Default Login:&lt;BR /&gt;client\blueskydataaimports (DefaultAuth)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the note that SAS shows when I finished the library installation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2015 14:55:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226307#M3398</guid>
      <dc:creator>saspert</dc:creator>
      <dc:date>2015-09-18T14:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: New SAS Library Errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226345#M3399</link>
      <description>&lt;P&gt;I'll check into this and get back with you.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2015 16:01:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226345#M3399</guid>
      <dc:creator>Sue_SAS</dc:creator>
      <dc:date>2015-09-18T16:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: New SAS Library Errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226361#M3400</link>
      <description>&lt;P&gt;I contacted Tech Support and they told me to have you open a SAS Tech Support Track. They can help solve your problem.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2015 17:18:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226361#M3400</guid>
      <dc:creator>Sue_SAS</dc:creator>
      <dc:date>2015-09-18T17:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: New SAS Library Errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226398#M3401</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2015 20:56:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226398#M3401</guid>
      <dc:creator>saspert</dc:creator>
      <dc:date>2015-09-18T20:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: New SAS Library Errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226405#M3402</link>
      <description>&lt;P&gt;The error message is pretty clear. SAS can't find the ODBC data source name SAS_BB. Have you defined it? Check in the ODBC Administrator if this is happening under Windows. Note this is the ODBC Administrator on the SASApp server. If your server runs on Unix then the DSN needs to be defined in ODBC.ini.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the DSN can't be found. the driver associated with it can't be found hence the driver error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Sep 2015 00:39:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226405#M3402</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-09-19T00:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: New SAS Library Errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226437#M3405</link>
      <description>&lt;P&gt;SASkiwi, I am wondering why there is a DSN resource created as all needed parameters for the connection can be specfied within SAS so avoiding the need to add the burdern of an segregated ODBCADM administraiton.&lt;BR /&gt;I know some guy from NZ that explained me the trick some day &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Having a libname statement being genereated for some libref to connect to an exterenal RDBMs is not the solution for authentication.&lt;/P&gt;&lt;P&gt;- The libname/libref is the technical way how to get connected to data.&lt;/P&gt;&lt;P&gt;- the user/passwrd (when needed) is who has the grants for accessing those data&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Commonly it&amp;nbsp;is bad idea to use shared access (group accounts)&amp;nbsp;for external sensitive data.&amp;nbsp; With shared access you will lossed in the situation of lack of auditability traceability.&amp;nbsp;&amp;nbsp;Only in play-toy areas to prove&amp;nbsp; the functionality of the technical connection something like that is acceptable. Doing things wrong wiht these concepts&amp;nbsp;from start can cause a lot of political aversions.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Sep 2015 07:33:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226437#M3405</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2015-09-20T07:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: New SAS Library Errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226518#M3409</link>
      <description>&lt;P&gt;Jaap, yes I agree, and that is how I do it. Avoiding the ODBC Administrator is to be recommended as it removes another point of maintenance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the case of this post I was just trying to explain the errors not necessarily provide a better solution - which can come later.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2015 08:09:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226518#M3409</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-09-21T08:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: New SAS Library Errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226819#M3416</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi﻿&lt;/a&gt;&amp;nbsp;Thanks for the suggestion. If I expand sasapp server, I do not see the odbc list. Am I looking at the right place? See screenshot which is attached hopefully.&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11969i0B544B9D8CEA8670/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="listofsasservers.gif" title="listofsasservers.gif" /&gt;</description>
      <pubDate>Tue, 22 Sep 2015 22:00:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226819#M3416</guid>
      <dc:creator>saspert</dc:creator>
      <dc:date>2015-09-22T22:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: New SAS Library Errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226820#M3417</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/41372"&gt;@Sue_SAS﻿&lt;/a&gt;&amp;nbsp;I think my supervisor has teh solution to this. I may not need a ticket at this time. Many thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 22:01:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226820#M3417</guid>
      <dc:creator>saspert</dc:creator>
      <dc:date>2015-09-22T22:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: New SAS Library Errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226852#M3418</link>
      <description>&lt;P&gt;If you are looking for the ODBC Administrator then you will find it in the Windows Control Panel not in SMC at all. If you are going to use DSNs then they need to be defined there. This explains more:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/odbcdref/65036/HTML/default/viewer.htm#n1huqo74tuh90wn1vooxwjrqilgb.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/odbcdref/65036/HTML/default/viewer.htm#n1huqo74tuh90wn1vooxwjrqilgb.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I suggest you don't bother with that and just start by defining a simple libname that does everything to connect to SQL Server:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;See this example from the link:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname mylib odbc noprompt="driver=SQL Server Native Client 10.0;server=server-name;database=SQL-database;Trusted_Connection=yes"&lt;BR /&gt; schema=schema-name;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If you can get the LIBNAME working, then the next step might be to define all this in SMC but thats a bit harder to do. Maybe a lesson for another day.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 07:38:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/New-SAS-Library-Errors/m-p/226852#M3418</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-09-23T07:38:41Z</dc:date>
    </item>
  </channel>
</rss>

