<?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: duplicate lines in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/duplicate-lines/m-p/245894#M45938</link>
    <description>&lt;P&gt;For example&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data have;
input ID Date Amount;
cards;
111 1 30
111 1 34
111 1 34
111 5 70
111 5 70
111 5 70
112 2 79
112 5 5
;
run;

proc sql ;
create table have_nodup as
select distinct *
from have
;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This is very easy one&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jan 2016 16:29:33 GMT</pubDate>
    <dc:creator>mohamed_zaki</dc:creator>
    <dc:date>2016-01-25T16:29:33Z</dc:date>
    <item>
      <title>duplicate lines</title>
      <link>https://communities.sas.com/t5/SAS-Programming/duplicate-lines/m-p/245890#M45935</link>
      <description>&lt;P&gt;Hello All!&lt;/P&gt;&lt;P&gt;I have some lines of output that are exactly the same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like example&amp;nbsp;&lt;/P&gt;&lt;P&gt;mem id- 2. spent-$5. store-walmart. toy-barbie.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mem id- 2. spent-$5. store-walmart. toy-barbie.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Does anyone have example code to get rid of this extra line that is exactly the same?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mary&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2016 16:18:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/duplicate-lines/m-p/245890#M45935</guid>
      <dc:creator>wilsonm3e</dc:creator>
      <dc:date>2016-01-25T16:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate lines</title>
      <link>https://communities.sas.com/t5/SAS-Programming/duplicate-lines/m-p/245891#M45936</link>
      <description>I am still new to sas so this seems easy, but I cant seem to get rid of all them.</description>
      <pubDate>Mon, 25 Jan 2016 16:20:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/duplicate-lines/m-p/245891#M45936</guid>
      <dc:creator>wilsonm3e</dc:creator>
      <dc:date>2016-01-25T16:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate lines</title>
      <link>https://communities.sas.com/t5/SAS-Programming/duplicate-lines/m-p/245892#M45937</link>
      <description>&lt;OL&gt;
&lt;LI&gt;select distinct with PROC SQL&lt;/LI&gt;
&lt;LI&gt;Proc sort nodup - several options&lt;/LI&gt;
&lt;LI&gt;proc sort - data step with by groups&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2016 16:21:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/duplicate-lines/m-p/245892#M45937</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-01-25T16:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate lines</title>
      <link>https://communities.sas.com/t5/SAS-Programming/duplicate-lines/m-p/245894#M45938</link>
      <description>&lt;P&gt;For example&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data have;
input ID Date Amount;
cards;
111 1 30
111 1 34
111 1 34
111 5 70
111 5 70
111 5 70
112 2 79
112 5 5
;
run;

proc sql ;
create table have_nodup as
select distinct *
from have
;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This is very easy one&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2016 16:29:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/duplicate-lines/m-p/245894#M45938</guid>
      <dc:creator>mohamed_zaki</dc:creator>
      <dc:date>2016-01-25T16:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate lines</title>
      <link>https://communities.sas.com/t5/SAS-Programming/duplicate-lines/m-p/245895#M45939</link>
      <description>&lt;P&gt;If something isn't working, its helpful to post what you've tried so we know where you're trying to go with it. Also, you'll find out where the code is incorrect and needs modifications.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2016 16:31:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/duplicate-lines/m-p/245895#M45939</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-01-25T16:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: duplicate lines</title>
      <link>https://communities.sas.com/t5/SAS-Programming/duplicate-lines/m-p/245901#M45943</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2016 17:10:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/duplicate-lines/m-p/245901#M45943</guid>
      <dc:creator>wilsonm3e</dc:creator>
      <dc:date>2016-01-25T17:10:28Z</dc:date>
    </item>
  </channel>
</rss>

