<?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 Input/Infile Statements in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Input-Infile-Statements/m-p/226476#M40764</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Weather_Report;
infile 'C:\New folder\WeatherReport.txt\'
LRECL = 100 DLM= ' ';
input Month $ Temperature;
run;
proc print data= Weather_Report;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am a very new in SAS programming. I am trying to read WeatherReport.txt in SAS, but it shows ERROR when I run it.&lt;/P&gt;&lt;P&gt;ERROR : Physical file does not exist...................&lt;/P&gt;&lt;P&gt;Can anyone tell me how to use INFILE statement for the following data (.txt) -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Month Temperature&lt;/P&gt;&lt;P&gt;Jan 10&lt;/P&gt;&lt;P&gt;Feb 12&lt;/P&gt;&lt;P&gt;March 14&lt;/P&gt;&lt;P&gt;April 20&amp;nbsp;&lt;/P&gt;&lt;P&gt;May 23&lt;/P&gt;&lt;P&gt;June 27&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Sep 2015 00:50:23 GMT</pubDate>
    <dc:creator>K23</dc:creator>
    <dc:date>2015-09-21T00:50:23Z</dc:date>
    <item>
      <title>Input/Infile Statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Input-Infile-Statements/m-p/226476#M40764</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Weather_Report;
infile 'C:\New folder\WeatherReport.txt\'
LRECL = 100 DLM= ' ';
input Month $ Temperature;
run;
proc print data= Weather_Report;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am a very new in SAS programming. I am trying to read WeatherReport.txt in SAS, but it shows ERROR when I run it.&lt;/P&gt;&lt;P&gt;ERROR : Physical file does not exist...................&lt;/P&gt;&lt;P&gt;Can anyone tell me how to use INFILE statement for the following data (.txt) -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Month Temperature&lt;/P&gt;&lt;P&gt;Jan 10&lt;/P&gt;&lt;P&gt;Feb 12&lt;/P&gt;&lt;P&gt;March 14&lt;/P&gt;&lt;P&gt;April 20&amp;nbsp;&lt;/P&gt;&lt;P&gt;May 23&lt;/P&gt;&lt;P&gt;June 27&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2015 00:50:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Input-Infile-Statements/m-p/226476#M40764</guid>
      <dc:creator>K23</dc:creator>
      <dc:date>2015-09-21T00:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Input/Infile Statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Input-Infile-Statements/m-p/226477#M40765</link>
      <description>&lt;P&gt;Remove the last backslash in the file name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;infile 'C:\New folder\WeatherReport.txt'&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Sep 2015 01:22:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Input-Infile-Statements/m-p/226477#M40765</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2015-09-21T01:22:57Z</dc:date>
    </item>
  </channel>
</rss>

