<?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: Libname in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/752113#M236865</link>
    <description>&lt;P&gt;The most obvious thing to check from that log is where is SAS actually running.&amp;nbsp; Since your log is jumping form line number 1 to line number 70 you are most likely using Enterprise Guide or SAS/Studio to submit SAS to run on some other machine than the machine you are using to run Enterprise Guide or connect to the webserver that SAS/Studio is using.&amp;nbsp; So that machine cannot see the path on your local machines C drive.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jul 2021 16:00:43 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2021-07-05T16:00:43Z</dc:date>
    <item>
      <title>Libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/675756#M203629</link>
      <description>&lt;P&gt;Hi, I have recently found that i have "library does not exist" appearing a NOTE on my log as opposed to a WARNING. Does anyone know under what circumstances we would get a warning vs a note?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 21:01:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/675756#M203629</guid>
      <dc:creator>DucatiJong</dc:creator>
      <dc:date>2020-08-10T21:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/675760#M203630</link>
      <description>&lt;P&gt;please show your libname statement&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 21:15:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/675760#M203630</guid>
      <dc:creator>ghosh</dc:creator>
      <dc:date>2020-08-10T21:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/675773#M203635</link>
      <description>&lt;P&gt;Here's the log showing the problem. It seems like SAS only flags a warning on the second attempt in assigning an invalid location. Has anyone encounter this and can confirm what i stated is the case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;32 libname LIB_A "\\NZ8037SPSAS2003\temp1";&lt;BR /&gt;NOTE: Library LIB_A does not exist.&lt;BR /&gt;33 libname LIB_B "\\NZ8037SPSAS2003\temp2";&lt;BR /&gt;NOTE: Library LIB_B does not exist.&lt;BR /&gt;34 libname LIB_C "\\NZ8037SPSAS2003\temp2";&lt;BR /&gt;NOTE: Libref LIB_C refers to the same physical library as LIB_B.&lt;BR /&gt;WARNING: Library LIB_C does not exist.&lt;BR /&gt;NOTE: Libref LIB_C was successfully assigned as follows:&lt;BR /&gt;Engine: V9&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 22:16:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/675773#M203635</guid>
      <dc:creator>DucatiJong</dc:creator>
      <dc:date>2020-08-10T22:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/675781#M203639</link>
      <description>&lt;P&gt;From your path syntax, I am assuming your SAS is running on a Windows environment?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you paste the path in Explorer, can you see the content of the folder?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is your answer yes to both these questions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 22:46:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/675781#M203639</guid>
      <dc:creator>ghosh</dc:creator>
      <dc:date>2020-08-10T22:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/675782#M203640</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/110986"&gt;@DucatiJong&lt;/a&gt;&amp;nbsp; - I just tested this on SAS9.4M2 and I get the same notes / warning in the SAS log. Despite the note saying "&lt;SPAN&gt;Libref LIB_C was successfully assigned" it doesn't appear in the EG library list. This looks like a bug to me.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 22:55:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/675782#M203640</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-08-10T22:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/675787#M203642</link>
      <description>Thanks Ghosh, I should have been clearer. Both the window locations (/temp1 and /temp2) are not valid as i wanted to replicate the error i have in production. What i wanted to show was that I got a mix of WARNING and NOTE despite the similarity of the problem, ie the location does not exist.</description>
      <pubDate>Mon, 10 Aug 2020 23:36:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/675787#M203642</guid>
      <dc:creator>DucatiJong</dc:creator>
      <dc:date>2020-08-10T23:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/675790#M203643</link>
      <description>I do see a pattern in my production that a WARNING only occurs when i am assigning the library for the second time. Was trying to ascertain if this is a know fact. Cheers &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;!</description>
      <pubDate>Mon, 10 Aug 2020 23:40:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/675790#M203643</guid>
      <dc:creator>DucatiJong</dc:creator>
      <dc:date>2020-08-10T23:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/675792#M203645</link>
      <description>&lt;P&gt;You get the WARNING when you define TWO or more librefs that point to the non-existent location.&lt;/P&gt;
