<?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: Assignment of Library using  another library in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Assignment-of-Library-using-another-library/m-p/344574#M79196</link>
    <description>&lt;P&gt;Have you tried inserting parentheses around (lib1) &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2017 11:12:57 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2017-03-27T11:12:57Z</dc:date>
    <item>
      <title>Assignment of Library using  another library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Assignment-of-Library-using-another-library/m-p/344555#M79187</link>
      <description>&lt;P&gt;I have a preassigned library Lib1. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Libname Lib1 "C:\MyDevWork\folder\";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the code, library Lib2 being used a lot. Lib2 is same as Lib1,&amp;nbsp;One way of creating Lib2 is use the path of Lib1 in libname statement.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to know -"Is there any way I can create Libname for Lib2 using Lib1 without worrying the path of Lib1?"&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 10:02:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Assignment-of-Library-using-another-library/m-p/344555#M79187</guid>
      <dc:creator>RahulG</dc:creator>
      <dc:date>2017-03-27T10:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Assignment of Library using  another library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Assignment-of-Library-using-another-library/m-p/344557#M79188</link>
      <description>&lt;P&gt;Just use the libref, instead of the path:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/syntaxidx/68719/HTML/default/index.htm#/documentation/cdl/en/lestmtsref/69738/HTML/default/n1nk65k2vsfmxfn1wu17fntzszbp.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/syntaxidx/68719/HTML/default/index.htm#/documentation/cdl/en/lestmtsref/69738/HTML/default/n1nk65k2vsfmxfn1wu17fntzszbp.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 10:25:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Assignment-of-Library-using-another-library/m-p/344557#M79188</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-03-27T10:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Assignment of Library using  another library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Assignment-of-Library-using-another-library/m-p/344559#M79190</link>
      <description>&lt;P&gt;I tried followig but it did not worked&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Libname Lib2 base lib1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 10:42:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Assignment-of-Library-using-another-library/m-p/344559#M79190</guid>
      <dc:creator>RahulG</dc:creator>
      <dc:date>2017-03-27T10:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Assignment of Library using  another library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Assignment-of-Library-using-another-library/m-p/344574#M79196</link>
      <description>&lt;P&gt;Have you tried inserting parentheses around (lib1) &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 11:12:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Assignment-of-Library-using-another-library/m-p/344574#M79196</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2017-03-27T11:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Assignment of Library using  another library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Assignment-of-Library-using-another-library/m-p/344582#M79197</link>
      <description>&lt;P&gt;You could also try&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname lib2 "%sysfunc(pathname(lib1))";&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 27 Mar 2017 11:46:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Assignment-of-Library-using-another-library/m-p/344582#M79197</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-03-27T11:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Assignment of Library using  another library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Assignment-of-Library-using-another-library/m-p/344583#M79198</link>
      <description>&lt;P&gt;You want Example 2 in the link provided.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Libname lib2 (lib1);&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 11:46:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Assignment-of-Library-using-another-library/m-p/344583#M79198</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-03-27T11:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Assignment of Library using  another library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Assignment-of-Library-using-another-library/m-p/344879#M79303</link>
      <description>&lt;P&gt;Thank you everyone for quick reply. it is helpful.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2017 04:43:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Assignment-of-Library-using-another-library/m-p/344879#M79303</guid>
      <dc:creator>RahulG</dc:creator>
      <dc:date>2017-03-28T04:43:52Z</dc:date>
    </item>
  </channel>
</rss>

