<?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 how to search a &amp;quot;not missing&amp;quot; string in data step? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/how-to-search-a-quot-not-missing-quot-string-in-data-step/m-p/80028#M23017</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 am looking for a command (not missing?) that I can do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if string1 'NOTMISSING' then test_string=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried:&lt;/P&gt;&lt;P&gt;if string1 then test_string=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it did not work correctly. Any suggestions?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Mar 2013 19:48:46 GMT</pubDate>
    <dc:creator>Ken_oy</dc:creator>
    <dc:date>2013-03-18T19:48:46Z</dc:date>
    <item>
      <title>how to search a "not missing" string in data step?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-search-a-quot-not-missing-quot-string-in-data-step/m-p/80028#M23017</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 am looking for a command (not missing?) that I can do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if string1 'NOTMISSING' then test_string=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried:&lt;/P&gt;&lt;P&gt;if string1 then test_string=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it did not work correctly. Any suggestions?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 19:48:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-search-a-quot-not-missing-quot-string-in-data-step/m-p/80028#M23017</guid>
      <dc:creator>Ken_oy</dc:creator>
      <dc:date>2013-03-18T19:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to search a "not missing" string in data step?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-search-a-quot-not-missing-quot-string-in-data-step/m-p/80029#M23018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are very close:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not missing(string1) then test_string=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or:&lt;/P&gt;&lt;P&gt;test_string=not missing(string1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haikuo &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 19:56:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-search-a-quot-not-missing-quot-string-in-data-step/m-p/80029#M23018</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2013-03-18T19:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to search a "not missing" string in data step?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-search-a-quot-not-missing-quot-string-in-data-step/m-p/80030#M23019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply. your code works great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it makes me recall how I looked for the "where notin (xxx)" statement. :smileylaugh:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 20:01:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-search-a-quot-not-missing-quot-string-in-data-step/m-p/80030#M23019</guid>
      <dc:creator>Ken_oy</dc:creator>
      <dc:date>2013-03-18T20:01:20Z</dc:date>
    </item>
  </channel>
</rss>

