<?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 LIBREF in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/LIBNAME-LIBREF/m-p/649300#M22256</link>
    <description>Please include SP4R in your solution. That’s easier tl follow. Thanks&lt;BR /&gt;</description>
    <pubDate>Wed, 20 May 2020 16:48:26 GMT</pubDate>
    <dc:creator>Kadjere</dc:creator>
    <dc:date>2020-05-20T16:48:26Z</dc:date>
    <item>
      <title>LIBNAME LIBREF</title>
      <link>https://communities.sas.com/t5/New-SAS-User/LIBNAME-LIBREF/m-p/649293#M22253</link>
      <description>&lt;P&gt;I am running a VERY simple program from SAS. I am unable to compile it because of this error message - LIBREF SP4R NOT ASSIGNED. The program follows:&lt;/P&gt;&lt;P&gt;NB: The OS is MAC Catalina on Mac Air&lt;BR /&gt;&lt;SPAN&gt;************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;data sp4r.example_data;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Length First_Name $ 25 Last_Name $ 25;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Input First_Name $ Last_Name $ age height;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;datalines;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jordan Bakerman 27 68&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bruce Wayne 35 70&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Walter White 51 70&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Henry Hill 65 66&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JeanClaude VanDame 55 69&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 16:38:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/LIBNAME-LIBREF/m-p/649293#M22253</guid>
      <dc:creator>Kadjere</dc:creator>
      <dc:date>2020-05-20T16:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: LIBNAME LIBREF</title>
      <link>https://communities.sas.com/t5/New-SAS-User/LIBNAME-LIBREF/m-p/649297#M22255</link>
      <description>&lt;P&gt;Why are you trying to write to the SP4R libref if you never defined it?&lt;/P&gt;
&lt;P&gt;Why not just create a WORK dataset instead?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data work.example_data;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Or more simply&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data example_data;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 May 2020 16:42:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/LIBNAME-LIBREF/m-p/649297#M22255</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-05-20T16:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: LIBNAME LIBREF</title>
      <link>https://communities.sas.com/t5/New-SAS-User/LIBNAME-LIBREF/m-p/649300#M22256</link>
      <description>Please include SP4R in your solution. That’s easier tl follow. Thanks&lt;BR /&gt;</description>
      <pubDate>Wed, 20 May 2020 16:48:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/LIBNAME-LIBREF/m-p/649300#M22256</guid>
      <dc:creator>Kadjere</dc:creator>
      <dc:date>2020-05-20T16:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: LIBNAME LIBREF</title>
      <link>https://communities.sas.com/t5/New-SAS-User/LIBNAME-LIBREF/m-p/649307#M22257</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname sp4r 'path to folder where you want to save your work';

data sp4r.example_data;
........&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/329322"&gt;@Kadjere&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am running a VERY simple program from SAS. I am unable to compile it because of this error message - &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;LIBREF SP4R NOT ASSIGNED&lt;/STRONG&gt;&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This means you did not create a library reference so you cannot use the library. You either need to create the library reference via a LIBNAME statement or you need to save your data set to the work library which is a temporary location.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data sp4r.example_data; *trying to use the library but it does not exist yet;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 17:14:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/LIBNAME-LIBREF/m-p/649307#M22257</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-05-20T17:14:41Z</dc:date>
    </item>
  </channel>
</rss>

