<?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 Need to check for the existence of a particular value in a character variable in SAS data set in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-to-check-for-the-existence-of-a-particular-value-in-a/m-p/133484#M10830</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;How to check for the existence of a particular value in a character variable in SAS data set?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;I have a data set named tracker which has a character variable proj name.....How do I check if the current project name is existing in the tracker.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;I have captured the project name using the macro variable, _clientprojectname.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;How do i check whether that value exist on the tracker data set?&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;Regards,&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;Sheeba Swaminathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 May 2013 14:46:24 GMT</pubDate>
    <dc:creator>Sheeba</dc:creator>
    <dc:date>2013-05-10T14:46:24Z</dc:date>
    <item>
      <title>Need to check for the existence of a particular value in a character variable in SAS data set</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-to-check-for-the-existence-of-a-particular-value-in-a/m-p/133484#M10830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;How to check for the existence of a particular value in a character variable in SAS data set?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;I have a data set named tracker which has a character variable proj name.....How do I check if the current project name is existing in the tracker.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;I have captured the project name using the macro variable, _clientprojectname.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;How do i check whether that value exist on the tracker data set?&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;Regards,&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.727272033691406px; background-color: #ffffff;"&gt;Sheeba Swaminathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 14:46:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-to-check-for-the-existence-of-a-particular-value-in-a/m-p/133484#M10830</guid>
      <dc:creator>Sheeba</dc:creator>
      <dc:date>2013-05-10T14:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need to check for the existence of a particular value in a character variable in SAS data set</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-to-check-for-the-existence-of-a-particular-value-in-a/m-p/133485#M10831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%let value_exists=0;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set tracker;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if proj_name="&amp;amp;_clientprojectname" then call symputx('value_exists',1);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 15:59:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-to-check-for-the-existence-of-a-particular-value-in-a/m-p/133485#M10831</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2013-05-10T15:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need to check for the existence of a particular value in a character variable in SAS data set</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-to-check-for-the-existence-of-a-particular-value-in-a/m-p/133486#M10832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 19:00:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-to-check-for-the-existence-of-a-particular-value-in-a/m-p/133486#M10832</guid>
      <dc:creator>Sheeba</dc:creator>
      <dc:date>2013-05-10T19:00:24Z</dc:date>
    </item>
  </channel>
</rss>

