<?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: problem infile statement in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/problem-infile-statement/m-p/303731#M8620</link>
    <description>&lt;P&gt;Any errors in the log?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try setting LRECL=1000 on your imfile statement, maybe it's currently too short?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, examine your text file with an editor that has the option to show invisible characters. See if any are present in your data. Suggestions for Editors are Notepad++ or Textwrangler.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Oct 2016 08:42:57 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-10-11T08:42:57Z</dc:date>
    <item>
      <title>problem infile statement</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/problem-infile-statement/m-p/303730#M8619</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am having problem with infile statement. It doesnot read all columns from text file. I have 25 comlums, but only 22 read, the last 3 in sas are missing values .... I have tried several options (truncover, missover....). It just does not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;my data file (25 comlumns):&lt;/P&gt;&lt;P&gt;1 0 0 1 1 -9999 -9999 -9999 -9999 1000001 -9999 -9999 -9999 1 -9999 -9999 -9999 -78.0463 -9999.00 -9999.00 -9999.00 1.00000 -9999.00 -9999.00 -9999.00&lt;BR /&gt;2 0 0 1 1 -9999 -9999 -9999 -9999 1000001 -9999 -9999 -9999 1 -9999 -9999 -9999 469.880 -9999.00 -9999.00 -9999.00 1.00000 -9999.00 -9999.00 -9999.00&lt;BR /&gt;3 0 0 1 1 -9999 -9999 -9999 -9999 1000001 -9999 -9999 -9999 1 -9999 -9999 -9999 977.898 -9999.00 -9999.00 -9999.00 1.00000 -9999.00 -9999.00 -9999.00&lt;BR /&gt;4 0 0 1 1 -9999 -9999 -9999 -9999 1000001 -9999 -9999 -9999 1 -9999 -9999 -9999 -419.711 -9999.00 -9999.00 -9999.00 1.00000 -9999.00 -9999.00 -9999.00&lt;BR /&gt;5 0 0 1 1 -9999 -9999 -9999 -9999 1000001 -9999 -9999 -9999 1 -9999 -9999 -9999 515.784 -9999.00 -9999.00 -9999.00 1.00000 -9999.00 -9999.00 -9999.00&lt;/P&gt;&lt;P&gt;sas:&lt;/P&gt;&lt;P&gt;data import_all1;&lt;BR /&gt;infile "C:\grouping\dat2.txt" truncover;&lt;BR /&gt;input var1-var25;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output (22 variables have values, the rest 3 are just . . .:&lt;/P&gt;&lt;P&gt;1 0 0 1 1 -9999 -9999 -9999 -9999 1000001 -9999 -9999 -9999 1 -9999 -9999 -9999 -78.0463 -9999.00 -9999.00 -9999.00 1.00000 . . .&amp;nbsp;&lt;BR /&gt;2 0 0 1 1 -9999 -9999 -9999 -9999 1000001 -9999 -9999 -9999 1 -9999 -9999 -9999 469.880 -9999.00 -9999.00 -9999.00 1.00000 -9999.00 . . .&amp;nbsp;&lt;BR /&gt;3 0 0 1 1 -9999 -9999 -9999 -9999 1000001 -9999 -9999 -9999 1 -9999 -9999 -9999 977.898 -9999.00 -9999.00 -9999.00 1.00000 -9999.00 . . .&amp;nbsp;&lt;BR /&gt;4 0 0 1 1 -9999 -9999 -9999 -9999 1000001 -9999 -9999 -9999 1 -9999 -9999 -9999 -419.711 -9999.00 -9999.00 -9999.00 1.00000 . . .&amp;nbsp;&lt;BR /&gt;5 0 0 1 1 -9999 -9999 -9999 -9999 1000001 -9999 -9999 -9999 1 -9999 -9999 -9999 515.784 -9999.00 -9999.00 -9999.00 1.00000 . . .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Please help. Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2016 08:38:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/problem-infile-statement/m-p/303730#M8619</guid>
      <dc:creator>landcruiser</dc:creator>
      <dc:date>2016-10-11T08:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: problem infile statement</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/problem-infile-statement/m-p/303731#M8620</link>
      <description>&lt;P&gt;Any errors in the log?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try setting LRECL=1000 on your imfile statement, maybe it's currently too short?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, examine your text file with an editor that has the option to show invisible characters. See if any are present in your data. Suggestions for Editors are Notepad++ or Textwrangler.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2016 08:42:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/problem-infile-statement/m-p/303731#M8620</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-11T08:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: problem infile statement</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/problem-infile-statement/m-p/303732#M8621</link>
      <description>&lt;P&gt;Thank you, Reeza.&amp;nbsp;&lt;/P&gt;&lt;P&gt;"LRECL =1000" works.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2016 08:46:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/problem-infile-statement/m-p/303732#M8621</guid>
      <dc:creator>landcruiser</dc:creator>
      <dc:date>2016-10-11T08:46:22Z</dc:date>
    </item>
  </channel>
</rss>

