<?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 Infile command record count issue in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Infile-command-record-count-issue/m-p/351604#M81844</link>
    <description>&lt;P&gt;records.dat have 5000 records, but my main_set dataset have only 4999 records.&lt;BR /&gt;Not able to figure out what is wrong with this. any pointers would be of great help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data main_set;&lt;BR /&gt;infile "records.dat" dlm='|' dsd truncover;&lt;BR /&gt;input id : $10.&lt;BR /&gt;name : $25.&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Apr 2017 10:52:16 GMT</pubDate>
    <dc:creator>GunnerEP</dc:creator>
    <dc:date>2017-04-20T10:52:16Z</dc:date>
    <item>
      <title>Infile command record count issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Infile-command-record-count-issue/m-p/351604#M81844</link>
      <description>&lt;P&gt;records.dat have 5000 records, but my main_set dataset have only 4999 records.&lt;BR /&gt;Not able to figure out what is wrong with this. any pointers would be of great help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data main_set;&lt;BR /&gt;infile "records.dat" dlm='|' dsd truncover;&lt;BR /&gt;input id : $10.&lt;BR /&gt;name : $25.&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 10:52:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Infile-command-record-count-issue/m-p/351604#M81844</guid>
      <dc:creator>GunnerEP</dc:creator>
      <dc:date>2017-04-20T10:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Infile command record count issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Infile-command-record-count-issue/m-p/351607#M81845</link>
      <description>could you try using the firstobs=1, also are you getting the first row with variable names into the dataset.&lt;BR /&gt;&lt;BR /&gt;Data main_set;&lt;BR /&gt;infile "records.dat" dlm='|' dsd truncover firstobs=1;&lt;BR /&gt;input id : $10.&lt;BR /&gt;name : $25.&lt;BR /&gt;;&lt;BR /&gt;run;</description>
      <pubDate>Thu, 20 Apr 2017 10:59:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Infile-command-record-count-issue/m-p/351607#M81845</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2017-04-20T10:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Infile command record count issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Infile-command-record-count-issue/m-p/351615#M81850</link>
      <description>&lt;P&gt;In which way have you determined that records.dat actually contains 5000 lines?&lt;/P&gt;
&lt;P&gt;If on UNIX, do a&lt;/P&gt;
&lt;PRE&gt;wc -l records.dat&lt;/PRE&gt;
&lt;P&gt;to verify this.&lt;/P&gt;
&lt;P&gt;And check that you don't have a stray obs= system option set to 4999 (been there, done that).&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 11:24:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Infile-command-record-count-issue/m-p/351615#M81850</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-04-20T11:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Infile command record count issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Infile-command-record-count-issue/m-p/351620#M81854</link>
      <description>&lt;P&gt;Thanks Kurt. Yup Obs was the villian &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 11:38:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Infile-command-record-count-issue/m-p/351620#M81854</guid>
      <dc:creator>GunnerEP</dc:creator>
      <dc:date>2017-04-20T11:38:27Z</dc:date>
    </item>
  </channel>
</rss>

