<?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 can i create multiple libraries in one run in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-can-i-create-multiple-libraries-in-one-run/m-p/682147#M206466</link>
    <description>&lt;P&gt;Here i'm having a dataset in which i have variables called libref and path like below&lt;/P&gt;&lt;P&gt;libref&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;path&lt;/P&gt;&lt;P&gt;macro&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'ahcb/ajbj/new&lt;/P&gt;&lt;P&gt;base&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;c:/apth/sai&lt;/P&gt;&lt;P&gt;advance&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;d:/sail/new&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here i wont create macro, base and advance as&amp;nbsp; libraries.i have used call execute but i'm getting errors.&lt;/P&gt;&lt;P&gt;thanks a ton.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Sep 2020 07:07:21 GMT</pubDate>
    <dc:creator>MSK4</dc:creator>
    <dc:date>2020-09-08T07:07:21Z</dc:date>
    <item>
      <title>how can i create multiple libraries in one run</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-can-i-create-multiple-libraries-in-one-run/m-p/682147#M206466</link>
      <description>&lt;P&gt;Here i'm having a dataset in which i have variables called libref and path like below&lt;/P&gt;&lt;P&gt;libref&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;path&lt;/P&gt;&lt;P&gt;macro&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'ahcb/ajbj/new&lt;/P&gt;&lt;P&gt;base&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;c:/apth/sai&lt;/P&gt;&lt;P&gt;advance&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;d:/sail/new&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here i wont create macro, base and advance as&amp;nbsp; libraries.i have used call execute but i'm getting errors.&lt;/P&gt;&lt;P&gt;thanks a ton.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 07:07:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-can-i-create-multiple-libraries-in-one-run/m-p/682147#M206466</guid>
      <dc:creator>MSK4</dc:creator>
      <dc:date>2020-09-08T07:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: how can i create multiple libraries in one run</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-can-i-create-multiple-libraries-in-one-run/m-p/682148#M206467</link>
      <description>&lt;P&gt;When yout get ERRORs (or WARNINGs or other messages) you do not understand, always (and I mean&amp;nbsp;&lt;STRONG&gt;ALWAYS&lt;/STRONG&gt;) post the whole log of that step (or macro definition and execution) by copy/pasting into a window opened with the &amp;lt;/&amp;gt; button.&lt;/P&gt;
&lt;P&gt;So please show us your log.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 07:16:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-can-i-create-multiple-libraries-in-one-run/m-p/682148#M206467</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-08T07:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: how can i create multiple libraries in one run</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-can-i-create-multiple-libraries-in-one-run/m-p/682150#M206468</link>
      <description>&lt;P&gt;You do not need a macro, you can use the&amp;nbsp;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=lefunctionsref&amp;amp;docsetTarget=p1bq8nyxm7y1ygn1i4vyf82z68ls.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;LIBNAME&lt;/A&gt;&amp;nbsp;function in a data step that reads your dataset.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 07:21:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-can-i-create-multiple-libraries-in-one-run/m-p/682150#M206468</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-08T07:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: how can i create multiple libraries in one run</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-can-i-create-multiple-libraries-in-one-run/m-p/682211#M206493</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;remarked, you can use the LIBNAME function, e.g.:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data _null_;
  set librefs; /* or whatever your data set is named */
  if libname(libref,path) then do;
    msg=sysmsg();
    put msg;
    end;
  else
    put 'Libname ' libref 'was assigned to path ' path;
run;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 08 Sep 2020 11:45:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-can-i-create-multiple-libraries-in-one-run/m-p/682211#M206493</guid>
      <dc:creator>s_lassen</dc:creator>
      <dc:date>2020-09-08T11:45:54Z</dc:date>
    </item>
  </channel>
</rss>

