<?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: keeping only one value in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/keeping-only-one-value/m-p/874401#M345477</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data readin;
input ID Name $ Score;
cards;
1 David 45
1 David 74
1 David 77
;
run;


data want;
   set readin;
   by Name;
   if first.Name;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 08 May 2023 07:53:58 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2023-05-08T07:53:58Z</dc:date>
    <item>
      <title>keeping only one value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keeping-only-one-value/m-p/874399#M345475</link>
      <description>&lt;P&gt;Could you please help me to keep only first value "David" from the data, using if last if first,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data readin;&lt;BR /&gt;input ID Name $ Score;&lt;BR /&gt;cards;&lt;BR /&gt;1 David 45&lt;BR /&gt;1 David 74&lt;/P&gt;&lt;P&gt;1 David 77&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 07:48:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keeping-only-one-value/m-p/874399#M345475</guid>
      <dc:creator>kindbe17</dc:creator>
      <dc:date>2023-05-08T07:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: keeping only one value</title>
      <link>https://communities.sas.com/t5/SAS-Programming/keeping-only-one-value/m-p/874401#M345477</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data readin;
input ID Name $ Score;
cards;
1 David 45
1 David 74
1 David 77
;
run;


data want;
   set readin;
   by Name;
   if first.Name;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 08 May 2023 07:53:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/keeping-only-one-value/m-p/874401#M345477</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2023-05-08T07:53:58Z</dc:date>
    </item>
  </channel>
</rss>

