<?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: Library Does not Exist - SAS UE in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Library-Does-not-Exist-SAS-UE/m-p/612497#M178741</link>
    <description>&lt;P&gt;Hi: &lt;BR /&gt;What's not clear is whether "finaldata" is a folder, a dataset or both. It seems clear that LIBSAS is a folder name under your /folders/myfolders location, but it's not clear about whether finaldata is a folder or a dataset. &lt;BR /&gt;&lt;BR /&gt;So there is a absolute, never-fail, way to see what the path for your LIBNAME statement should be.&lt;BR /&gt;&lt;BR /&gt;In the server files and folders pane on the left side of SAS Studio, look for the LIBSAS folder under your My Folders top node. Expand the LIBSAS folder using the little arrow. &lt;BR /&gt;&lt;BR /&gt;Do you have a dataset named "finaldata" in that folder? Or, do you have a subfolder named finaldata? What you need to to is right click on the LIBSAS folder and choose Properties. In the Location field will be the location of that folder. If you have a data table called finaldata that is directly under the LIBSAS folder, then you need this: &lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;libname libsas '/folders/myfolders/libsas';&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Note that for this to work, you must really have a folder called &lt;STRONG&gt;libsas&lt;/STRONG&gt; under your My Folders top node.&lt;BR /&gt;&lt;BR /&gt;This syntax &lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;data libsas.finaldata;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;will CREATE a table called &lt;STRONG&gt;finaldata&lt;/STRONG&gt; in the &lt;STRONG&gt;LIBSAS&lt;/STRONG&gt; library. So that is problematic. Are you trying to create a SAS dataset called FINALDATA or are you trying to READ an existing SAS data set called finaldata?&lt;BR /&gt;&lt;BR /&gt;This might be easier if you took a screen shot of what you see under LIBSAS in the server files and folders pane and explained what you envision you are going to create with THIS code: &lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;data libsas.finaldata;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2019 18:36:32 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2019-12-17T18:36:32Z</dc:date>
    <item>
      <title>Library Does not Exist - SAS UE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Library-Does-not-Exist-SAS-UE/m-p/612493#M178737</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to SAS and recently downloaded UE after having similar trouble using SAS 9.4 on my University's computers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;libname libsas "/folders/myfolders/libsas/finaldata";&lt;BR /&gt;data libsas.finaldata;&lt;BR /&gt;run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;and I get:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;72&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;73 libname libsas "/folders/myfolders/libsas/finaldata";&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: Library LIBSAS does not exist.&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="sasSource"&gt;74 data libsas.finaldata;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75 run;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Library LIBSAS does not exist.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;I can see my 'libsas' library in where my 'finaldata' data set exists in the side bar under 'Folders'.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;I checked the Virtual Box and my 'myfolders' is the shared folder. My syntax isn't copied so I don't think there is any mistakes in that regard. I have gone through some of the other posts on here and I haven't been able to find anything that works.&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;Any suggestions help!&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 17 Dec 2019 18:24:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Library-Does-not-Exist-SAS-UE/m-p/612493#M178737</guid>
      <dc:creator>julianna1644</dc:creator>
      <dc:date>2019-12-17T18:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Library Does not Exist - SAS UE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Library-Does-not-Exist-SAS-UE/m-p/612497#M178741</link>
      <description>&lt;P&gt;Hi: &lt;BR /&gt;What's not clear is whether "finaldata" is a folder, a dataset or both. It seems clear that LIBSAS is a folder name under your /folders/myfolders location, but it's not clear about whether finaldata is a folder or a dataset. &lt;BR /&gt;&lt;BR /&gt;So there is a absolute, never-fail, way to see what the path for your LIBNAME statement should be.&lt;BR /&gt;&lt;BR /&gt;In the server files and folders pane on the left side of SAS Studio, look for the LIBSAS folder under your My Folders top node. Expand the LIBSAS folder using the little arrow. &lt;BR /&gt;&lt;BR /&gt;Do you have a dataset named "finaldata" in that folder? Or, do you have a subfolder named finaldata? What you need to to is right click on the LIBSAS folder and choose Properties. In the Location field will be the location of that folder. If you have a data table called finaldata that is directly under the LIBSAS folder, then you need this: &lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;libname libsas '/folders/myfolders/libsas';&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Note that for this to work, you must really have a folder called &lt;STRONG&gt;libsas&lt;/STRONG&gt; under your My Folders top node.&lt;BR /&gt;&lt;BR /&gt;This syntax &lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;data libsas.finaldata;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;will CREATE a table called &lt;STRONG&gt;finaldata&lt;/STRONG&gt; in the &lt;STRONG&gt;LIBSAS&lt;/STRONG&gt; library. So that is problematic. Are you trying to create a SAS dataset called FINALDATA or are you trying to READ an existing SAS data set called finaldata?&lt;BR /&gt;&lt;BR /&gt;This might be easier if you took a screen shot of what you see under LIBSAS in the server files and folders pane and explained what you envision you are going to create with THIS code: &lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;data libsas.finaldata;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 18:36:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Library-Does-not-Exist-SAS-UE/m-p/612497#M178741</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-12-17T18:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Library Does not Exist - SAS UE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Library-Does-not-Exist-SAS-UE/m-p/612501#M178745</link>
      <description>&lt;P&gt;Is FINALDATA supposed to be a single data set or folder with multiple files in it? I am going to &lt;STRONG&gt;guess&lt;/STRONG&gt; that maybe you are using the dataset name as part of the library and shouldn't.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What happens if you use:&lt;/P&gt;
&lt;PRE&gt;libname libsas "/folders/myfolders/libsas";&lt;/PRE&gt;
&lt;P&gt;Libraries store multiple items and basically correspond to folders or directories (let's not get in to specific composite files like databases and such). So the Libname statement should only list folders, not a specific file if you have done so.&lt;/P&gt;
&lt;PRE&gt;73 libname libsas "/folders/myfolders/libsas/finaldata";

NOTE: Library LIBSAS does not exist.&lt;/PRE&gt;
&lt;P&gt;Tells us there is something wrong but without access to your system we can't really tell. The LIBSAS referenced in the NOTE is not the folder but the actual attempted to create library. So you can "see" libsas in a folder location but something else is going on. To test this change the libname statement to something like&lt;/P&gt;
&lt;PRE&gt;libname mylib "/folders/myfolders/libsas/finaldata";

&lt;/PRE&gt;
&lt;P&gt;And see if the note you get is&lt;/P&gt;
&lt;PRE&gt;NOTE: Library MYLIB does not exist.&lt;/PRE&gt;
&lt;P&gt;There might be an issue like space or other unprintable character&amp;nbsp;before the folder name in /libsas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This might be time to actually take a screen capture of what you "see" and post the image using the camera icon.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 18:42:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Library-Does-not-Exist-SAS-UE/m-p/612501#M178745</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-12-17T18:42:27Z</dc:date>
    </item>
  </channel>
</rss>

