<?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: Libref and library in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Libref-and-library/m-p/602196#M174307</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/236266"&gt;@ChuksManuel&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wouldn't say it's useless to create the second libref because libref &lt;FONT face="courier new,courier"&gt;library&lt;/FONT&gt; has a special meaning when it comes to searching format catalogs (see &lt;A href="https://documentation.sas.com/?docsetId=lesysoptsref&amp;amp;docsetTarget=p1fvn6rwmpf1njn1whkud1hmsc97.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank" rel="noopener"&gt;FMTSEARCH= system option&lt;/A&gt;). It's not just an alias for &lt;FONT face="courier new,courier"&gt;nsch&lt;/FONT&gt; (in your case).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To avoid the note "... &lt;FONT face="courier new,courier"&gt;refers to the same physical library as&lt;/FONT&gt; ..." you can use this syntax&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname library (nsch);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;referring to the existing libref &lt;FONT face="courier new,courier"&gt;nsch&lt;/FONT&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Nov 2019 20:16:09 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2019-11-06T20:16:09Z</dc:date>
    <item>
      <title>Libref and library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libref-and-library/m-p/602184#M174297</link>
      <description>&lt;P&gt;Hello programmers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to wrap my head around libref and library.&lt;/P&gt;&lt;P&gt;Any help would be appreciated&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Libname nsch "C:\Users\Aba\Box\NSCH\nsch1617combined_drc";
Libname library "C:\Users\Aba\Box\NSCH\nsch1617combined_drc";

PROC FORMAT LIBRARY=LIBRARY;
/*Topical*/&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.The error message was that libref and library are the same physical address. Please in what formats should the libref and library be in?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 19:32:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libref-and-library/m-p/602184#M174297</guid>
      <dc:creator>ChuksManuel</dc:creator>
      <dc:date>2019-11-06T19:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Libref and library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libref-and-library/m-p/602189#M174300</link>
      <description>It's fine, it's not an error, it's a warning or note I believe just to let you know that two definitions point t the same location. This means that anything written to nsch is also written to library so it's not a super useful thing to do in most cases.</description>
      <pubDate>Wed, 06 Nov 2019 19:52:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libref-and-library/m-p/602189#M174300</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-06T19:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Libref and library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libref-and-library/m-p/602191#M174302</link>
      <description>&lt;P&gt;Libref is used to reference a library.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your code above nsch is useless as it is being overwritten by library why are they both pointed to the same Physical location?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 19:56:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libref-and-library/m-p/602191#M174302</guid>
      <dc:creator>Krueger</dc:creator>
      <dc:date>2019-11-06T19:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Libref and library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libref-and-library/m-p/602193#M174304</link>
      <description>&lt;P&gt;Thank you for the response&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 20:01:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libref-and-library/m-p/602193#M174304</guid>
      <dc:creator>ChuksManuel</dc:creator>
      <dc:date>2019-11-06T20:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Libref and library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libref-and-library/m-p/602194#M174305</link>
      <description>&lt;P&gt;Thanks! That was helpful&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 20:01:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libref-and-library/m-p/602194#M174305</guid>
      <dc:creator>ChuksManuel</dc:creator>
      <dc:date>2019-11-06T20:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Libref and library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libref-and-library/m-p/602196#M174307</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/236266"&gt;@ChuksManuel&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wouldn't say it's useless to create the second libref because libref &lt;FONT face="courier new,courier"&gt;library&lt;/FONT&gt; has a special meaning when it comes to searching format catalogs (see &lt;A href="https://documentation.sas.com/?docsetId=lesysoptsref&amp;amp;docsetTarget=p1fvn6rwmpf1njn1whkud1hmsc97.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank" rel="noopener"&gt;FMTSEARCH= system option&lt;/A&gt;). It's not just an alias for &lt;FONT face="courier new,courier"&gt;nsch&lt;/FONT&gt; (in your case).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To avoid the note "... &lt;FONT face="courier new,courier"&gt;refers to the same physical library as&lt;/FONT&gt; ..." you can use this syntax&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname library (nsch);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;referring to the existing libref &lt;FONT face="courier new,courier"&gt;nsch&lt;/FONT&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 20:16:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libref-and-library/m-p/602196#M174307</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2019-11-06T20:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Libref and library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libref-and-library/m-p/602202#M174312</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 20:22:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libref-and-library/m-p/602202#M174312</guid>
      <dc:creator>ChuksManuel</dc:creator>
      <dc:date>2019-11-06T20:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Libref and library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libref-and-library/m-p/602334#M174374</link>
      <description>&lt;P&gt;Just to dig a little deeper into why one uses the special name "library": if you want to send data to other SAS users that contain custom formats, defining those formats in the catalog library.formats &lt;EM&gt;and&lt;/EM&gt; storing the datasets in the same directory enables you to cport the whole library into one blob, and when the receivers also use "library" when they cimport the blob, the formats will automatically be there and usable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that you should still send the format code along in a .sas file.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 06:54:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libref-and-library/m-p/602334#M174374</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-11-07T06:54:18Z</dc:date>
    </item>
  </channel>
</rss>

