<?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: combining duplicates in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/combining-duplicates/m-p/41773#M10813</link>
    <description>anyway i got it now. just use the nodup on proc sort &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;</description>
    <pubDate>Tue, 26 Aug 2008 12:23:50 GMT</pubDate>
    <dc:creator>milts</dc:creator>
    <dc:date>2008-08-26T12:23:50Z</dc:date>
    <item>
      <title>combining duplicates</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/combining-duplicates/m-p/41771#M10811</link>
      <description>hi! how can you combine duplicates(not summing them up) using data step or proc sql? advance thanks! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:01:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/combining-duplicates/m-p/41771#M10811</guid>
      <dc:creator>milts</dc:creator>
      <dc:date>2008-08-26T12:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: combining duplicates</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/combining-duplicates/m-p/41772#M10812</link>
      <description>What is meant by "combine"?  A SAS MERGE (using a BY) within a DATA step or a PROC SQL with a JOIN operation in a SELECT, come to mind.  You mentioned specifically that no "summing" was involved.&lt;BR /&gt;
&lt;BR /&gt;
Maybe explain in more detail the objective with combining duplicates -- also, consider that if there are duplicates (multiple as in more than 2 obs/rows with the same BY key variables, how will this condition be handled with combining rows?&lt;BR /&gt;
&lt;BR /&gt;
Need more detail about your objective -- show some BEFORE and AFTER data rows in a post/reply.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 26 Aug 2008 12:23:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/combining-duplicates/m-p/41772#M10812</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2008-08-26T12:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: combining duplicates</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/combining-duplicates/m-p/41773#M10813</link>
      <description>anyway i got it now. just use the nodup on proc sort &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:23:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/combining-duplicates/m-p/41773#M10813</guid>
      <dc:creator>milts</dc:creator>
      <dc:date>2008-08-26T12:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: combining duplicates</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/combining-duplicates/m-p/41774#M10814</link>
      <description>Keep in mind the NODUPKEY (limited to BY variable list) option in addition (requires duplicate observations to be adjacent for them to be removed, based on the BY list granularity).  &lt;BR /&gt;
&lt;BR /&gt;
And, if you want to preserve the duplicate observations, there is a DUPOUT= keyword.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 26 Aug 2008 14:37:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/combining-duplicates/m-p/41774#M10814</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2008-08-26T14:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: combining duplicates</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/combining-duplicates/m-p/41775#M10815</link>
      <description>Please disregard the incomplete prior reply...let's try this again:&lt;BR /&gt;
&lt;BR /&gt;
Keep in mind the NODUPKEY (limited to BY variable list) option.  Also, note that the NODUP option requires duplicate observations to be adjacent for them to be removed, which would be based on the BY list granularity.&lt;BR /&gt;
&lt;BR /&gt;
And, if you want to preserve the duplicate observations, there is a DUPOUT= keyword.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 26 Aug 2008 14:39:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/combining-duplicates/m-p/41775#M10815</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2008-08-26T14:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: combining duplicates</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/combining-duplicates/m-p/41776#M10816</link>
      <description>got that &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt; thanks for the additional information on nodupkey and dupout.</description>
      <pubDate>Wed, 27 Aug 2008 08:58:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/combining-duplicates/m-p/41776#M10816</guid>
      <dc:creator>milts</dc:creator>
      <dc:date>2008-08-27T08:58:39Z</dc:date>
    </item>
  </channel>
</rss>

