<?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 mylib '.' in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/libname-mylib/m-p/547044#M151537</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1717"&gt;@saslove&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Under Windows (and Unix) the dot refers to what is called the "current folder" (or "working directory," especially under Unix, but not to be confused with the WORK library).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are various ways to change the physical location of that folder: see&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=hostwin&amp;amp;docsetTarget=p09f1z387baplan1r0744dqujdln.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n0enl9npplpj1gn1n1fjidqi3pf1" target="_blank" rel="noopener"&gt;Changing the SAS Current Folder&lt;/A&gt; (for Windows) or&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=hostunx&amp;amp;docsetTarget=p0n9p5e6du1q0mn14t9vmo2rttcy.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank" rel="noopener"&gt;Changing Your Working Directory in UNIX Environments&lt;/A&gt;. For Windows there is additional information about the default location in&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=hostwin&amp;amp;docsetTarget=p16esisc4nrd5sn1ps5l6u8f79k6.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n1ppawaf24ojb1n17c7qs3ktm0o2" target="_blank" rel="noopener"&gt;Determining the Current Folder When SAS Starts&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Personally, I don't use this folder as a library for SAS datasets because it wouldn't be project-specific, as you noticed.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Mar 2019 21:47:32 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2019-03-28T21:47:32Z</dc:date>
    <item>
      <title>libname mylib '.'</title>
      <link>https://communities.sas.com/t5/SAS-Programming/libname-mylib/m-p/546989#M151520</link>
      <description>&lt;P&gt;libname mylib &lt;STRONG&gt;'.'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;What does the "DOT" mean in the above&amp;nbsp;libname statement?&amp;nbsp;&lt;BR /&gt;Even after I shut down SAS and re-open and re-run my code for another study, the mylib&amp;nbsp;remembers the datasets from the previous study/run? Why does this happen? Thoughts?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 18:21:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/libname-mylib/m-p/546989#M151520</guid>
      <dc:creator>saslove</dc:creator>
      <dc:date>2019-03-28T18:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: libname mylib '.'</title>
      <link>https://communities.sas.com/t5/SAS-Programming/libname-mylib/m-p/546993#M151521</link>
      <description>&lt;P&gt;The part in quotes for a LIBNAME statement is path on your computer. '.' would reference some relative location based on your set up.&lt;/P&gt;
&lt;P&gt;Your log should actually have the path associated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For instance when I create a similar library:&lt;/P&gt;
&lt;PRE&gt;20   libname junk '.';
NOTE: Libref JUNK refers to the same physical library as WORK.
NOTE: Libref JUNK was successfully assigned as follows:
      Engine:        V9
      Physical Name: C:\SASTemp\_TD13916_CWPP0527_

&lt;/PRE&gt;
&lt;P&gt;Which in my case indicates it is the same library as work. You might want to check on the part of the log that follows: Physical Name: for the complete path. Depending on your configuration the path could be quite different. I suspect yours does not point to the same location as your work library if the data sets are still found after closing SAS and restarting.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 18:52:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/libname-mylib/m-p/546993#M151521</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-03-28T18:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: libname mylib '.'</title>
      <link>https://communities.sas.com/t5/SAS-Programming/libname-mylib/m-p/547042#M151535</link>
      <description>I'm guessing someone set it up at some point as a permanent library. Have you tried deleting the permanent library first and then seeing if it is recreated once you delete it?</description>
      <pubDate>Thu, 28 Mar 2019 21:38:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/libname-mylib/m-p/547042#M151535</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-03-28T21:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: libname mylib '.'</title>
      <link>https://communities.sas.com/t5/SAS-Programming/libname-mylib/m-p/547044#M151537</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1717"&gt;@saslove&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Under Windows (and Unix) the dot refers to what is called the "current folder" (or "working directory," especially under Unix, but not to be confused with the WORK library).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are various ways to change the physical location of that folder: see&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=hostwin&amp;amp;docsetTarget=p09f1z387baplan1r0744dqujdln.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n0enl9npplpj1gn1n1fjidqi3pf1" target="_blank" rel="noopener"&gt;Changing the SAS Current Folder&lt;/A&gt; (for Windows) or&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=hostunx&amp;amp;docsetTarget=p0n9p5e6du1q0mn14t9vmo2rttcy.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank" rel="noopener"&gt;Changing Your Working Directory in UNIX Environments&lt;/A&gt;. For Windows there is additional information about the default location in&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=hostwin&amp;amp;docsetTarget=p16esisc4nrd5sn1ps5l6u8f79k6.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#n1ppawaf24ojb1n17c7qs3ktm0o2" target="_blank" rel="noopener"&gt;Determining the Current Folder When SAS Starts&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Personally, I don't use this folder as a library for SAS datasets because it wouldn't be project-specific, as you noticed.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 21:47:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/libname-mylib/m-p/547044#M151537</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2019-03-28T21:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: libname mylib '.'</title>
      <link>https://communities.sas.com/t5/SAS-Programming/libname-mylib/m-p/547129#M151573</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I'm guessing someone set it up at some point as a permanent library. Have you tried deleting the permanent library first and then seeing if it is recreated once you delete it?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I guess that attempt would fail. As long as SAS uses the directory as its Current Working Directory, you can't remove it. Both on Windows and UNIX..&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2019 09:47:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/libname-mylib/m-p/547129#M151573</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-03-29T09:47:46Z</dc:date>
    </item>
  </channel>
</rss>

