<?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 Accessing Library Path in Server Requiring Credentials in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Accessing-Library-Path-in-Server-Requiring-Credentials/m-p/609614#M17922</link>
    <description>&lt;P&gt;Hi experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To start, I'm currently on SAS EG&amp;nbsp;7.15 HF8. I need to access a path in a server which requires my credentials. I have the user ID and password but am not able to access the path running the below code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;libname uat '/sas/dev/path'&amp;nbsp;user=xxx password="xxx";&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I know what did I do wrongly? Just to supplement with more information:&lt;/P&gt;
&lt;P&gt;a) My user ID doesn't follow SAS rules in which the whole ID is in numeric format (i.e. 123456)&lt;/P&gt;
&lt;P&gt;b) My password does follow SAS rules; first character is an alphabetic character (i.e. Abc123)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you need more info. Appreciate your kind help on the above. Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2019 08:14:25 GMT</pubDate>
    <dc:creator>rush_milo</dc:creator>
    <dc:date>2019-12-05T08:14:25Z</dc:date>
    <item>
      <title>Accessing Library Path in Server Requiring Credentials</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Accessing-Library-Path-in-Server-Requiring-Credentials/m-p/609614#M17922</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To start, I'm currently on SAS EG&amp;nbsp;7.15 HF8. I need to access a path in a server which requires my credentials. I have the user ID and password but am not able to access the path running the below code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;libname uat '/sas/dev/path'&amp;nbsp;user=xxx password="xxx";&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I know what did I do wrongly? Just to supplement with more information:&lt;/P&gt;
&lt;P&gt;a) My user ID doesn't follow SAS rules in which the whole ID is in numeric format (i.e. 123456)&lt;/P&gt;
&lt;P&gt;b) My password does follow SAS rules; first character is an alphabetic character (i.e. Abc123)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you need more info. Appreciate your kind help on the above. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 08:14:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Accessing-Library-Path-in-Server-Requiring-Credentials/m-p/609614#M17922</guid>
      <dc:creator>rush_milo</dc:creator>
      <dc:date>2019-12-05T08:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Library Path in Server Requiring Credentials</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Accessing-Library-Path-in-Server-Requiring-Credentials/m-p/609616#M17923</link>
      <description>&lt;P&gt;When you have problems with code, post the whole log of the step, using the {i} button.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To access a remote path (one that is not already mounted on the SAS server), you need a remote engine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A libname without a special engine does not support the user= and password= options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most server systems do not allow usernames to start with a digit, because some system commands accept both the login name or the underlying numeric id as input, and leading digits would confuse them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please state exactly what your situation is (involved operating systems, server names, path names).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 08:41:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Accessing-Library-Path-in-Server-Requiring-Credentials/m-p/609616#M17923</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-12-05T08:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Library Path in Server Requiring Credentials</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Accessing-Library-Path-in-Server-Requiring-Credentials/m-p/609618#M17925</link>
      <description>&lt;P&gt;Thanks KurtBremser for replying. Yes, forgot to add that I have the server IP address as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Before this, I would use Base SAS and run the code below in which I will be prompted for my user id and password. There will be no issue despite the username starting with a digit.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Sample Code using Base SAS:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;%let unix = 10.0.0.0;&lt;BR /&gt;filename rlink 'C:\Users\Documents\My SAS Files\tcpunix.scr';&lt;BR /&gt;options comamid=tcp remote=unix;&lt;BR /&gt;signon;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, since my Base SAS license is already expired, I have to resort to using SAS EG and running the above code in SAS EG gives me the error below:-&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Error in SAS EG:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;25 GOPTIONS ACCESSIBLE;&lt;BR /&gt;26 %let unix = 10.0.0.0;&lt;BR /&gt;27 filename rlink "C:\Users\Documents\My SAS Files\tcpunix.scr";&lt;BR /&gt;28 options comamid=tcp remote=unix;&lt;BR /&gt;29 signon;&lt;BR /&gt;NOTE: Remote signon to UNIX commencing (SAS Release 9.04.01M3P062415).&lt;BR /&gt;ERROR: Error opening script file.&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: Physical file does not exist, /prd/sasconfig/compute/Lev1/SASApp/C:\Users\Documents\My SAS Files\tcpunix.scr.&lt;/FONT&gt;&lt;BR /&gt;ERROR: Script file interpretation terminated due to error.&lt;BR /&gt;ERROR: Remote signon to UNIX canceled.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Believe it's due to the issue highlighted in red right? May I know what's the workaround to this error using SAS EG?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 09:15:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Accessing-Library-Path-in-Server-Requiring-Credentials/m-p/609618#M17925</guid>
      <dc:creator>rush_milo</dc:creator>
      <dc:date>2019-12-05T09:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Library Path in Server Requiring Credentials</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Accessing-Library-Path-in-Server-Requiring-Credentials/m-p/609620#M17927</link>
      <description>Apologies, forgot to use the {i} button. Noted on this function, will use it moving forward. Thanks!</description>
      <pubDate>Thu, 05 Dec 2019 09:18:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Accessing-Library-Path-in-Server-Requiring-Credentials/m-p/609620#M17927</guid>
      <dc:creator>rush_milo</dc:creator>
      <dc:date>2019-12-05T09:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Library Path in Server Requiring Credentials</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Accessing-Library-Path-in-Server-Requiring-Credentials/m-p/609621#M17928</link>
      <description>&lt;P&gt;So up until now, you used SAS/CONNECT to connect from a local SAS session on your desktop to a remote SAS session running on a UNIX server.&lt;/P&gt;
&lt;P&gt;Could it be that the UNIX server in question is the same to which you connect from Enterprise Guide? Then you could use the path from your old code in a very simple local libname statement:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname uat '/sas/dev/path';&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Dec 2019 09:19:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Accessing-Library-Path-in-Server-Requiring-Credentials/m-p/609621#M17928</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-12-05T09:19:52Z</dc:date>
    </item>
  </channel>
</rss>

