<?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 Remove deleted obs from table in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Remove-deleted-obs-from-table/m-p/30126#M7105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; What do you mean by "deleted observations"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you will need to open and process data at least once anyway to define which observations you want to delete, right? So you could try to do this in the most efficient way (for example, using WHERE statement).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jul 2011 11:58:03 GMT</pubDate>
    <dc:creator>ieva</dc:creator>
    <dc:date>2011-07-13T11:58:03Z</dc:date>
    <item>
      <title>Remove deleted obs from table</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Remove-deleted-obs-from-table/m-p/30125#M7104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm searching for a efficient way to remove deleted obs from a SAS table.&amp;nbsp; I know I can write a table on itself or copy the table to remove the deleted observations, but my tables in question are rather large.&amp;nbsp; I'm curious if there are any other techniques available to avoid having to write out all of the obs.&amp;nbsp; I thought proc datasets might clean up the table, but I don't see anything in the documentation that performs this action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;john&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 10:45:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Remove-deleted-obs-from-table/m-p/30125#M7104</guid>
      <dc:creator>jcbell</dc:creator>
      <dc:date>2011-07-13T10:45:44Z</dc:date>
    </item>
    <item>
      <title>Remove deleted obs from table</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Remove-deleted-obs-from-table/m-p/30126#M7105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; What do you mean by "deleted observations"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you will need to open and process data at least once anyway to define which observations you want to delete, right? So you could try to do this in the most efficient way (for example, using WHERE statement).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 11:58:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Remove-deleted-obs-from-table/m-p/30126#M7105</guid>
      <dc:creator>ieva</dc:creator>
      <dc:date>2011-07-13T11:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Remove deleted obs from table</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Remove-deleted-obs-from-table/m-p/30127#M7106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking for the purge statement?&amp;nbsp; Unfortunately, I think it is only available in SAS/IML&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 12:30:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Remove-deleted-obs-from-table/m-p/30127#M7106</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-07-13T12:30:10Z</dc:date>
    </item>
    <item>
      <title>Remove deleted obs from table</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Remove-deleted-obs-from-table/m-p/30128#M7107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes - Something like a purge.&amp;nbsp; I have large datasets that are accumulating deleted observations (25M).&amp;nbsp; I can always overwrite the table, but I wanted to see if anyone had a better suggestion (more efficient).&amp;nbsp; I suppose I can take a look at IML.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 11:47:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Remove-deleted-obs-from-table/m-p/30128#M7107</guid>
      <dc:creator>jcbell</dc:creator>
      <dc:date>2011-07-14T11:47:36Z</dc:date>
    </item>
    <item>
      <title>Remove deleted obs from table</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Remove-deleted-obs-from-table/m-p/30129#M7108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For anyone else with a similar issue - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IML does work - but isn't as efficient as using a data step and over-writing the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; A purge statement in proc datasets seems like a sensible option to add.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;john&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 12:04:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Remove-deleted-obs-from-table/m-p/30129#M7108</guid>
      <dc:creator>jcbell</dc:creator>
      <dc:date>2011-07-14T12:04:15Z</dc:date>
    </item>
  </channel>
</rss>

