<?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 how to create multiple libraries by using single libname statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-multiple-libraries-by-using-single-libname/m-p/770874#M244538</link>
    <description>&lt;P&gt;libname test1 'path1' ;&lt;/P&gt;
&lt;P&gt;libname test2 'path2' ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have written code&amp;nbsp; like above. By using that above code we can create 2 libraries test1 and test2 .&lt;/P&gt;
&lt;P&gt;But question is:&lt;/P&gt;
&lt;P&gt;how to create 2 libraries by using single libname statement?&lt;/P&gt;
&lt;P&gt;I have tried below but it's not working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;libname test1 'path1'&amp;nbsp; test2 'path2'&amp;nbsp; &amp;nbsp;;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Sep 2021 13:11:10 GMT</pubDate>
    <dc:creator>thanikondharish</dc:creator>
    <dc:date>2021-09-28T13:11:10Z</dc:date>
    <item>
      <title>how to create multiple libraries by using single libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-multiple-libraries-by-using-single-libname/m-p/770874#M244538</link>
      <description>&lt;P&gt;libname test1 'path1' ;&lt;/P&gt;
&lt;P&gt;libname test2 'path2' ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have written code&amp;nbsp; like above. By using that above code we can create 2 libraries test1 and test2 .&lt;/P&gt;
&lt;P&gt;But question is:&lt;/P&gt;
&lt;P&gt;how to create 2 libraries by using single libname statement?&lt;/P&gt;
&lt;P&gt;I have tried below but it's not working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;libname test1 'path1'&amp;nbsp; test2 'path2'&amp;nbsp; &amp;nbsp;;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 13:11:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-multiple-libraries-by-using-single-libname/m-p/770874#M244538</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2021-09-28T13:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to create multiple libraries by using single libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-multiple-libraries-by-using-single-libname/m-p/770878#M244539</link>
      <description>&lt;P data-unlink="true"&gt;You can't do that. The documentation for &lt;A href="https://documentation.sas.com/doc/en/pgmmvacdc/9.4/lestmtsglobal/n1nk65k2vsfmxfn1wu17fntzszbp.htm" target="_self"&gt;LIBNAME&lt;/A&gt;&amp;nbsp;indicates only one libref per statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What you can do is assign two (or more) folders to a single libref in a LIBNAME statement, if that would suit your needs.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 13:17:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-multiple-libraries-by-using-single-libname/m-p/770878#M244539</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-09-28T13:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to create multiple libraries by using single libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-multiple-libraries-by-using-single-libname/m-p/770918#M244556</link>
      <description>Why? There are many ways to declare libraries so if there's a reason there may be other methods.</description>
      <pubDate>Tue, 28 Sep 2021 15:25:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-multiple-libraries-by-using-single-libname/m-p/770918#M244556</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-09-28T15:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to create multiple libraries by using single libname statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-create-multiple-libraries-by-using-single-libname/m-p/771134#M244668</link>
      <description>You can check libname() function .&lt;BR /&gt;Or combine these two path into one libname.&lt;BR /&gt;&lt;BR /&gt;libname test ('path1'  'path2' );</description>
      <pubDate>Wed, 29 Sep 2021 13:42:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-create-multiple-libraries-by-using-single-libname/m-p/771134#M244668</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-09-29T13:42:08Z</dc:date>
    </item>
  </channel>
</rss>

