<?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 libname in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/libname/m-p/456886#M115789</link>
    <description>&lt;P&gt;I checked everything but have no clue.&amp;nbsp; the location is 200% correct.&amp;nbsp; see below copy and paste from SAS studio location.&lt;/P&gt;&lt;P&gt;/home/coccus030/sasuser.v94/institutiondata.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;libname Lesson08 '/home/coccus030/sasuser.v94/institutiondata.txt';&lt;BR /&gt;Data Lesson08.college09ds;&lt;BR /&gt;Infile '/home/coccus030/sasuser.v94/institutiondata.txt.Lesson08' firstobs=2;&lt;BR /&gt;Input GenderType &amp;amp; $6. +1 Year +1 Total comma5. Asofdate Gender $ Instituion $;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;error log:&lt;/P&gt;&lt;P&gt;libname Lesson08 '/home/coccus030/sasuser.v94/institutiondata.txt';&lt;/P&gt;&lt;DIV class="sasError"&gt;ERROR: Library LESSON08 is not in a valid format for access method RANDOM.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Error in the LIBNAME statement.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;72 Data Lesson08.college09ds;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;73 Infile '/home/coccus030/sasuser.v94/institutiondata.txt.Lesson08' firstobs=2;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74 Input GenderType &amp;amp; $6. +1 Year +1 Total comma5. Asofdate Gender $ Instituion $;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75 run;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Libref LESSON08 is not assigned.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;thx&lt;/DIV&gt;</description>
    <pubDate>Tue, 24 Apr 2018 14:30:38 GMT</pubDate>
    <dc:creator>elsalam</dc:creator>
    <dc:date>2018-04-24T14:30:38Z</dc:date>
    <item>
      <title>libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/libname/m-p/456886#M115789</link>
      <description>&lt;P&gt;I checked everything but have no clue.&amp;nbsp; the location is 200% correct.&amp;nbsp; see below copy and paste from SAS studio location.&lt;/P&gt;&lt;P&gt;/home/coccus030/sasuser.v94/institutiondata.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;libname Lesson08 '/home/coccus030/sasuser.v94/institutiondata.txt';&lt;BR /&gt;Data Lesson08.college09ds;&lt;BR /&gt;Infile '/home/coccus030/sasuser.v94/institutiondata.txt.Lesson08' firstobs=2;&lt;BR /&gt;Input GenderType &amp;amp; $6. +1 Year +1 Total comma5. Asofdate Gender $ Instituion $;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;error log:&lt;/P&gt;&lt;P&gt;libname Lesson08 '/home/coccus030/sasuser.v94/institutiondata.txt';&lt;/P&gt;&lt;DIV class="sasError"&gt;ERROR: Library LESSON08 is not in a valid format for access method RANDOM.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Error in the LIBNAME statement.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;72 Data Lesson08.college09ds;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;73 Infile '/home/coccus030/sasuser.v94/institutiondata.txt.Lesson08' firstobs=2;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74 Input GenderType &amp;amp; $6. +1 Year +1 Total comma5. Asofdate Gender $ Instituion $;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75 run;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Libref LESSON08 is not assigned.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;thx&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Apr 2018 14:30:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/libname/m-p/456886#M115789</guid>
      <dc:creator>elsalam</dc:creator>
      <dc:date>2018-04-24T14:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/libname/m-p/456888#M115791</link>
      <description>&lt;P&gt;Your libname is 200% bogus.&lt;/P&gt;
&lt;P&gt;A libname for a Base SAS library does not point to a file, but to a directory.&lt;/P&gt;
&lt;P&gt;Only some special engines (like Excel) point to files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 14:33:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/libname/m-p/456888#M115791</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-04-24T14:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/libname/m-p/456899#M115795</link>
      <description>&lt;P&gt;Thanks Kurt&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still not sure why not read.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 14:49:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/libname/m-p/456899#M115795</guid>
      <dc:creator>elsalam</dc:creator>
      <dc:date>2018-04-24T14:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/libname/m-p/456903#M115797</link>
      <description>&lt;P&gt;Try:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;FILENAME Lesson08   '/home/coccus030/sasuser.v94/institutiondata.txt.Lesson08';