&lt;P&gt;Not sure WHY, but the pattern is reproducible.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 00:15:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/675792#M203645</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-08-11T00:15:12Z</dc:date>
    </item>
    <item>
      <title>Libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/752108#M236862</link>
      <description>&lt;P&gt;Hello everybody.&lt;/P&gt;&lt;P&gt;I am trying to do the most simple thing imaginable - assign LIBNAME to an existing folder - but for some reason it doesn't work.&lt;/P&gt;&lt;P&gt;Here's my statement:&lt;/P&gt;&lt;P&gt;LIBNAME sassets "C:\SAS Datasets";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here's from the log;&lt;/P&gt;&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;70&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;71 LIBNAME sassets "C:\SAS Datasets";&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&lt;FONT color="#3366FF"&gt;NOTE: Library SASSETS does not exist.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;C:\SAS Datasets is an existing newly created folder.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Can anyone see what's wrong?&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 15:44:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/752108#M236862</guid>
      <dc:creator>IgorF</dc:creator>
      <dc:date>2021-07-05T15:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/752113#M236865</link>
      <description>&lt;P&gt;The most obvious thing to check from that log is where is SAS actually running.&amp;nbsp; Since your log is jumping form line number 1 to line number 70 you are most likely using Enterprise Guide or SAS/Studio to submit SAS to run on some other machine than the machine you are using to run Enterprise Guide or connect to the webserver that SAS/Studio is using.&amp;nbsp; So that machine cannot see the path on your local machines C drive.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 16:00:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/752113#M236865</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-07-05T16:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/752124#M236872</link>
      <description>&lt;P&gt;Tom, thank you for your attempt, but that's not it.&lt;/P&gt;&lt;P&gt;I m doing everything on the same machine. Have no idea what SAS version that OnDemand SAS Studio is using.&lt;/P&gt;&lt;P&gt;Yes, you are right, the log message jumps from line 1 to 72, which is another thing that's wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have only 1 line in my in my code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIBNAME sassets "C:\SAS Datasets";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything else must be from your system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Igor&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 16:52:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/752124#M236872</guid>
      <dc:creator>IgorF</dc:creator>
      <dc:date>2021-07-05T16:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/752136#M236878</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/388352"&gt;@IgorF&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Tom, thank you for your attempt, but that's not it.&lt;/P&gt;
&lt;P&gt;I m doing everything on the same machine. Have no idea what SAS version that OnDemand SAS Studio is using.&lt;/P&gt;
&lt;P&gt;Yes, you are right, the log message jumps from line 1 to 72, which is another thing that's wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have only 1 line in my in my code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LIBNAME sassets "C:\SAS Datasets";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Everything else must be from your system.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Igor&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;OnDemand SAS is running on some server at SAS.com.&amp;nbsp; It cannot see your local C drive.&amp;nbsp; All that you are running on your local machine is the browser that you used to launch the SAS/Studio interface. You need to reference the files on the&amp;nbsp;OnDemand server.&amp;nbsp; Use the Files and Folders panel of the SAS/Studio interface (the thing you are connecting to with your browser) to see what directories you have.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 362px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60958i7745D3C55CE444F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Check the properties to see exactly how to reference that directories.&amp;nbsp; &amp;nbsp;Here is the path I see for my home directory in ODA.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 439px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60959iF70711DB0D712831/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 17:29:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/752136#M236878</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-07-05T17:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/752145#M236881</link>
      <description>&lt;P&gt;Ok, Tom, I understand that, thank you. But how exactly can I access my folders on that SAS server? I couldn't see your posting on&amp;nbsp; Programming.&lt;/P&gt;&lt;P&gt;Co0uld you please give me the exact sequence of steps?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 18:14:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/752145#M236881</guid>
      <dc:creator>IgorF</dc:creator>
      <dc:date>2021-07-05T18:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/752147#M236883</link>
      <description>&lt;P&gt;Tom, I changed my single line of code to&lt;/P&gt;&lt;P&gt;LIBNAME sassets "sasuser.v94";&lt;/P&gt;&lt;P&gt;sasuser.v94\ is what I found on the server.&lt;/P&gt;&lt;P&gt;Still didn't work.&lt;/P&gt;&lt;P&gt;Then created a new folder SAS Datasets and ran&lt;/P&gt;&lt;P&gt;LIBNAME sassets "sasuser.v94\SAS Datasets";&lt;/P&gt;&lt;P&gt;Still tno success (same exact log)..&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 18:29:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/752147#M236883</guid>
      <dc:creator>IgorF</dc:creator>
      <dc:date>2021-07-05T18:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/752151#M236886</link>
      <description>&lt;P&gt;Right click on the "home" folder and select PROPERTIES from the pop-up menu to see the properties of that folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or just use normal Unix shortcut, ~ ,for your home directory.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname home '~';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can also just ask SAS where the SASUSER folder is:&lt;/P&gt;
&lt;PRE&gt; 73         %put %sysfunc(pathname(sasuser));
 /home/tom.abernathy/sasuser.v94&lt;/PRE&gt;
&lt;P&gt;PS I would never put anything into that &lt;STRONG&gt;sasuser&lt;/STRONG&gt; folder.&amp;nbsp; Probably doesn't matter for SAS On Demand, but on a normal server SAS has changed the name of that folder from release to release so not really a very reliable place to store things.&lt;/P&gt;
&lt;PRE&gt;&amp;gt;ls -d sasuser*    
sasuser  sasuser.v91  sasuser.v92  sasuser.v93	sasuser.v94
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 19:20:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/752151#M236886</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-07-05T19:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/752180#M236907</link>
      <description>&lt;P&gt;Thank you, Tom, it worked.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 01:22:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname/m-p/752180#M236907</guid>
      <dc:creator>IgorF</dc:creator>
      <dc:date>2021-07-06T01:22:19Z</dc:date>
    </item>
  </channel>
</rss>

