<?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: IF Statement with many AND in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/IF-Statement-with-many-AND/m-p/415536#M101919</link>
    <description>Hi KurtBremser,&lt;BR /&gt;&lt;BR /&gt;Apologize for late reply. I'm have detected the root cause and fix it by myself.&lt;BR /&gt;&lt;BR /&gt;Anyway thank you for your response and time.</description>
    <pubDate>Wed, 22 Nov 2017 15:22:04 GMT</pubDate>
    <dc:creator>sagulolo</dc:creator>
    <dc:date>2017-11-22T15:22:04Z</dc:date>
    <item>
      <title>IF Statement with many AND</title>
      <link>https://communities.sas.com/t5/SAS-Programming/IF-Statement-with-many-AND/m-p/415396#M101870</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tried to do IF with many AND condition in dataset, but results was different. Appreciated if anyone can explain further. My code as per below:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF ID = 'XXX' AND NPL_Code = 'Y' AND Location_Code = '123456' AND 'O/S&amp;gt; 0'n = 'YES' THEN&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 07:22:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/IF-Statement-with-many-AND/m-p/415396#M101870</guid>
      <dc:creator>sagulolo</dc:creator>
      <dc:date>2017-11-22T07:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement with many AND</title>
      <link>https://communities.sas.com/t5/SAS-Programming/IF-Statement-with-many-AND/m-p/415404#M101878</link>
      <description>&lt;P&gt;Please supply example data that illustrates where your condition did not perform as expected. Use a data step for posting your example data.&lt;/P&gt;
&lt;P&gt;Not that avoiding all-uppercase coding and using the code-posting subwindow ("little running man" icon) improves readabilty of your code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if ID = 'XXX' and NPL_Code = 'Y' and Location_Code = '123456' and 'O/S&amp;gt; 0'n = 'YES' then &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Nov 2017 07:33:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/IF-Statement-with-many-AND/m-p/415404#M101878</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-11-22T07:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement with many AND</title>
      <link>https://communities.sas.com/t5/SAS-Programming/IF-Statement-with-many-AND/m-p/415536#M101919</link>
      <description>Hi KurtBremser,&lt;BR /&gt;&lt;BR /&gt;Apologize for late reply. I'm have detected the root cause and fix it by myself.&lt;BR /&gt;&lt;BR /&gt;Anyway thank you for your response and time.</description>
      <pubDate>Wed, 22 Nov 2017 15:22:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/IF-Statement-with-many-AND/m-p/415536#M101919</guid>
      <dc:creator>sagulolo</dc:creator>
      <dc:date>2017-11-22T15:22:04Z</dc:date>
    </item>
  </channel>
</rss>

