<?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: ERROR: Libname LIBNAME is not assigned in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/ERROR-Libname-LIBNAME-is-not-assigned/m-p/286555#M844</link>
    <description>&lt;P&gt;Your code should look something like the following assuming you have a SAS dataset called office in the folder myfolders.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;libname mylib "/folders/myfolders/";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc print data= mylib.office;&lt;BR /&gt; title 'my office details'&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Sat, 23 Jul 2016 07:26:42 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-07-23T07:26:42Z</dc:date>
    <item>
      <title>ERROR: Libname LIBNAME is not assigned</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ERROR-Libname-LIBNAME-is-not-assigned/m-p/286078#M835</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options pagesize=60 linesize=80 pageno=1 nodate;
/*libname mylib '/folders/myfolders/sasuser.v94/File -Debug.xlsx'; */


libname mylib "/folders/myfolders/My office.sas";

data mylib.office;
	infile '/folders/myfolders/My office.sas';
	
run;

proc print data= mylib.office;
	title 'my office details'
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Jul 2016 11:28:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ERROR-Libname-LIBNAME-is-not-assigned/m-p/286078#M835</guid>
      <dc:creator>francisca</dc:creator>
      <dc:date>2016-07-21T11:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Libname LIBNAME is not assigned</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ERROR-Libname-LIBNAME-is-not-assigned/m-p/286084#M836</link>
      <description>&lt;P&gt;This:&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token statement"&gt;libname&lt;/SPAN&gt; mylib &lt;SPAN class="token string"&gt;"/folders/myfolders/My office.sas";&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;can never work. A SAS library (in a UNIX environment, which you have with SAS University Edition) must always be a directory, not a file.&lt;/P&gt;
&lt;P&gt;So do&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token statement"&gt;libname&lt;/SPAN&gt; mylib &lt;SPAN class="token string"&gt;"/folders/myfolders";&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;instead.&lt;/P&gt;
&lt;P&gt;As a further hint, avoid filenames with blanks. A blank is the natural separator of objects and should be used to identify separate files, but not as part of a file (or directory) name.&lt;/P&gt;
&lt;P&gt;It is of course possible to use it, but an underline is much easier instead.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 11:56:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ERROR-Libname-LIBNAME-is-not-assigned/m-p/286084#M836</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-07-21T11:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Libname LIBNAME is not assigned</title>
      <link>https://communities.sas.com/t5/SAS-Studio/ERROR-Libname-LIBNAME-is-not-assigned/m-p/286555#M844</link>
      <description>&lt;P&gt;Your code should look something like the following assuming you have a SAS dataset called office in the folder myfolders.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;libname mylib "/folders/myfolders/";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc print data= mylib.office;&lt;BR /&gt; title 'my office details'&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2016 07:26:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/ERROR-Libname-LIBNAME-is-not-assigned/m-p/286555#M844</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-07-23T07:26:42Z</dc:date>
    </item>
  </channel>
</rss>

