<?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: Data Step WHERE Clause in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Data-Step-WHERE-Clause/m-p/74081#M15991</link>
    <description>I understand now!  Thanks -- no data is lowercase--so should work perfectly.&lt;BR /&gt;
&lt;BR /&gt;
thanks again!</description>
    <pubDate>Thu, 01 Oct 2009 19:40:29 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-10-01T19:40:29Z</dc:date>
    <item>
      <title>Data Step WHERE Clause</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Step-WHERE-Clause/m-p/74077#M15987</link>
      <description>All of my criteria is not being recognized by SAS in the following WHERE clause syntax.  How should I change it so it will work correctly.  Thanks. &lt;BR /&gt;
&lt;BR /&gt;
WHERE ST = "OK" AND prod = "G" AND O_TYPE = "RI" OR O_Type = "OR";

Message was edited by: dallin01</description>
      <pubDate>Thu, 01 Oct 2009 19:14:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Step-WHERE-Clause/m-p/74077#M15987</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-10-01T19:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Data Step WHERE Clause</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Step-WHERE-Clause/m-p/74078#M15988</link>
      <description>You must take care when using AND along with OR in the same WHERE / IF expression.  Suggest that you need to consider parentheses for the "OR" portion.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Thu, 01 Oct 2009 19:27:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Step-WHERE-Clause/m-p/74078#M15988</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-10-01T19:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Data Step WHERE Clause</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Step-WHERE-Clause/m-p/74079#M15989</link>
      <description>Try this&lt;BR /&gt;
WHERE (ST = 'OK' AND prod = 'G') AND (O_TYPE in ('RI', 'OR'));&lt;BR /&gt;
&lt;BR /&gt;
Also, is the data all caps or could there be lower case?</description>
      <pubDate>Thu, 01 Oct 2009 19:27:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Step-WHERE-Clause/m-p/74079#M15989</guid>
      <dc:creator>garybald</dc:creator>
      <dc:date>2009-10-01T19:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Data Step WHERE Clause</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Step-WHERE-Clause/m-p/74080#M15990</link>
      <description>For simplification, explore using the "IN" operator to combine OR expressions when based on a common variable.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Thu, 01 Oct 2009 19:29:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Step-WHERE-Clause/m-p/74080#M15990</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-10-01T19:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Data Step WHERE Clause</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Step-WHERE-Clause/m-p/74081#M15991</link>
      <description>I understand now!  Thanks -- no data is lowercase--so should work perfectly.&lt;BR /&gt;
&lt;BR /&gt;
thanks again!</description>
      <pubDate>Thu, 01 Oct 2009 19:40:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Step-WHERE-Clause/m-p/74081#M15991</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-10-01T19:40:29Z</dc:date>
    </item>
  </channel>
</rss>

