<?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: Difference between records count and observation count when reading in data from csv file in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Difference-between-records-count-and-observation-count-when/m-p/538153#M6893</link>
    <description>I was having the same issue when using datalines. Do you know how I would be able to correct this issue if I was using datalines instead of infile to import my data.</description>
    <pubDate>Sun, 24 Feb 2019 23:06:28 GMT</pubDate>
    <dc:creator>nballred1</dc:creator>
    <dc:date>2019-02-24T23:06:28Z</dc:date>
    <item>
      <title>Difference between records count and observation count when reading in data from csv file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Difference-between-records-count-and-observation-count-when/m-p/538021#M6849</link>
      <description>&lt;P&gt;Hello SAS community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a fairly basic issue that I am hoping someone can help me with. I was trying to import some data into SAS from a csv file but it appears that SAS is omitting some of the observations when the file is read in. As you can see from the log out put I have included SAS recognizes that there are 197 records, or 197 rows of information in the excel document; however, it only includes 104 observations in the data set. There are missing observations for some of the variables, as you can see in the screenshot I have included from the excel file, which might be causing the issue. Any advise on how I can include all 197 observations in the working data set in SAS would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nate&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="rawdata.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27380i25AF634030033FF3/image-size/large?v=v2&amp;amp;px=999" role="button" title="rawdata.PNG" alt="rawdata.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="log.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27381iCC988FDAA3C63152/image-size/large?v=v2&amp;amp;px=999" role="button" title="log.PNG" alt="log.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Feb 2019 22:17:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Difference-between-records-count-and-observation-count-when/m-p/538021#M6849</guid>
      <dc:creator>nballred1</dc:creator>
      <dc:date>2019-02-23T22:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between records count and observation count when reading in data from csv file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Difference-between-records-count-and-observation-count-when/m-p/538023#M6850</link>
      <description>&lt;P&gt;I forgot to include my SAS input code.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="editor.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27382iEEF46B0F092121E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="editor.PNG" alt="editor.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Feb 2019 22:20:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Difference-between-records-count-and-observation-count-when/m-p/538023#M6850</guid>
      <dc:creator>nballred1</dc:creator>
      <dc:date>2019-02-23T22:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between records count and observation count when reading in data from csv file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Difference-between-records-count-and-observation-count-when/m-p/538024#M6851</link>
      <description>&lt;P&gt;try adding &lt;STRONG&gt;truncover&lt;/STRONG&gt; option in your infile statement&lt;/P&gt;</description>
      <pubDate>Sat, 23 Feb 2019 22:26:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Difference-between-records-count-and-observation-count-when/m-p/538024#M6851</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-02-23T22:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between records count and observation count when reading in data from csv file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Difference-between-records-count-and-observation-count-when/m-p/538025#M6852</link>
      <description>&lt;P&gt;Add option DSD to your infile statement.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Feb 2019 22:37:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Difference-between-records-count-and-observation-count-when/m-p/538025#M6852</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-02-23T22:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between records count and observation count when reading in data from csv file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Difference-between-records-count-and-observation-count-when/m-p/538026#M6853</link>
      <description>&lt;P&gt;The "SAS went to a new line" message is your clue. Usually caused by missing values at the end of lines.&lt;/P&gt;
&lt;P&gt;Try a truncover option, as already suggested.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Feb 2019 22:52:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Difference-between-records-count-and-observation-count-when/m-p/538026#M6853</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-02-23T22:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between records count and observation count when reading in data from csv file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Difference-between-records-count-and-observation-count-when/m-p/538151#M6891</link>
      <description>&lt;P&gt;This fixed the issue, I appreciate the help.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Feb 2019 23:02:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Difference-between-records-count-and-observation-count-when/m-p/538151#M6891</guid>
      <dc:creator>nballred1</dc:creator>
      <dc:date>2019-02-24T23:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between records count and observation count when reading in data from csv file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Difference-between-records-count-and-observation-count-when/m-p/538152#M6892</link>
      <description>This fixed the issue, I appreciate the help.</description>
      <pubDate>Sun, 24 Feb 2019 23:03:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Difference-between-records-count-and-observation-count-when/m-p/538152#M6892</guid>
      <dc:creator>nballred1</dc:creator>
      <dc:date>2019-02-24T23:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between records count and observation count when reading in data from csv file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Difference-between-records-count-and-observation-count-when/m-p/538153#M6893</link>
      <description>I was having the same issue when using datalines. Do you know how I would be able to correct this issue if I was using datalines instead of infile to import my data.</description>
      <pubDate>Sun, 24 Feb 2019 23:06:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Difference-between-records-count-and-observation-count-when/m-p/538153#M6893</guid>
      <dc:creator>nballred1</dc:creator>
      <dc:date>2019-02-24T23:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between records count and observation count when reading in data from csv file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Difference-between-records-count-and-observation-count-when/m-p/538155#M6895</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;infile datalines your options go here;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 24 Feb 2019 23:12:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Difference-between-records-count-and-observation-count-when/m-p/538155#M6895</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-02-24T23:12:49Z</dc:date>
    </item>
  </channel>
</rss>

