<?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 enterprise guide 3.0 filtering multiple columns with logical operators in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/enterprise-guide-3-0-filtering-multiple-columns-with-logical/m-p/4709#M1511</link>
    <description>I cant figure out in 3.0 how to filter several different columns with the logical operator 'OR'...</description>
    <pubDate>Sat, 15 Sep 2007 22:18:36 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-09-15T22:18:36Z</dc:date>
    <item>
      <title>enterprise guide 3.0 filtering multiple columns with logical operators</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/enterprise-guide-3-0-filtering-multiple-columns-with-logical/m-p/4709#M1511</link>
      <description>I cant figure out in 3.0 how to filter several different columns with the logical operator 'OR'...</description>
      <pubDate>Sat, 15 Sep 2007 22:18:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/enterprise-guide-3-0-filtering-multiple-columns-with-logical/m-p/4709#M1511</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-09-15T22:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: enterprise guide 3.0 filtering multiple columns with logical operators</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/enterprise-guide-3-0-filtering-multiple-columns-with-logical/m-p/4710#M1512</link>
      <description>Hi:&lt;BR /&gt;
  I no longer have EG 3.0 to test specifically. But in general, SAS expects OR conditions to be specified in one of 2 ways:&lt;BR /&gt;
[pre]&lt;BR /&gt;
if jobcode = 'PILOT' or jobcode='BAGCLK' or jobcode = 'FLTAT' . . .&lt;BR /&gt;
&lt;BR /&gt;
if jobcode in ('PILOT', 'BAGCLK', 'FLTAT') . . .&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
So, if you are trying to select something that would look like this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
if jobcode = 'PILOT' or 'BAGCLK' or 'FLTAT' . . .&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
Then EG would probably be unhappy.  If you are using different columns, then the syntax would be similar:&lt;BR /&gt;
[pre]&lt;BR /&gt;
if jobcode = 'PILOT' or salary gt 50000 . . .&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
For help with the exact click path to get an OR condition in EG 3.0, you might consider contacting Tech Support.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Sun, 16 Sep 2007 04:20:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/enterprise-guide-3-0-filtering-multiple-columns-with-logical/m-p/4710#M1512</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-09-16T04:20:37Z</dc:date>
    </item>
  </channel>
</rss>

