<?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: Find individuals in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Find-individuals/m-p/432644#M107182</link>
    <description>&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;data&lt;/SPAN&gt; result&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token keyword"&gt;set&lt;/SPAN&gt; &lt;SPAN class="token statement"&gt;table&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token keyword"&gt;where name like ('211%')&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 31 Jan 2018 09:27:33 GMT</pubDate>
    <dc:creator>srinath3111</dc:creator>
    <dc:date>2018-01-31T09:27:33Z</dc:date>
    <item>
      <title>Find individuals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Find-individuals/m-p/432633#M107174</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to keep that individuals who have 211 in the name variable.&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;211BWBC I want to keep&lt;/P&gt;&lt;P&gt;210ECFP I delete&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But I would not like to create new columns by separating the variable name.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I would like to use the scan function.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data table;&lt;BR /&gt;input Note Name $;&lt;BR /&gt;cards;&lt;BR /&gt;8.3860559819623 210WEAO&lt;BR /&gt;15.5453663184726 211BWBC&lt;BR /&gt;17.6964655703656 210ECFP&lt;BR /&gt;13.1571255262187 211PKKJ&lt;BR /&gt;9.68736898002401 211HVHQ&lt;BR /&gt;10.6813100977326 211POMB&lt;BR /&gt;10.550264669724 211ZNQQ&lt;BR /&gt;0.0137936072989309 210AMJL&lt;BR /&gt;12.1139082894838 209XBZI&lt;BR /&gt;9.61956573832501 211LPJF&lt;BR /&gt;16.6234269133052 211WVEI&lt;BR /&gt;3.97311995569568 210JTFB&lt;BR /&gt;15.3252688167527 211TIIF&lt;BR /&gt;12.1379157216451 211KQLL&lt;BR /&gt;0.340648291882129 211DGMD&lt;BR /&gt;0.580565770662087 209QZTW&lt;BR /&gt;13.7217455692869 211ODHO&lt;BR /&gt;14.5722830026303 211XQJC&lt;BR /&gt;4.80396668369969 211ISBM&lt;BR /&gt;2.35396936861499 210KBGQ&lt;BR /&gt;7.50175770970474 211KGHH&lt;BR /&gt;6.14469376072229 209CXSG&lt;BR /&gt;11.977944705167 210TSHR&lt;BR /&gt;15.0357006553603 209YYNH&lt;BR /&gt;17.2611601306417 211QTUA&lt;BR /&gt;12.89070855245 210ZZXT&lt;BR /&gt;16.9492553096389 210NVEQ&lt;BR /&gt;8.17649698621122 211YOSP&lt;BR /&gt;18.0045428790637 211YYUO&lt;BR /&gt;14.9754022888188 211BYNS&lt;BR /&gt;3.0461865950108 211RNCD&lt;BR /&gt;12.957558565645 210LOBX&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 08:40:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Find-individuals/m-p/432633#M107174</guid>
      <dc:creator>WilliamB</dc:creator>
      <dc:date>2018-01-31T08:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Find individuals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Find-individuals/m-p/432636#M107176</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data table;
input Note Name $;
if findw(Name,'211')&amp;gt;0 then output;	*findw function;
else delete;
cards;
8.3860559819623 210WEAO
15.5453663184726 211BWBC
17.6964655703656 210ECFP
13.1571255262187 211PKKJ
9.68736898002401 211HVHQ
10.6813100977326 211POMB
10.550264669724 211ZNQQ
0.0137936072989309 210AMJL
12.1139082894838 209XBZI
9.61956573832501 211LPJF
16.6234269133052 211WVEI
3.97311995569568 210JTFB
15.3252688167527 211TIIF
12.1379157216451 211KQLL
0.340648291882129 211DGMD
0.580565770662087 209QZTW
13.7217455692869 211ODHO
14.5722830026303 211XQJC
4.80396668369969 211ISBM
2.35396936861499 210KBGQ
7.50175770970474 211KGHH
6.14469376072229 209CXSG
11.977944705167 210TSHR
15.0357006553603 209YYNH
17.2611601306417 211QTUA
12.89070855245 210ZZXT
16.9492553096389 210NVEQ
8.17649698621122 211YOSP
18.0045428790637 211YYUO
14.9754022888188 211BYNS
3.0461865950108 211RNCD
12.957558565645 210LOBX
;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Jan 2018 08:56:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Find-individuals/m-p/432636#M107176</guid>
      <dc:creator>Satish_Parida</dc:creator>
      <dc:date>2018-01-31T08:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Find individuals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Find-individuals/m-p/432638#M107178</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/112281"&gt;@WilliamB&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The SCAN() function might not be what you need.&lt;/P&gt;
&lt;P&gt;Many options exist, one with INDEX() as a boolean.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data result;
set table;
if index(upcase(name),'211');
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope that helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;BR /&gt;Damo&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 09:08:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Find-individuals/m-p/432638#M107178</guid>
      <dc:creator>Damo</dc:creator>
      <dc:date>2018-01-31T09:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Find individuals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Find-individuals/m-p/432639#M107179</link>
      <description>&lt;P&gt;Thank you for your help but it does not work&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 09:10:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Find-individuals/m-p/432639#M107179</guid>
      <dc:creator>WilliamB</dc:creator>
      <dc:date>2018-01-31T09:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Find individuals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Find-individuals/m-p/432640#M107180</link>
      <description>&lt;P&gt;Thank you for your help. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 09:10:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Find-individuals/m-p/432640#M107180</guid>
      <dc:creator>WilliamB</dc:creator>
      <dc:date>2018-01-31T09:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Find individuals</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Find-individuals/m-p/432644#M107182</link>
      <description>&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;data&lt;/SPAN&gt; result&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token keyword"&gt;set&lt;/SPAN&gt; &lt;SPAN class="token statement"&gt;table&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token keyword"&gt;where name like ('211%')&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Jan 2018 09:27:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Find-individuals/m-p/432644#M107182</guid>
      <dc:creator>srinath3111</dc:creator>
      <dc:date>2018-01-31T09:27:33Z</dc:date>
    </item>
  </channel>
</rss>

