<?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: How to shorten multiple conditions with &amp;quot;or&amp;quot; ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-shorten-multiple-conditions-with-quot-or-quot/m-p/733218#M228499</link>
    <description>&lt;P&gt;Like this?&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;if max(CCC,S5,S8,DPO)&amp;gt;365 then delete;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Apr 2021 06:13:03 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2021-04-13T06:13:03Z</dc:date>
    <item>
      <title>How to shorten multiple conditions with "or" ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-shorten-multiple-conditions-with-quot-or-quot/m-p/733215#M228496</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Today I wrote this code&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;If (ccc &amp;gt; 365) &lt;STRONG&gt;or&lt;/STRONG&gt; (s5&amp;gt; 365) &lt;STRONG&gt;or&lt;/STRONG&gt; (s8&amp;gt;365) &lt;STRONG&gt;or&lt;/STRONG&gt; (dpo &amp;gt;365) then delete;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I am wondering if there is any chance to shorten this code because 365 repeated many times.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm regards.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 06:04:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-shorten-multiple-conditions-with-quot-or-quot/m-p/733215#M228496</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-04-13T06:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to shorten multiple conditions with "or" ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-shorten-multiple-conditions-with-quot-or-quot/m-p/733216#M228497</link>
      <description>&lt;P&gt;For that condition to be true then at least one of those variables has to be larger then 365.&amp;nbsp; Which means the max() of those variables has to be larger than 365.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;If max(of ccc s5 s8) &amp;gt; 365 then delete;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Apr 2021 06:10:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-shorten-multiple-conditions-with-quot-or-quot/m-p/733216#M228497</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-04-13T06:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to shorten multiple conditions with "or" ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-shorten-multiple-conditions-with-quot-or-quot/m-p/733218#M228499</link>
      <description>&lt;P&gt;Like this?&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;if max(CCC,S5,S8,DPO)&amp;gt;365 then delete;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 06:13:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-shorten-multiple-conditions-with-quot-or-quot/m-p/733218#M228499</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-04-13T06:13:03Z</dc:date>
    </item>
  </channel>
</rss>

