<?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: &amp;quot;Library is not assigned issue&amp;quot; in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/quot-Library-is-not-assigned-issue-quot/m-p/523093#M142086</link>
    <description>&lt;P&gt;looks like you have a libname statement improperly placed in your SAS code.&amp;nbsp; Please post the code using the insert SAS code option&lt;/P&gt;</description>
    <pubDate>Fri, 21 Dec 2018 16:09:36 GMT</pubDate>
    <dc:creator>VDD</dc:creator>
    <dc:date>2018-12-21T16:09:36Z</dc:date>
    <item>
      <title>"Library is not assigned issue"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-Library-is-not-assigned-issue-quot/m-p/523084#M142082</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a new SAS user and having some issue when trying to import data. I get the error "Library is not assigned." My code and the error message is below. I read up on libraries, and I am not sure why I need one here for importing a single csv file, so some intuition into that would be much appreciated as well. I tried putting the libname inside and outside of the import procedure, it doesnt appear to be working either way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 15:59:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-Library-is-not-assigned-issue-quot/m-p/523084#M142082</guid>
      <dc:creator>nla2121</dc:creator>
      <dc:date>2018-12-21T15:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: "Library is not assigned issue"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-Library-is-not-assigned-issue-quot/m-p/523092#M142085</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You're correct, you do not need&amp;nbsp; a library, but you've also indicated in your code that you'd like the data stored to a library so if you're trying to use one you do need to make sure it exists.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you use a naming convention such as libName.DataSetName this means the portion before the period is the libname. You've used this type of notation while trying to&amp;nbsp; name your output file so SAS is looking for that library to save the file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't want that, remove the library name.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please post images directly into the forum using the photos icon, or better yet, post your code directly into the forum.&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/252245"&gt;@nla2121&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am a new SAS user and having some issue when trying to import data. I get the error "Library is not assigned." My code and the error message is below. I read up on libraries, and I am not sure why I need one here for importing a single csv file, so some intuition into that would be much appreciated as well. I tried putting the libname inside and outside of the import procedure, it doesnt appear to be working either way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 16:08:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-Library-is-not-assigned-issue-quot/m-p/523092#M142085</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-12-21T16:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: "Library is not assigned issue"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-Library-is-not-assigned-issue-quot/m-p/523093#M142086</link>
      <description>&lt;P&gt;looks like you have a libname statement improperly placed in your SAS code.&amp;nbsp; Please post the code using the insert SAS code option&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 16:09:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-Library-is-not-assigned-issue-quot/m-p/523093#M142086</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2018-12-21T16:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: "Library is not assigned issue"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-Library-is-not-assigned-issue-quot/m-p/523094#M142087</link>
      <description>&lt;P&gt;please use the libname P1 for storing the new dataset created from CSV file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please call the libname P1 first and then in the proc import replace the ART. with P1.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 16:08:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-Library-is-not-assigned-issue-quot/m-p/523094#M142087</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2018-12-21T16:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: "Library is not assigned issue"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-Library-is-not-assigned-issue-quot/m-p/523097#M142089</link>
      <description>&lt;P&gt;Libname statement also has to go before your PROC IMPORT, so it's ready before you try and use it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;STRIKE&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12151"&gt;@Jagadishkatam&lt;/a&gt;&amp;nbsp;wrote:&lt;/STRIKE&gt;&lt;BR /&gt;
&lt;P&gt;&lt;STRIKE&gt;please use the libname P1 for storing the new dataset created from CSV file.&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;&amp;nbsp;&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRIKE&gt;please call the libname P1 first and then in the proc import replace the ART. with P1.&lt;/STRIKE&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;Sorry, replied to wrong post.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 16:10:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-Library-is-not-assigned-issue-quot/m-p/523097#M142089</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-12-21T16:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: "Library is not assigned issue"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-Library-is-not-assigned-issue-quot/m-p/523128#M142109</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;Thank you for the responses, they were instructive! Problem solved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 17:47:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-Library-is-not-assigned-issue-quot/m-p/523128#M142109</guid>
      <dc:creator>nla2121</dc:creator>
      <dc:date>2018-12-21T17:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: "Library is not assigned issue"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/quot-Library-is-not-assigned-issue-quot/m-p/523130#M142111</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/252245"&gt;@nla2121&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;Thank you for the responses, they were instructive! Problem solved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Please mark the question solved.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 17:57:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/quot-Library-is-not-assigned-issue-quot/m-p/523130#M142111</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-12-21T17:57:39Z</dc:date>
    </item>
  </channel>
</rss>