LIBNAME mylib       '/home/coccus030/sasuser.v94';

Data MYLIB.college09ds;
Infile Lesson08 firstobs=2;
Input GenderType &amp;amp; $6. +1 Year +1 Total comma5. Asofdate Gender $ Instituion $;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Without having your input file I cant verify that code.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 15:04:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/libname/m-p/456903#M115797</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2018-04-24T15:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/libname/m-p/456907#M115798</link>
      <description>&lt;P&gt;Not working neither&amp;nbsp; same error message pop up with mylib.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the input file but I have to check this part yet because the libname and infile not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Variables: GenderType Year Total Asofdate&lt;BR /&gt;ihe-M 1970 5,044 Retrieved: 03/14/2012 f-IHE 1970&amp;nbsp; 3,537 Retrieved: 03/14/2012&lt;BR /&gt;ihe-m 1980 5,874 Retrieved: 03/14/2012 f-IHE 1980&amp;nbsp; 6,223 Retrieved: 03/14/2012&lt;BR /&gt;ihe-M 1990 6,284 Retrieved: 03/14/2012 F-IHE 1990&amp;nbsp; 7,535 Retrieved: 03/14/2012&lt;BR /&gt;dgi-M 2000 6,722 Retrieved: 03/14/2012 f-dgi 2000&amp;nbsp; 8,591 Retrieved: 03/14/2012&lt;BR /&gt;dgi-m 2001 6,961 Retrieved: 03/14/2012 f-dgi 2001&amp;nbsp; 8,967 Retrieved: 03/14/2012&lt;BR /&gt;DGI-m 2002 7,202 Retrieved: 03/14/2012 f-dgi 2002&amp;nbsp; 9,410 Retrieved: 03/14/2012&lt;BR /&gt;dgi-M 2003 7,260 Retrieved: 03/14/2012 F-DGI 2003&amp;nbsp; 9,651 Retrieved: 03/14/2012&lt;BR /&gt;dgi-M 2004 7,387 Retrieved: 03/14/2012 F-DGI 2004&amp;nbsp; 9,885 Retrieved: 03/14/2012&lt;BR /&gt;dgi-m 2005 7,456 Retrieved: 03/14/2012 f-DGI 2005 10,032 Retrieved: 03/14/2012&lt;BR /&gt;DGI-m 2006 7,575 Retrieved: 03/14/2012 f-dgi 2006 10,184 Retrieved: 03/14/2012&lt;BR /&gt;dgi-M 2007 7,816 Retrieved: 03/14/2012 f-dgi 2007 10,432 Retrieved: 03/14/2012&lt;BR /&gt;dgi-M 2008 8,189 Retrieved: 03/14/2012 F-DGI 2008 10,914 Retrieved: 03/14/2012&lt;BR /&gt;DGI-m 2009 8,770 Retrieved: 03/14/2012 F-dgi 2009 11,658 Retrieved: 03/14/2012&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 15:15:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/libname/m-p/456907#M115798</guid>
      <dc:creator>elsalam</dc:creator>
      <dc:date>2018-04-24T15:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: libname</title>
      <link>https://communities.sas.com/t5/SAS-Programming/libname/m-p/457001#M115834</link>
      <description>&lt;P&gt;Saying "&lt;STRONG&gt;&lt;SPAN&gt;libname and infile not work.&lt;/SPAN&gt;&lt;/STRONG&gt;" - is not enough.&lt;/P&gt;
&lt;P&gt;To help you we need the full log.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 18:14:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/libname/m-p/457001#M115834</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2018-04-24T18:14:40Z</dc:date>
    </item>
  </channel>
</rss>

