<?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 What is the difference between if a and if a and not b in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/What-is-the-difference-between-if-a-and-if-a-and-not-b/m-p/193124#M48464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can someone explain with a simple dataset merge and proc sql example the difference between following scenarios:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. if a&lt;/P&gt;&lt;P&gt;2. if b&lt;/P&gt;&lt;P&gt;3. if a and not b&lt;/P&gt;&lt;P&gt;4. if not a and b&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2015 22:52:15 GMT</pubDate>
    <dc:creator>dkanand86</dc:creator>
    <dc:date>2015-06-30T22:52:15Z</dc:date>
    <item>
      <title>What is the difference between if a and if a and not b</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/What-is-the-difference-between-if-a-and-if-a-and-not-b/m-p/193124#M48464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can someone explain with a simple dataset merge and proc sql example the difference between following scenarios:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. if a&lt;/P&gt;&lt;P&gt;2. if b&lt;/P&gt;&lt;P&gt;3. if a and not b&lt;/P&gt;&lt;P&gt;4. if not a and b&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 22:52:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/What-is-the-difference-between-if-a-and-if-a-and-not-b/m-p/193124#M48464</guid>
      <dc:creator>dkanand86</dc:creator>
      <dc:date>2015-06-30T22:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between if a and if a and not b</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/What-is-the-difference-between-if-a-and-if-a-and-not-b/m-p/193125#M48465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="active_link" href="https://www.google.ca/url?sa=i&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=images&amp;amp;cd=&amp;amp;cad=rja&amp;amp;uact=8&amp;amp;ved=0CAUQjhw&amp;amp;url=http%3A%2F%2Fwww.reddit.com%2Fr%2Fprogramming%2Fcomments%2F1xlqeu%2Fsql_joins_explained_xpost_rsql%2F&amp;amp;ei=ODGTVcWEK4Tl-QG0-aSYDg&amp;amp;bvm=bv.96952980,d.cWw&amp;amp;psig=AFQjCNFXefzWVtZvagIbdb2yo6CEF3i9Tw&amp;amp;ust=1435796126860214"&gt;SQL Joins Explained (x-post r/SQL) : programming&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. R1C1&lt;/P&gt;&lt;P&gt;2. R1C3&lt;/P&gt;&lt;P&gt;3.R1C2&lt;/P&gt;&lt;P&gt;3. R1C4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 00:17:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/What-is-the-difference-between-if-a-and-if-a-and-not-b/m-p/193125#M48465</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-07-01T00:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between if a and if a and not b</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/What-is-the-difference-between-if-a-and-if-a-and-not-b/m-p/193126#M48466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These are simple logical conditions, whether it's a DATA step, SQL, or a treatise by Aristotle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming that "a" and "b" can be either true or false:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if a ==&amp;gt; true whenever "a" is true, regardless of the value of "b"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if b ==&amp;gt; true whenever "b" is true, regardless of the value of "a"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if a and not b ==&amp;gt; true whenever "a" is true and "b" is false&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not a and b ==&amp;gt; true whenever "a" is false and "b" is true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SAS programming, if "a" and "b" represent numeric amounts rather than comparisons, SAS considers 0 and missing to be false and any other value to be true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 01:13:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/What-is-the-difference-between-if-a-and-if-a-and-not-b/m-p/193126#M48466</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2015-07-01T01:13:41Z</dc:date>
    </item>
  </channel>
</rss>

