<?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: infile and .txt file not working in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/infile-and-txt-file-not-working/m-p/640179#M190607</link>
    <description>&lt;P&gt;How did you store the file in a Linux folder, and what is the name of the folder?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Keep in mind that a UNIX is case sensitive, so you need to be correct with the spelling of your filename.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please also post the log of this failed attempt.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Apr 2020 18:33:07 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-04-15T18:33:07Z</dc:date>
    <item>
      <title>infile and .txt file not working</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-and-txt-file-not-working/m-p/640160#M190597</link>
      <description>&lt;P&gt;I am running the code from SAS by Example book, but getting this error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--code as it came with the sample SAS program (except I changed the location). File exists but still getting error.&lt;/P&gt;
&lt;P&gt;*Data set BLOOD;&lt;BR /&gt;data learn.blood;&lt;BR /&gt;infile 'I:\Reference\SAS_Related\Books\SAS_By_Example\data\blood.txt' truncover;&lt;BR /&gt;length Gender $ 6 BloodType $ 2 AgeGroup $ 5;&lt;BR /&gt;input Subject &lt;BR /&gt;Gender &lt;BR /&gt;BloodType &lt;BR /&gt;AgeGroup&lt;BR /&gt;WBC &lt;BR /&gt;RBC &lt;BR /&gt;Chol;&lt;BR /&gt;label Gender = "Gender"&lt;BR /&gt;BloodType = "Blood Type"&lt;BR /&gt;AgeGroup = "Age Group"&lt;BR /&gt;Chol = "Cholesterol";&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ubshams_0-1586973473470.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38337i61049F84B147C4E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ubshams_0-1586973473470.png" alt="ubshams_0-1586973473470.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;File that I used (came with the book and is public) is attached as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please advice! Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 17:59:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-and-txt-file-not-working/m-p/640160#M190597</guid>
      <dc:creator>ubshams</dc:creator>
      <dc:date>2020-04-15T17:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: infile and .txt file not working</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-and-txt-file-not-working/m-p/640169#M190601</link>
      <description>&lt;P&gt;Are you using SAS on Linux or UNIX?&lt;/P&gt;
&lt;P&gt;If yest this may be the reason. Your system can't see the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 18:11:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-and-txt-file-not-working/m-p/640169#M190601</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2020-04-15T18:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: infile and .txt file not working</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-and-txt-file-not-working/m-p/640175#M190604</link>
      <description>&lt;P&gt;Yes, on Linux. I am using SAG EG.&lt;/P&gt;
&lt;P&gt;But when I save the .txt file in the Linux folder I get the same error. Any way to fix it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 18:27:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-and-txt-file-not-working/m-p/640175#M190604</guid>
      <dc:creator>ubshams</dc:creator>
      <dc:date>2020-04-15T18:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: infile and .txt file not working</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-and-txt-file-not-working/m-p/640179#M190607</link>
      <description>&lt;P&gt;How did you store the file in a Linux folder, and what is the name of the folder?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Keep in mind that a UNIX is case sensitive, so you need to be correct with the spelling of your filename.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please also post the log of this failed attempt.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 18:33:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-and-txt-file-not-working/m-p/640179#M190607</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-15T18:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: infile and .txt file not working</title>
      <link>https://communities.sas.com/t5/SAS-Programming/infile-and-txt-file-not-working/m-p/640190#M190613</link>
      <description>Case sensitivity fix fixed it. Thanks!</description>
      <pubDate>Wed, 15 Apr 2020 18:49:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/infile-and-txt-file-not-working/m-p/640190#M190613</guid>
      <dc:creator>ubshams</dc:creator>
      <dc:date>2020-04-15T18:49:17Z</dc:date>
    </item>
  </channel>
</rss>

