<?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: Create library in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177534#M264815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See: &lt;A _jive_internal="true" data-containerid="2030" data-containertype="14" data-objectid="58528" data-objecttype="1" href="https://communities.sas.com/thread/58528"&gt;https://communities.sas.com/thread/58528&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="63295" data-objecttype="3" href="https://communities.sas.com/people/Cynthia@sas"&gt;Cynthia@sas&lt;/A&gt; did and excellent explanation as the 5-th post. See the perm library definition.&lt;/P&gt;&lt;P&gt;You can review the effective path settings viewing on properties files/libraries within SAS studio.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Aug 2014 19:53:52 GMT</pubDate>
    <dc:creator>jakarman</dc:creator>
    <dc:date>2014-08-27T19:53:52Z</dc:date>
    <item>
      <title>Create library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177530#M264811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can anyone please help me out. I am having problem in creating Library in sas university edition.&lt;/P&gt;&lt;P&gt;when i run this code:&lt;/P&gt;&lt;P&gt;libname jacky "C:/Users/JAY/Desktop/jack"; run;&lt;/P&gt;&lt;P&gt;log shows:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas, Courier, 'Courier New'; font-size: 16px; background-color: #ffffff;"&gt;NOTE: Library JACKY does not exist.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help me what are proper sequential steps, Thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 19:15:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177530#M264811</guid>
      <dc:creator>sas001</dc:creator>
      <dc:date>2014-08-27T19:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177531#M264812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a folder "jack" on desktop and refer that through&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname jacky "C:/Users/JAY/Desktop/jack";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"jacky" in the libname statement is used an alias to access files in folder "jack". Suppose there is a dataset "have" in folder "jack" then you can access that using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=jacky.have;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 19:28:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177531#M264812</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2014-08-27T19:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177532#M264813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanx , So i did the same but still it shows library Jacky doesnt exist. So is there any steps i need to do with library before putting codes ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 19:37:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177532#M264813</guid>
      <dc:creator>sas001</dc:creator>
      <dc:date>2014-08-27T19:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177533#M264814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this to see how it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname jacky "/Users/JAY/Desktop/jack";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 19:52:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177533#M264814</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2014-08-27T19:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177534#M264815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See: &lt;A _jive_internal="true" data-containerid="2030" data-containertype="14" data-objectid="58528" data-objecttype="1" href="https://communities.sas.com/thread/58528"&gt;https://communities.sas.com/thread/58528&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="63295" data-objecttype="3" href="https://communities.sas.com/people/Cynthia@sas"&gt;Cynthia@sas&lt;/A&gt; did and excellent explanation as the 5-th post. See the perm library definition.&lt;/P&gt;&lt;P&gt;You can review the effective path settings viewing on properties files/libraries within SAS studio.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 19:53:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177534#M264815</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-08-27T19:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Create library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177535#M264816</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 you use SAS University Edition, you MUST set up access to files on your C: drive in one of 2 ways:&lt;/P&gt;&lt;P&gt;1) set up a shared folder location&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;2) set up a shortcuts location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; No matter WHICH choice you make when you are using SAS University Edition you do NOT, NOT, NOT, NOT, NOT, NOT *EVER* (NOT EVER) use a C:\ drive location. Why is that? That is because your copy of SAS is a Unix copy of SAS delivered as a virtual application (vApp) that is being played by either Virtual Box or VMware Player. Unix SAS does not "know" about or know how to read directly off your personal machine. Your SAS is only able to "reach" to your C: drive through the locations you define in the Virtual Machine software. And so, those locations have to look like UNIX locations, with UNIX slashes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; On the SAS University Edition, your LIBNAME statement would be something like this:&lt;/P&gt;&lt;P&gt;libname jacky&amp;nbsp; '/folders/myfolders/jack';&amp;nbsp;&amp;nbsp; &amp;lt;-- with shared folders&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;libname jacky2 '/folders/myshortcuts/jack2';&amp;nbsp; &amp;lt;--- with shortcuts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The instructions for either shared folders or shortcuts belongs to your virtual machine player (either Virtual Box or VM Ware Player) so you have to understand how that works and do the setup. And, you have to do the setup BEFORE you test your LIBNAME statement. The difference between the 2 approaches is that with the MYFOLDERS approach #1, you MUST physically move your files to the shared folder location. With the #2 shortcut approach, you have to DEFINE the shortcut location in your Virtual Machine software and then use that shortcut name -- doesn't require moving files, but the shortcut approach seems to me a bit harder to understand conceptually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; There are a lot of postings on the Community Forum for SAS University Edition that explain that you can NEVER use a C: drive location for your LIBNAME or INFILE statement with the SAS University Edition. See this posting as an example of INFILE usage. There may be some useful screen shots here to get you going. &lt;A _jive_internal="true" href="https://communities.sas.com/message/223452#223452"&gt;https://communities.sas.com/message/223452#223452&lt;/A&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>Wed, 27 Aug 2014 20:13:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177535#M264816</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-08-27T20:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177536#M264817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 20:45:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177536#M264817</guid>
      <dc:creator>sas001</dc:creator>
      <dc:date>2014-08-27T20:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177537#M264818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx a lot &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 20:48:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177537#M264818</guid>
      <dc:creator>sas001</dc:creator>
      <dc:date>2014-08-27T20:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177538#M264819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey i have&amp;nbsp; one que, if my file name is tavr.sas7bdat and my lib name for example jack then what would be import code ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 02:24:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177538#M264819</guid>
      <dc:creator>sas001</dc:creator>
      <dc:date>2014-08-28T02:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177539#M264820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is how I have done on mine.&lt;/P&gt;&lt;P&gt;Create a folder&amp;nbsp; say abc some where in your c drive.&lt;/P&gt;&lt;P&gt;Then go to your virtual machine settings and click shared folder option. Then will have an option to browse the folder to share. Then point it to the folder abc you just created on c drive. I was not able to share a folder on desktop!&lt;/P&gt;&lt;P&gt;Once you point your shared folder -in this case abc you will have the option to name it, other wise it will name abc by default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example&amp;nbsp; : abc " c:\abc". This is what you see on the virtual machine.&amp;gt;&amp;gt;&amp;gt;&amp;gt;(***)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, you can created library as&lt;/P&gt;&lt;P&gt;Libname&amp;nbsp; newlib "/folders/myshortcuts/abc".&lt;/P&gt;&lt;P&gt;In step (***) , If you have named the shared folder as xyz "c:\abc" then you need to specify the library as&lt;/P&gt;&lt;P&gt;Libname&amp;nbsp; newlib "/folders/myshortcuts/xyz".&lt;/P&gt;&lt;P&gt;This how I made it work on mine...hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 02:49:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177539#M264820</guid>
      <dc:creator>rnmishra</dc:creator>
      <dc:date>2014-08-28T02:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Create library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177540#M264821</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; Your 2 level SAS name is built like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 14pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff00ff;"&gt;libname&lt;/SPAN&gt;.&lt;SPAN style="color: #0000ff;"&gt;dataset&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So, if your libname is &lt;SPAN style="color: #ff00ff; font-family: courier new,courier; font-size: 14pt;"&gt;&lt;STRONG&gt;JACK&lt;/STRONG&gt;&lt;/SPAN&gt; and your dataset name is &lt;SPAN style="color: #0000ff; font-family: courier new,courier; font-size: 14pt;"&gt;&lt;STRONG&gt;TAVR.SAS7BDAT&lt;/STRONG&gt;&lt;/SPAN&gt;, then your 2 level name should drop the file extension &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;SAS7BDAT&lt;/STRONG&gt;&lt;/SPAN&gt; (because SAS knows what file extensions it can read) and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your 2 level name to use in code would be:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 14pt;"&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff00ff;"&gt;jack&lt;/SPAN&gt;.&lt;SPAN style="color: #0000ff;"&gt;tavr&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;so in a PROC PRINT program, for example, you would have something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;libname &lt;SPAN style="color: #ff00ff;"&gt;jack&lt;/SPAN&gt; '/folders/myfolders/&lt;EM&gt;jackdata&lt;/EM&gt;';&amp;nbsp;&amp;nbsp; /* &amp;lt;--- assumes that your tavr.sas7bdat file is in this shared folder */&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;proc print data=&lt;SPAN style="color: #ff00ff;"&gt;jack&lt;/SPAN&gt;.&lt;SPAN style="color: #3366ff;"&gt;tavr&lt;/SPAN&gt;;&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; title 'Proc Print';&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;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Aug 2014 17:04:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-library/m-p/177540#M264821</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-08-31T17:04:33Z</dc:date>
    </item>
  </channel>
</rss>

