<?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 Reading Multiple CSVs in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Reading-Multiple-CSVs/m-p/672654#M202169</link>
    <description>&lt;P&gt;Hi Ballard, &amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using the below code and getting a blank line for each append. Could you please guide me to fix that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data learn.groups;&lt;BR /&gt;Infile "D:\SAS\Jan*.csv" dlm=',' EOV=skip firstobs=2 truncover;&lt;BR /&gt;input @;&lt;BR /&gt;if skip then skip=0;&lt;BR /&gt;Else do;&lt;BR /&gt;input Customer $ Symbol $ Date date9. Price Months $;&lt;BR /&gt;format date date9.;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jul 2020 18:31:30 GMT</pubDate>
    <dc:creator>Rahul_SAS</dc:creator>
    <dc:date>2020-07-27T18:31:30Z</dc:date>
    <item>
      <title>Reading Multiple CSVs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-Multiple-CSVs/m-p/672654#M202169</link>
      <description>&lt;P&gt;Hi Ballard, &amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using the below code and getting a blank line for each append. Could you please guide me to fix that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data learn.groups;&lt;BR /&gt;Infile "D:\SAS\Jan*.csv" dlm=',' EOV=skip firstobs=2 truncover;&lt;BR /&gt;input @;&lt;BR /&gt;if skip then skip=0;&lt;BR /&gt;Else do;&lt;BR /&gt;input Customer $ Symbol $ Date date9. Price Months $;&lt;BR /&gt;format date date9.;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 18:31:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-Multiple-CSVs/m-p/672654#M202169</guid>
      <dc:creator>Rahul_SAS</dc:creator>
      <dc:date>2020-07-27T18:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Multiple CSVs</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-Multiple-CSVs/m-p/672666#M202175</link>
      <description>&lt;P&gt;Why are you keeping the observations with the header rows?&amp;nbsp; Either add a DELETE or an OUTPUT statement.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data learn.groups;
  infile "D:\SAS\Jan*.csv" dlm=',' EOV=skip firstobs=2 truncover;
  input @;
  if skip then do; skip=0; delete; end;
  input Customer $ Symbol $ Date date9. Price Months $;
  format date date9.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;PS You would normally want to add the DSD option to your INFILE statement so that it properly handles empty values and values that contain the delimiter.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 18:57:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-Multiple-CSVs/m-p/672666#M202175</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-07-27T18:57:57Z</dc:date>
    </item>
  </channel>
</rss>

