<?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 option? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Libname-option/m-p/505159#M135252</link>
    <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Oct 2018 15:26:58 GMT</pubDate>
    <dc:creator>ybz12003</dc:creator>
    <dc:date>2018-10-17T15:26:58Z</dc:date>
    <item>
      <title>Libname option?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-option/m-p/504840#M135152</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have libname program shown as below.&amp;nbsp; I am wondering if I could assign a folder pathway&amp;nbsp;after I generate the libname "RVS".&amp;nbsp; Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Libname RVS OLEDB 
		provider="sqloledb" 
		properties=("Data Source"="Inquire/2018"
					"Persist Security Info"="True" 
					"User ID"="test" 
					"Password"="&amp;amp;pin" 
					"Initial Catalog"="RVS")
		schema=dbo;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Oct 2018 19:16:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-option/m-p/504840#M135152</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2018-10-16T19:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Libname option?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-option/m-p/504845#M135156</link>
      <description>&lt;LI-SPOILER&gt;&amp;nbsp;&lt;/LI-SPOILER&gt;
&lt;P&gt;&lt;SPAN&gt;Please explain what you mean by "&lt;/SPAN&gt;&lt;SPAN&gt;assign a folder pathway".&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 19:28:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-option/m-p/504845#M135156</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-10-16T19:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Libname option?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-option/m-p/504847#M135158</link>
      <description>&lt;P&gt;For example, I could like to do the following as well&amp;nbsp; after the OLEDB.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname RSV 'Pathway\RSV\2018';&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Oct 2018 19:34:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-option/m-p/504847#M135158</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2018-10-16T19:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Libname option?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-option/m-p/504860#M135161</link>
      <description>&lt;P&gt;You could, but it would overwrite your other library.&amp;nbsp; You could give it a different name though, but I don't&amp;nbsp; think you can combine librefs from different sources, though I haven't tried it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/67134"&gt;@ybz12003&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;For example, I could like to do the following as well&amp;nbsp; after the OLEDB.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname RSV 'Pathway\RSV\2018';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 19:53:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-option/m-p/504860#M135161</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-16T19:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Libname option?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-option/m-p/504864#M135165</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/67134"&gt;@ybz12003&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;For example, I could like to do the following as well&amp;nbsp; after the OLEDB.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname RSV 'Pathway\RSV\2018';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Is this suposed to be "RVS" or "RSV".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In you initial post you mentioned "RVS" and now your assigning "RSV". If this is your situation, you can do that without any issues or if you want to assign the same name that was previously assigned, you can do that and first one will be replaced by the later one. If you want to check how that libname is defined then run &lt;STRONG&gt;LIBNAME RVS list; &lt;/STRONG&gt;or you can also query&lt;STRONG&gt; sashelp.vlibnam &lt;/STRONG&gt;views.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 20:10:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-option/m-p/504864#M135165</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2018-10-16T20:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Libname option?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-option/m-p/504886#M135173</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/67134"&gt;@ybz12003&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have libname program shown as below.&amp;nbsp; I am wondering if I could assign a folder pathway&amp;nbsp;after I generate the libname "RVS".&amp;nbsp; Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Libname RVS OLEDB 
		provider="sqloledb" 
		properties=("Data Source"="Inquire/2018"
					"Persist Security Info"="True" 
					"User ID"="test" 
					"Password"="&amp;amp;pin" 
					"Initial Catalog"="RVS")
		schema=dbo;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You can have multiple folders in a library. Open your SAS configuration file for examples involving the SASHELP library or see if the default Key setting of CTRL-B brings up your library list to see what the path for SASHELP looks like.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However since libraries tend to be read and write when you use an external DB as the target for a library I suspect you would have many bad things happen if you tried to assign a path and a DB at the same time as you would be writing to two different file standards: SAS data set or DB table.&lt;/P&gt;
&lt;P&gt;As mentioned a second libname statement would overwrite an existing libname of the same name. If that is the behavior you want go for it but expect to have issues debugging things later when looking for tables you thought were written to the DB but actually want to a different folder because the libname executed in between.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 20:48:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-option/m-p/504886#M135173</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-10-16T20:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Libname option?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Libname-option/m-p/505159#M135252</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 15:26:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Libname-option/m-p/505159#M135252</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2018-10-17T15:26:58Z</dc:date>
    </item>
  </channel>
</rss>

