<?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: ERROR: Library LEARN does not exist. in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-Library-LEARN-does-not-exist/m-p/299281#M20393</link>
    <description>&lt;P&gt;Hi Cynthia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i tried using your code. created 'learn' folder in Files tab and ran&amp;nbsp;the code&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;%let path=/home/&amp;lt;your_username&amp;gt;/learn;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;libname learn "&amp;amp;path";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;to create library. but it was still showing error message 'Library learn does not exist'. plz find attached.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;version: SAS Enterprise guide 6.1(32 bit).&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12992iF10A60603DFA7AD8/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="error.jpg" title="error.jpg" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12993i61CADE0DB9A62B39/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="learn.jpg" title="learn.jpg" /&gt;</description>
    <pubDate>Mon, 19 Sep 2016 13:32:15 GMT</pubDate>
    <dc:creator>satish123</dc:creator>
    <dc:date>2016-09-19T13:32:15Z</dc:date>
    <item>
      <title>ERROR: Library LEARN does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-Library-LEARN-does-not-exist/m-p/165257#M12726</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'm trying to create a library in SAS Enterprise Guide OnDemand for Academics.&amp;nbsp; I get the following error when I run the program. Can anyone help me figure out why?&lt;/P&gt;&lt;P&gt;I'm trying to run a Create_Datasets program that came with the book "Learning SAS® by Example: A Programmer’s Guide"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #993366;"&gt;libname learn '\\vmware-host\Shared Folders\Desktop\learn';&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 05:42:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-Library-LEARN-does-not-exist/m-p/165257#M12726</guid>
      <dc:creator>skyrit17</dc:creator>
      <dc:date>2015-02-12T05:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Library LEARN does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-Library-LEARN-does-not-exist/m-p/165258#M12727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AFAIK, the SAS on demand works with a remote server process in a cloud, so you can only defiine a library with a pathname that resides in the cloud. A local path on your desktop will not work.&lt;/P&gt;&lt;P&gt;Learning SAS by Example was not written with SAS on Demand in mind.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 08:07:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-Library-LEARN-does-not-exist/m-p/165258#M12727</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-02-12T08:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Library LEARN does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-Library-LEARN-does-not-exist/m-p/165259#M12728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm which for of SAS is best for that book?&lt;/P&gt;&lt;P&gt;In the book they suggest that we use SAS Enterprise Guide 4.1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 23:48:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-Library-LEARN-does-not-exist/m-p/165259#M12728</guid>
      <dc:creator>skyrit17</dc:creator>
      <dc:date>2015-02-12T23:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Library LEARN does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-Library-LEARN-does-not-exist/m-p/165260#M12729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since the latest EG is now at level 7.1 or so, you can imagine how old that book is, it predates SAS UE and SAS on Demand by something like a decade. Usually these books assume that you have SAS and the EG installed locally on your Windows box.&lt;/P&gt;&lt;P&gt;Our installation is already dated, with SAS 9.2 and EG 4.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at &lt;A href="https://support.sas.com/training/tutorial/"&gt;https://support.sas.com/training/tutorial/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Maybe someone else around here can point you at literature/tutorials that have been written specifically for SAS on Demand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 06:17:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-Library-LEARN-does-not-exist/m-p/165260#M12729</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-02-13T06:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Library LEARN does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-Library-LEARN-does-not-exist/m-p/165261#M12730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; When I get onto the SAS OnDemand for Academics server using SAS Enterprise Guide, I can make a folder called LEARN under my SASApp--&amp;gt;Files location. Then I ran a test program to make a small dataset in a library called LEARN (same name as my folder).&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; On SAS OnDemand for Academics, your write access directory, where you can write files is &lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;/home/&amp;lt;your_username&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;, so for example, if your username is skyrit17, then your home directory would be: &lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;/home/skyrit17 &lt;/STRONG&gt;&lt;/SPAN&gt;You can find out your directory name by looking in your Control Center screen when you first log onto your SAS OnDemand for Academics account.&lt;/P&gt;&lt;P&gt;&amp;nbsp; As you can see from my screen shot, I used code like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;%let path=/home/&amp;lt;your_username&amp;gt;/learn;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;libname learn "&amp;amp;path";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;data learn.testdata;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; set sashelp.class;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;proc contents data=learn._all_;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...the reason I use the macro variable &amp;amp;path is so I can write programs using that placeholder for the physical location on the server. That allows me to read data from my folder on the server like this. Let's say I have a file in my home directory in the learn folder called blood.txt so the physical path is this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;/home/&amp;lt;your_username&amp;gt;/learn/blood.txt&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 3 ways to read the file in a program and supply the physical path:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;infile "/home/&amp;lt;your_username&amp;gt;/learn/blood.txt";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;infile "&amp;amp;path/blood.txt";&amp;nbsp;&amp;nbsp; (assumes that the %LET statement for &amp;amp;path is active in your session and holds the correct path)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;infile "~/learn/blood.txt";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;I happen to prefer the &amp;amp;path method, although the tilde method does also work to shorten the path you have to specify (because the ~ takes the place of the /home/&amp;lt;your_username&amp;gt; part of the physical path on the server. But the "long" name method also works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;I do remember making the files for the Learning SAS by Example book a while ago. As I remember, the book was written with Windows examples, so if you try to run those programs unchanged, you will probably have issues with C: drive locations and Windows slashes (\) -- because the SAS OnDemand server is a Unix server and needs to have Unix slashes in the code (/). You will have to unzip the files needed for the book and copy the CSV files and .TXT files up to the server location BEFORE you run the CREATE_DATASETS program, because that program uses some of the raw data files that were in the zip archive.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;I am attaching a screen shot of what my program and results looked like on the OnDemand server for my test file. Do remember that the LIBNAME statement will not make a folder for you. You need to do that by right-clicking on Files under SASApp and choosing the New Folder item to create and name your new folder.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;cynthia&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11883i1844DA9DEC68813F/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="make_learn_folder_and_library_SODA.png" title="make_learn_folder_and_library_SODA.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 02:53:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-Library-LEARN-does-not-exist/m-p/165261#M12730</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-02-17T02:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Library LEARN does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-Library-LEARN-does-not-exist/m-p/165262#M12731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One thing not to forget: SAS on Demand runs on a UNIX platform, which is case sensitive!&lt;/P&gt;&lt;P&gt;So /home/&amp;lt;username&amp;gt;/learn and /home/&amp;lt;username&amp;gt;/LEARN are two different locations and can exist in parallel.&lt;/P&gt;&lt;P&gt;Something that may be confusing initially to UNIX newbies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 06:42:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-Library-LEARN-does-not-exist/m-p/165262#M12731</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-02-17T06:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Library LEARN does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-Library-LEARN-does-not-exist/m-p/165263#M12732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Kurt! Here's a screen shot that shows how I defined the directory as lowercase and the error that results if I try to refer to it in uppercase.&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11033i3C577C4038A263A5/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="created_as_lowcase.png" title="created_as_lowcase.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11034i326C8C1FB0A756AD/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="error_msg_if_use_wrong_case.png" title="error_msg_if_use_wrong_case.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 13:19:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-Library-LEARN-does-not-exist/m-p/165263#M12732</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-02-17T13:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Library LEARN does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-Library-LEARN-does-not-exist/m-p/299281#M20393</link>
      <description>&lt;P&gt;Hi Cynthia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i tried using your code. created 'learn' folder in Files tab and ran&amp;nbsp;the code&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;%let path=/home/&amp;lt;your_username&amp;gt;/learn;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;libname learn "&amp;amp;path";&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;to create library. but it was still showing error message 'Library learn does not exist'. plz find attached.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;version: SAS Enterprise guide 6.1(32 bit).&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12992iF10A60603DFA7AD8/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="error.jpg" title="error.jpg" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12993i61CADE0DB9A62B39/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="learn.jpg" title="learn.jpg" /&gt;</description>
      <pubDate>Mon, 19 Sep 2016 13:32:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-Library-LEARN-does-not-exist/m-p/299281#M20393</guid>
      <dc:creator>satish123</dc:creator>
      <dc:date>2016-09-19T13:32:15Z</dc:date>
    </item>
  </channel>
</rss>

