<?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 delete observations of a by group with certain property in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/delete-observations-of-a-by-group-with-certain-property/m-p/161754#M31419</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dataset and sorted it by five variables. One of these variables is named "DIFF". Now I would like to delete all the groups of observations, as long as one of the DIFF equals 0. (Deleting the observations with DIFF equals 0 is simple, but i would to delete the whole group as long as one of the observations has DIFF=0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be very grateful for any help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&amp;nbsp; Dingdang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Feb 2014 12:44:35 GMT</pubDate>
    <dc:creator>Dingdang</dc:creator>
    <dc:date>2014-02-04T12:44:35Z</dc:date>
    <item>
      <title>delete observations of a by group with certain property</title>
      <link>https://communities.sas.com/t5/SAS-Programming/delete-observations-of-a-by-group-with-certain-property/m-p/161754#M31419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dataset and sorted it by five variables. One of these variables is named "DIFF". Now I would like to delete all the groups of observations, as long as one of the DIFF equals 0. (Deleting the observations with DIFF equals 0 is simple, but i would to delete the whole group as long as one of the observations has DIFF=0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be very grateful for any help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&amp;nbsp; Dingdang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 12:44:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/delete-observations-of-a-by-group-with-certain-property/m-p/161754#M31419</guid>
      <dc:creator>Dingdang</dc:creator>
      <dc:date>2014-02-04T12:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: delete observations of a by group with certain property</title>
      <link>https://communities.sas.com/t5/SAS-Programming/delete-observations-of-a-by-group-with-certain-property/m-p/161755#M31420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;delete from work.have&lt;/P&gt;&lt;P&gt;where group in (select group from work.have where diff=0);&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 13:11:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/delete-observations-of-a-by-group-with-certain-property/m-p/161755#M31420</guid>
      <dc:creator>DBailey</dc:creator>
      <dc:date>2014-02-04T13:11:26Z</dc:date>
    </item>
  </channel>
</rss>

