<?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: Can I use the set statement in OnDemand to open a set in libraries in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-I-use-the-set-statement-in-OnDemand-to-open-a-set-in/m-p/170017#M13035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi, I only know of the /tutorials alias and a shortcut for the user location.&amp;nbsp; So I'm not understanding what you mean by "other aliases". For example, for our e-learning courses if I wanted to point to multiple classes, I might use the class name as the "nickname" or LIBREF:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Programming 1: libname ecprg1 '/tutorials/eg/data/&lt;SPAN style="color: #ff00ff;"&gt;ecprg1&lt;/SPAN&gt;';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Programming 2: libname ecprg2 '/tutorials/eg/data/&lt;SPAN style="color: #ff00ff;"&gt;ecprg2&lt;/SPAN&gt;';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Programming 3: libname ecprg3 '/tutorials/eg/data/&lt;SPAN style="color: #ff00ff;"&gt;ecprg3&lt;/SPAN&gt;';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;SQL 1: libname ecsql1 '/tutorials/eg/data/&lt;SPAN style="color: #ff00ff;"&gt;ecsql1&lt;/SPAN&gt;';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Macro 1: libname ecmac1 '/tutorials/eg/data/&lt;SPAN style="color: #ff00ff;"&gt;ecmac1&lt;/SPAN&gt;';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Corn: libname corndata '/tutorials/eg/data/&lt;SPAN style="color: #ff00ff;"&gt;corn&lt;/SPAN&gt;';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; See the pattern? I've color coded it for you. Look at the name of the folders in my screen shot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; The only other alias-like name that I know is the &lt;STRONG style="font-family: courier new,courier;"&gt;~/user&lt;/STRONG&gt; as a shortcut to the longer location &lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;/home/your_user_ID/user&lt;/STRONG&gt;&lt;/SPAN&gt; location, which is the user folder under SASApp in the Files location. See attached screen shot. If your professor has set up any other folders or files, you will have to get the path name from him/her. If there are aliases, I'm not sure what they would be. The SAS OnDemand for Academics server is slightly different from the SAS OnDemand for Professionals server.&lt;/P&gt;&lt;P&gt;&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/10729i94C4626F469EB90F/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="alias_vs_shortcut.png" title="alias_vs_shortcut.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jul 2014 23:46:23 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2014-07-09T23:46:23Z</dc:date>
    <item>
      <title>Can I use the set statement in OnDemand to open a set in libraries</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-I-use-the-set-statement-in-OnDemand-to-open-a-set-in/m-p/170012#M13030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like Corn.corn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 01:38:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-I-use-the-set-statement-in-OnDemand-to-open-a-set-in/m-p/170012#M13030</guid>
      <dc:creator>michael971</dc:creator>
      <dc:date>2014-07-08T01:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use the set statement in OnDemand to open a set in libraries</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-I-use-the-set-statement-in-OnDemand-to-open-a-set-in/m-p/170013#M13031</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; In my copy of SAS OnDemand for Professionals, I need to issue a LIBNAME statement to point to the location of the CORN dataset on the SASApp server. The code shown in the attached screen shot works for me. This is my LIBNAME statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;libname corndata '/tutorials/eg/data/corn';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc contents data=corndata._all_;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; In the above instance, the CORN dataset is the only dataset in the library, so the 2-level name is: CORNDATA.CORN. But, of course, I could have given the library a nickname of WOMBAT or CORN or MYDATA, in which case, the 2-level name of the CORN dataset would have been: WOMBAT.CORN or CORN.CORN or MYDATA.CORN. It just depends.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The attached code worked for me and produced output from the PROC CONTENTS, the PROC PRINT and the PROC FREQ. Give it a try on your OnDemand account.&lt;/P&gt;&lt;P&gt;&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/11108i5A0D52F9E36C69CF/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="ondemand_corndata_libname_program.png" title="ondemand_corndata_libname_program.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 02:44:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-I-use-the-set-statement-in-OnDemand-to-open-a-set-in/m-p/170013#M13031</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-07-08T02:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use the set statement in OnDemand to open a set in libraries</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-I-use-the-set-statement-in-OnDemand-to-open-a-set-in/m-p/170014#M13032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help Cynthia.&lt;/P&gt;&lt;P&gt;Much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;BIG&lt;/STRONG&gt;&lt;/SPAN&gt; questions is. "where the heck is "&lt;STRONG&gt;&lt;EM&gt;tutorials&lt;/EM&gt;&lt;/STRONG&gt;" defined???.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see it anywhere but when I enter tutorials&lt;STRONG&gt;&lt;EM&gt;/eg , &lt;/EM&gt;&lt;/STRONG&gt;it is magically mapped to the SASApp/Libraries folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coming from the Microsoft Visual Basic world, I find SAS program syntax so alien.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 03:51:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-I-use-the-set-statement-in-OnDemand-to-open-a-set-in/m-p/170014#M13032</guid>
      <dc:creator>michael971</dc:creator>
      <dc:date>2014-07-08T03:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use the set statement in OnDemand to open a set in libraries</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-I-use-the-set-statement-in-OnDemand-to-open-a-set-in/m-p/170015#M13033</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; The SAS OnDemand servers are "locked down" UNIX servers. So the /tutorials location is an alias for a physical drive name, which is hidden, as is the name of the machine and the names of all of the physical folders. So /tutorials/eg/data, was intentionally defined to be an aliased location by the folks who maintain the servers. Just as "SASApp" is one of the usual server names given to represent a server location -- but there probably is not a physical server machine named SASApp just as there is probably not a physical directory structure named /tutorials/eg/data, with just that exact name on the server. But having an alias location like this made it easy for commonly used datasets to be read-only on the server and accessible to multiple server users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; In our e-learning classes, for example, we have explicit instructions about how to point to the /tutorials location for each class. In SAS OnDemand for Academics, the assumption is usually, that you will find out about the correct LIBNAME statement name from your professor (whether it is the /tutorials location or the location where your instructor loaded data, such as /courses/u_0/i_123/c_105).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; The only reason I knew about the CORN data is that I can see it in my SAS OnDemand for Professionals image and I know, from the e-learning classes, what the correct path is. So, for the ECPRG2 class, the LIBNAME statement, for example, is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;libname ecprg2 '/tutorials/eg/data/ecprg2';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;which meant that since ecprg2 and corn appear under the SASApp libraries that the LIBNAME statement for your question had to be something like:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;libname wombat '/tutorials/eg/data/corn';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 17:08:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-I-use-the-set-statement-in-OnDemand-to-open-a-set-in/m-p/170015#M13033</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-07-08T17:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use the set statement in OnDemand to open a set in libraries</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-I-use-the-set-statement-in-OnDemand-to-open-a-set-in/m-p/170016#M13034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Cynthia, I figured it was something that was hidden. Can you post the other Aliases for the OnDemand server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 01:06:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-I-use-the-set-statement-in-OnDemand-to-open-a-set-in/m-p/170016#M13034</guid>
      <dc:creator>michael971</dc:creator>
      <dc:date>2014-07-09T01:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use the set statement in OnDemand to open a set in libraries</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-I-use-the-set-statement-in-OnDemand-to-open-a-set-in/m-p/170017#M13035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi, I only know of the /tutorials alias and a shortcut for the user location.&amp;nbsp; So I'm not understanding what you mean by "other aliases". For example, for our e-learning courses if I wanted to point to multiple classes, I might use the class name as the "nickname" or LIBREF:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Programming 1: libname ecprg1 '/tutorials/eg/data/&lt;SPAN style="color: #ff00ff;"&gt;ecprg1&lt;/SPAN&gt;';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Programming 2: libname ecprg2 '/tutorials/eg/data/&lt;SPAN style="color: #ff00ff;"&gt;ecprg2&lt;/SPAN&gt;';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Programming 3: libname ecprg3 '/tutorials/eg/data/&lt;SPAN style="color: #ff00ff;"&gt;ecprg3&lt;/SPAN&gt;';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;SQL 1: libname ecsql1 '/tutorials/eg/data/&lt;SPAN style="color: #ff00ff;"&gt;ecsql1&lt;/SPAN&gt;';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Macro 1: libname ecmac1 '/tutorials/eg/data/&lt;SPAN style="color: #ff00ff;"&gt;ecmac1&lt;/SPAN&gt;';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;Corn: libname corndata '/tutorials/eg/data/&lt;SPAN style="color: #ff00ff;"&gt;corn&lt;/SPAN&gt;';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; See the pattern? I've color coded it for you. Look at the name of the folders in my screen shot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; The only other alias-like name that I know is the &lt;STRONG style="font-family: courier new,courier;"&gt;~/user&lt;/STRONG&gt; as a shortcut to the longer location &lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;/home/your_user_ID/user&lt;/STRONG&gt;&lt;/SPAN&gt; location, which is the user folder under SASApp in the Files location. See attached screen shot. If your professor has set up any other folders or files, you will have to get the path name from him/her. If there are aliases, I'm not sure what they would be. The SAS OnDemand for Academics server is slightly different from the SAS OnDemand for Professionals server.&lt;/P&gt;&lt;P&gt;&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/10729i94C4626F469EB90F/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="alias_vs_shortcut.png" title="alias_vs_shortcut.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 23:46:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-I-use-the-set-statement-in-OnDemand-to-open-a-set-in/m-p/170017#M13035</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-07-09T23:46:23Z</dc:date>
    </item>
  </channel>
</rss>

