<?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: Proc export to CSV problem in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-export-to-CSV-problem/m-p/627933#M185460</link>
    <description>&lt;P&gt;What did the notes in the log show?&lt;/P&gt;
&lt;P&gt;What do the notes in the log show when you run this?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  infile "C:\project\final.csv";
  input;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Are you sure you are looking at the same file?&lt;/P&gt;</description>
    <pubDate>Thu, 27 Feb 2020 15:07:33 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2020-02-27T15:07:33Z</dc:date>
    <item>
      <title>Proc export to CSV problem</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-export-to-CSV-problem/m-p/627923#M185455</link>
      <description>&lt;P&gt;I am creating a .csv file from a sas dataset by using the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc export data=final dbms=csv&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; outfile ="C:\project\final.csv" dbms=csv&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; replace;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The file was created with 2163 records instead of 2482. There are some records with many missing values(but not all missing values) were not in the datasets. Any reason? How could I solve this? Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 14:54:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-export-to-CSV-problem/m-p/627923#M185455</guid>
      <dc:creator>Jayde</dc:creator>
      <dc:date>2020-02-27T14:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Proc export to CSV problem</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-export-to-CSV-problem/m-p/627927#M185457</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/293403"&gt;@Jayde&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am creating a .csv file from a sas dataset by using the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc export data=final dbms=csv&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; outfile ="C:\project\final.csv" dbms=csv&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; replace;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The file was created with 2163 records instead of 2482. There are some records with many missing values(but not all missing values) were not in the datasets. Any reason? How could I solve this? Thank you.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I doubt that PROC EXPORT wrote the wrong number of lines.&amp;nbsp; What did the notes in the log show?&lt;/P&gt;
&lt;P&gt;How did you come up with those two numbers? Is 2,482 the number of observations in FINAL?&amp;nbsp; How did you determine the text file only had 2,163 lines (or does it have 2,164 lines since there should be a header line).&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 15:01:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-export-to-CSV-problem/m-p/627927#M185457</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-02-27T15:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proc export to CSV problem</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-export-to-CSV-problem/m-p/627932#M185459</link>
      <description>&lt;P&gt;Thanks for your response, Tom.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There were 2482 records in the final sas dataset. There were totally 2163 records with 1 records as header line. so the total records in the .csv file is 2162.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 15:05:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-export-to-CSV-problem/m-p/627932#M185459</guid>
      <dc:creator>Jayde</dc:creator>
      <dc:date>2020-02-27T15:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Proc export to CSV problem</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-export-to-CSV-problem/m-p/627933#M185460</link>
      <description>&lt;P&gt;What did the notes in the log show?&lt;/P&gt;
&lt;P&gt;What do the notes in the log show when you run this?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  infile "C:\project\final.csv";
  input;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Are you sure you are looking at the same file?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 15:07:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-export-to-CSV-problem/m-p/627933#M185460</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-02-27T15:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Proc export to CSV problem</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-export-to-CSV-problem/m-p/627938#M185464</link>
      <description>&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for trying to figure this out. I am creating a final sas dataset and an excel .csv at the same time. The records for sas dataset and excel file are different. There is no questioning about that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jayde&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 15:21:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-export-to-CSV-problem/m-p/627938#M185464</guid>
      <dc:creator>Jayde</dc:creator>
      <dc:date>2020-02-27T15:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Proc export to CSV problem</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-export-to-CSV-problem/m-p/627940#M185465</link>
      <description>&lt;P&gt;Hi Tom, you know what. I did get the wrong file. Crazy....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jayde&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 15:30:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-export-to-CSV-problem/m-p/627940#M185465</guid>
      <dc:creator>Jayde</dc:creator>
      <dc:date>2020-02-27T15:30:37Z</dc:date>
    </item>
  </channel>
</rss>

