<?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 include? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Not-include/m-p/129059#M35189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So this might be a simple and basic question, but I can't find an answer from searching online&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if Var1 in (1 2 3) then var2=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in the code above the IN is include. But is there one that is "not include"?&amp;nbsp; Typically I would not use this on a if statement, but more of a where statement when running a proc freq for example. I know I can do Var1 NE 0 AND VAR1 NE 4 for example, but wondering if there is a way to list it like I did above&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Oct 2013 18:13:19 GMT</pubDate>
    <dc:creator>Tpham</dc:creator>
    <dc:date>2013-10-30T18:13:19Z</dc:date>
    <item>
      <title>Not include?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Not-include/m-p/129059#M35189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So this might be a simple and basic question, but I can't find an answer from searching online&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if Var1 in (1 2 3) then var2=1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in the code above the IN is include. But is there one that is "not include"?&amp;nbsp; Typically I would not use this on a if statement, but more of a where statement when running a proc freq for example. I know I can do Var1 NE 0 AND VAR1 NE 4 for example, but wondering if there is a way to list it like I did above&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 18:13:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Not-include/m-p/129059#M35189</guid>
      <dc:creator>Tpham</dc:creator>
      <dc:date>2013-10-30T18:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Not include?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Not-include/m-p/129060#M35190</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;Have you tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data _null_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; var1=5;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; if var1 &lt;STRONG&gt;not&lt;/STRONG&gt; in (1 2 3) then var2=1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; put var2=;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 18:24:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Not-include/m-p/129060#M35190</guid>
      <dc:creator>Amir</dc:creator>
      <dc:date>2013-10-30T18:24:01Z</dc:date>
    </item>
  </channel>
</rss>

