<?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 NOT LIKE OPERATOR DOES NOT WORK WITH A LIST in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/NOT-LIKE-OPERATOR-DOES-NOT-WORK-WITH-A-LIST/m-p/464816#M30055</link>
    <description>&lt;P&gt;I Would like to remove supplies from&amp;nbsp; file. below code does not work. it works only for one&amp;nbsp;supply. when combined&amp;nbsp;&amp;nbsp; , it does not remove &amp;nbsp;.&lt;/P&gt;
&lt;P&gt;any other way to remove all at once.&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: green; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;FONT size="3"&gt;AND&amp;nbsp; (A.PROD_1_DESC NOT LIKE 'ADAPTER%' OR A.PROD_1_DESC NOT LIKE 'AUVI-Q%'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: green; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;FONT size="3"&gt;OR A.PROD_1_DESC NOT LIKE 'AVOSTARTGRIP%'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: green; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;FONT size="3"&gt;OR A.PROD_1_DESC NOT LIKE 'CATH++%' OR A.PROD_1_DESC NOT LIKE 'CLAVE%'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: green; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;FONT size="3"&gt;OR A.PROD_1_DESC NOT LIKE 'CONNECTOR%' OR A.PROD_1_DESC NOT LIKE 'CRONO SYRINGE%'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: green; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;FONT size="3"&gt;OR A.PROD_1_DESC NOT LIKE 'DRESSING%' OR A.PROD_1_DESC NOT LIKE&amp;nbsp; 'FILTER%'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: green; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;FONT size="3"&gt;OR A.PROD_1_DESC NOT LIKE 'GRIPPER%' OR A.PROD_1_DESC NOT LIKE 'HUBER%'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: green; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;FONT size="3"&gt;Please help.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: green; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;FONT size="3"&gt;Thanks&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 24 May 2018 15:37:55 GMT</pubDate>
    <dc:creator>avatar</dc:creator>
    <dc:date>2018-05-24T15:37:55Z</dc:date>
    <item>
      <title>NOT LIKE OPERATOR DOES NOT WORK WITH A LIST</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/NOT-LIKE-OPERATOR-DOES-NOT-WORK-WITH-A-LIST/m-p/464816#M30055</link>
      <description>&lt;P&gt;I Would like to remove supplies from&amp;nbsp; file. below code does not work. it works only for one&amp;nbsp;supply. when combined&amp;nbsp;&amp;nbsp; , it does not remove &amp;nbsp;.&lt;/P&gt;
&lt;P&gt;any other way to remove all at once.&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: green; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;FONT size="3"&gt;AND&amp;nbsp; (A.PROD_1_DESC NOT LIKE 'ADAPTER%' OR A.PROD_1_DESC NOT LIKE 'AUVI-Q%'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: green; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;FONT size="3"&gt;OR A.PROD_1_DESC NOT LIKE 'AVOSTARTGRIP%'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: green; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;FONT size="3"&gt;OR A.PROD_1_DESC NOT LIKE 'CATH++%' OR A.PROD_1_DESC NOT LIKE 'CLAVE%'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: green; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;FONT size="3"&gt;OR A.PROD_1_DESC NOT LIKE 'CONNECTOR%' OR A.PROD_1_DESC NOT LIKE 'CRONO SYRINGE%'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: green; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;FONT size="3"&gt;OR A.PROD_1_DESC NOT LIKE 'DRESSING%' OR A.PROD_1_DESC NOT LIKE&amp;nbsp; 'FILTER%'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: green; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;FONT size="3"&gt;OR A.PROD_1_DESC NOT LIKE 'GRIPPER%' OR A.PROD_1_DESC NOT LIKE 'HUBER%'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: green; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;FONT size="3"&gt;Please help.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="background: white; color: green; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;FONT size="3"&gt;Thanks&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 15:37:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/NOT-LIKE-OPERATOR-DOES-NOT-WORK-WITH-A-LIST/m-p/464816#M30055</guid>
      <dc:creator>avatar</dc:creator>
      <dc:date>2018-05-24T15:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: NOT LIKE OPERATOR DOES NOT WORK WITH A LIST</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/NOT-LIKE-OPERATOR-DOES-NOT-WORK-WITH-A-LIST/m-p/464821#M30057</link>
      <description>&lt;P&gt;You could include all of the code, an example data set that demonstrates the behavior and what you expect the result to be. Best is to post example data in the form of a data step so we can actually test code against your data and to post all code in a code box opened with the forum {I} icon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you have "something and (&amp;lt;a bunch of OR comparisons&amp;gt;) the part before the AND is significant as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 15:48:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/NOT-LIKE-OPERATOR-DOES-NOT-WORK-WITH-A-LIST/m-p/464821#M30057</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-05-24T15:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: NOT LIKE OPERATOR DOES NOT WORK WITH A LIST</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/NOT-LIKE-OPERATOR-DOES-NOT-WORK-WITH-A-LIST/m-p/464825#M30059</link>
      <description>&lt;P&gt;Your logic is incorrect.&amp;nbsp; Change OR to AND.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 16:02:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/NOT-LIKE-OPERATOR-DOES-NOT-WORK-WITH-A-LIST/m-p/464825#M30059</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-05-24T16:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: NOT LIKE OPERATOR DOES NOT WORK WITH A LIST</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/NOT-LIKE-OPERATOR-DOES-NOT-WORK-WITH-A-LIST/m-p/464829#M30060</link>
      <description>&lt;P&gt;ANDs and ORs with NOTs are tricky. If you think about it, with&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;VAR1 NOT LIKE 'A' OR VAR1 NOT LIKE 'B'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if Var1 is 'A', it is not like 'B'. If it's 'B', it's not like 'A'. So you always pass the test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As suggested above, change OR to AND, or use the structure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOT (LIKE 'A' OR LIKE 'B' OR LIKE 'C')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 16:14:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/NOT-LIKE-OPERATOR-DOES-NOT-WORK-WITH-A-LIST/m-p/464829#M30060</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2018-05-24T16:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: NOT LIKE OPERATOR DOES NOT WORK WITH A LIST</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/NOT-LIKE-OPERATOR-DOES-NOT-WORK-WITH-A-LIST/m-p/464925#M30069</link>
      <description>&lt;P&gt;Thank you all very much !!!!. Now I understand how this works.&lt;/P&gt;</description>
      <pubDate>Fri, 25 May 2018 00:46:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/NOT-LIKE-OPERATOR-DOES-NOT-WORK-WITH-A-LIST/m-p/464925#M30069</guid>
      <dc:creator>avatar</dc:creator>
      <dc:date>2018-05-25T00:46:46Z</dc:date>
    </item>
  </channel>
</rss>

