<?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: Need to delete certain rows for many firms in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Need-to-delete-certain-rows-for-many-firms/m-p/494819#M130473</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if date &amp;gt; '31DEC15'd then delete;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 12 Sep 2018 13:07:23 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2018-09-12T13:07:23Z</dc:date>
    <item>
      <title>Need to delete certain rows for many firms</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-delete-certain-rows-for-many-firms/m-p/494818#M130472</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a daily dataset&amp;nbsp;for more than 200 firms (firm id: isin)&amp;nbsp;starting from 2000-01-01 to 2018-06-30. I would like to delete the dates after 2015-12-31 for all firms.&amp;nbsp;Can anyone help?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my&amp;nbsp;SAS data set, the date format is YYMMDD10.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 13:06:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-delete-certain-rows-for-many-firms/m-p/494818#M130472</guid>
      <dc:creator>bd_user_10</dc:creator>
      <dc:date>2018-09-12T13:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need to delete certain rows for many firms</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-delete-certain-rows-for-many-firms/m-p/494819#M130473</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if date &amp;gt; '31DEC15'd then delete;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Sep 2018 13:07:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-delete-certain-rows-for-many-firms/m-p/494819#M130473</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-09-12T13:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need to delete certain rows for many firms</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-delete-certain-rows-for-many-firms/m-p/494823#M130475</link>
      <description>what a champ!</description>
      <pubDate>Wed, 12 Sep 2018 13:11:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-delete-certain-rows-for-many-firms/m-p/494823#M130475</guid>
      <dc:creator>bd_user_10</dc:creator>
      <dc:date>2018-09-12T13:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need to delete certain rows for many firms</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-delete-certain-rows-for-many-firms/m-p/494835#M130479</link>
      <description>&lt;P&gt;One thing I would say is that if you are using that dataset further, then you would be better off reading it with a where clause, as that may be quicker:&lt;/P&gt;
&lt;PRE&gt;data want;
  set have (where=(date &amp;lt;="31dec2015"d));
  /*do your other code here */
run;&lt;/PRE&gt;
&lt;P&gt;It may be a small difference but with lots of data could save some read/write time.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 13:26:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-delete-certain-rows-for-many-firms/m-p/494835#M130479</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-09-12T13:26:04Z</dc:date>
    </item>
  </channel>
</rss>

