<?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: Could anyone help with the difference between if then and if % then? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Could-anyone-help-with-the-difference-between-if-then-and-if/m-p/250867#M47329</link>
    <description>&lt;P&gt;Here is a very strong hint: If you are comparing dataset variable values use if/then/else.&lt;/P&gt;
&lt;P&gt;If you are conditionally creating program code you likely are looking at %if/%then/%else.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Feb 2016 15:59:15 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2016-02-18T15:59:15Z</dc:date>
    <item>
      <title>Could anyone help with the difference between if then and if % then?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Could-anyone-help-with-the-difference-between-if-then-and-if/m-p/250841#M47320</link>
      <description>&lt;P&gt;Being confused with the&amp;nbsp;difference between if then and if % then? Could anyone help? Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2016 15:10:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Could-anyone-help-with-the-difference-between-if-then-and-if/m-p/250841#M47320</guid>
      <dc:creator>sww</dc:creator>
      <dc:date>2016-02-18T15:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Could anyone help with the difference between if then and if % then?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Could-anyone-help-with-the-difference-between-if-then-and-if/m-p/250846#M47321</link>
      <description>&lt;P&gt;If &amp;lt;condition&amp;gt; then &amp;lt;code&amp;gt; is part of Base SAS&lt;/P&gt;
&lt;P&gt;%if &amp;lt;condition&amp;gt; %then &amp;lt;code&amp;gt; is part of Macro Programming&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the documentation on what each of those products are and what they do, basically Base SAS is the programming language, Macro is an additional component to generate text code.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2016 15:24:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Could-anyone-help-with-the-difference-between-if-then-and-if/m-p/250846#M47321</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-02-18T15:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Could anyone help with the difference between if then and if % then?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Could-anyone-help-with-the-difference-between-if-then-and-if/m-p/250856#M47325</link>
      <description>&lt;P&gt;Really appreciate, I am reading the Macro Programming based on your suggestion now.&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2016 15:38:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Could-anyone-help-with-the-difference-between-if-then-and-if/m-p/250856#M47325</guid>
      <dc:creator>sww</dc:creator>
      <dc:date>2016-02-18T15:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Could anyone help with the difference between if then and if % then?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Could-anyone-help-with-the-difference-between-if-then-and-if/m-p/250858#M47326</link>
      <description>&lt;P&gt;Have you looked at the section "Comparisons" and Example 1 ("Contrasting the %IF-%THEN/%ELSE Statement with the IF-THEN/ELSE Statement") of the &lt;A href="http://support.sas.com/documentation/cdl/en/syntaxidx/68719/HTML/default/index.htm#/documentation/cdl/en/mcrolref/67912/HTML/default/n18fij8dqsue9pn1lp8436e5mvb7.htm" target="_blank"&gt;%IF-%THEN/%ELSE Statement documentation&lt;/A&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or have you tried to use either of the two statements and it didn't work? If so, please feel free to&amp;nbsp;report the specific problem you encountered. It's probably most helpful for you to get an explanation that is related to your own program code.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2016 15:40:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Could-anyone-help-with-the-difference-between-if-then-and-if/m-p/250858#M47326</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2016-02-18T15:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Could anyone help with the difference between if then and if % then?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Could-anyone-help-with-the-difference-between-if-then-and-if/m-p/250867#M47329</link>
      <description>&lt;P&gt;Here is a very strong hint: If you are comparing dataset variable values use if/then/else.&lt;/P&gt;
&lt;P&gt;If you are conditionally creating program code you likely are looking at %if/%then/%else.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2016 15:59:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Could-anyone-help-with-the-difference-between-if-then-and-if/m-p/250867#M47329</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-02-18T15:59:15Z</dc:date>
    </item>
  </channel>
</rss>

