<?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: members who  have changed their Emailable  Status only once. Means from No to Yes and Yes to No and not from y to y and n to n.  and wanted to calculate distinct new mbr id as Active members on the basis of it in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/members-who-have-changed-their-Emailable-Status-only-once-Means/m-p/203218#M50722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its really easier to put in a test datastep with some values and required output.&amp;nbsp; From what I can gather something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; create table WANT as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; distinct(A.MBR_ID)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HAVE A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exists(select distinct MBR_ID from HAVE where RESULT="YES")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and&amp;nbsp;&amp;nbsp;&amp;nbsp; exists(select distinct MBR_ID from HAVE where RESULT="NO");&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Apr 2015 13:49:41 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2015-04-24T13:49:41Z</dc:date>
    <item>
      <title>members who  have changed their Emailable  Status only once. Means from No to Yes and Yes to No and not from y to y and n to n.  and wanted to calculate distinct new mbr id as Active members on the basis of it</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/members-who-have-changed-their-Emailable-Status-only-once-Means/m-p/203217#M50721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;members who&amp;nbsp; have changed their Emailable&amp;nbsp; Status only once.&lt;/P&gt;&lt;P&gt;Means from No to Yes and Yes to No and not from y to y and n to n.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;and wanted to calculate distinct new mbr id as Active members on the basis of it and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;for refrence please see the attached data file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 13:37:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/members-who-have-changed-their-Emailable-Status-only-once-Means/m-p/203217#M50721</guid>
      <dc:creator>ManoharNath</dc:creator>
      <dc:date>2015-04-24T13:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: members who  have changed their Emailable  Status only once. Means from No to Yes and Yes to No and not from y to y and n to n.  and wanted to calculate distinct new mbr id as Active members on the basis of it</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/members-who-have-changed-their-Emailable-Status-only-once-Means/m-p/203218#M50722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its really easier to put in a test datastep with some values and required output.&amp;nbsp; From what I can gather something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; create table WANT as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; distinct(A.MBR_ID)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HAVE A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exists(select distinct MBR_ID from HAVE where RESULT="YES")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and&amp;nbsp;&amp;nbsp;&amp;nbsp; exists(select distinct MBR_ID from HAVE where RESULT="NO");&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 13:49:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/members-who-have-changed-their-Emailable-Status-only-once-Means/m-p/203218#M50722</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-04-24T13:49:41Z</dc:date>
    </item>
  </channel>
</rss>

