<?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: proc tabulate -where statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-where-statement/m-p/274530#M54805</link>
    <description>&lt;P&gt;One or both of your variables is character, so either&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;where &amp;nbsp;sex='2' and grade&amp;nbsp;ne 3;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;or&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;where &amp;nbsp;sex=2 and grade&amp;nbsp;ne '3';&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;or&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;where &amp;nbsp;sex='2' and grade&amp;nbsp;ne '3';&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jun 2016 02:13:16 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2016-06-02T02:13:16Z</dc:date>
    <item>
      <title>proc tabulate -where statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-where-statement/m-p/274527#M54803</link>
      <description>&lt;P&gt;I want to select &amp;nbsp;all female students in all&lt;SPAN&gt;&amp;nbsp;grades except grade 3&amp;nbsp;&lt;/SPAN&gt;to run a proc tabulate, but &amp;nbsp;I am getting this error . Is there a solution to&amp;nbsp;this without listing grade 1,2,4,5,6,and 7 in the "where" statement. Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc tabulate data=&amp;nbsp;new;&lt;/P&gt;&lt;P&gt;&amp;nbsp;where &amp;nbsp;sex=2 and grade&amp;nbsp;ne&amp;nbsp;2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: WHERE clause operator requires compatible variables.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 01:56:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-where-statement/m-p/274527#M54803</guid>
      <dc:creator>archibald</dc:creator>
      <dc:date>2016-06-02T01:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate -where statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-where-statement/m-p/274529#M54804</link>
      <description>&lt;DIV class="lia-message-heading lia-component-message-header"&gt;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-body"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Updates:&lt;/P&gt;&lt;P&gt;I want to select &amp;nbsp;all female students in all&lt;SPAN&gt;&amp;nbsp;grades except grade 3&amp;nbsp;&lt;/SPAN&gt;to run a proc tabulate, but &amp;nbsp;I am getting this error . Is there a solution to&amp;nbsp;this without listing grade 1,2,4,5,6,and 7 in the "where" statement. Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc tabulate data=&amp;nbsp;new;&lt;/P&gt;&lt;P&gt;&amp;nbsp;where &amp;nbsp;sex=2 and grade&amp;nbsp;ne 3;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: WHERE clause operator requires compatible variables.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Jun 2016 01:58:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-where-statement/m-p/274529#M54804</guid>
      <dc:creator>archibald</dc:creator>
      <dc:date>2016-06-02T01:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate -where statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-where-statement/m-p/274530#M54805</link>
      <description>&lt;P&gt;One or both of your variables is character, so either&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;where &amp;nbsp;sex='2' and grade&amp;nbsp;ne 3;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;or&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;where &amp;nbsp;sex=2 and grade&amp;nbsp;ne '3';&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;or&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;where &amp;nbsp;sex='2' and grade&amp;nbsp;ne '3';&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 02:13:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-where-statement/m-p/274530#M54805</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-06-02T02:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate -where statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-where-statement/m-p/274535#M54808</link>
      <description>&lt;P&gt;Character values need quotes&lt;/P&gt;
&lt;P&gt;To test for multiple grades use IN e.g. Grades in (2 3 4 5 6 7). If character all the grade values should be enclosed in quotes.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 02:25:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-where-statement/m-p/274535#M54808</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-06-02T02:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate -where statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-where-statement/m-p/275273#M55028</link>
      <description>Thank you PGStats!</description>
      <pubDate>Sun, 05 Jun 2016 23:40:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-where-statement/m-p/275273#M55028</guid>
      <dc:creator>archibald</dc:creator>
      <dc:date>2016-06-05T23:40:46Z</dc:date>
    </item>
  </channel>
</rss>

