<?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 where (sintax error while parsing) in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/where-sintax-error-while-parsing/m-p/14537#M2335</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; It is right when the format is $x, and i am agree it works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But,it&amp;nbsp; is not right when you are seeking a date&amp;nbsp; (it has different format) ...sas show an error saying "where clause operator requires compatible variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think is something related with the format date7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the dataset sashelp.gngsm2 if you want to try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnaks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Feb 2012 01:07:22 GMT</pubDate>
    <dc:creator>michtka</dc:creator>
    <dc:date>2012-02-27T01:07:22Z</dc:date>
    <item>
      <title>where (sintax error while parsing)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/where-sintax-error-while-parsing/m-p/14534#M2332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, using the command bar to open a dataset:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vt work.new&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to use the statement where in the commmand bar to search an specific character variable date: 01JAN00 , with format=date7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know one way to use where: &lt;/P&gt;&lt;P&gt;using the where stament in the viewtable, selected the variable date EQ and select &amp;lt;lookup distinct values&amp;gt; 01JAN00 and OK...it works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I type&amp;nbsp; in the command bar: where date=01JAN00, it does not work, apearing the next error:&lt;/P&gt;&lt;P&gt;syntax error while parsing Where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can help me with the right syntax for the option where in the command bar?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnak you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 00:42:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/where-sintax-error-while-parsing/m-p/14534#M2332</guid>
      <dc:creator>michtka</dc:creator>
      <dc:date>2012-02-27T00:42:12Z</dc:date>
    </item>
    <item>
      <title>where (sintax error while parsing)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/where-sintax-error-while-parsing/m-p/14535#M2333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one works for me:&lt;/P&gt;&lt;P&gt;vt sashelp.class (where=(sex eq 'M'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 00:50:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/where-sintax-error-while-parsing/m-p/14535#M2333</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-02-27T00:50:06Z</dc:date>
    </item>
    <item>
      <title>where (sintax error while parsing)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/where-sintax-error-while-parsing/m-p/14536#M2334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition to that sturcture:&lt;/P&gt;&lt;P&gt;vt sashelp.class (where=(sex eq 'M'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe you need to state the date as:&amp;nbsp;&amp;nbsp; date eq "01JAN2000"d&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 00:52:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/where-sintax-error-while-parsing/m-p/14536#M2334</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-02-27T00:52:09Z</dc:date>
    </item>
    <item>
      <title>where (sintax error while parsing)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/where-sintax-error-while-parsing/m-p/14537#M2335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; It is right when the format is $x, and i am agree it works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But,it&amp;nbsp; is not right when you are seeking a date&amp;nbsp; (it has different format) ...sas show an error saying "where clause operator requires compatible variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think is something related with the format date7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the dataset sashelp.gngsm2 if you want to try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnaks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 01:07:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/where-sintax-error-while-parsing/m-p/14537#M2335</guid>
      <dc:creator>michtka</dc:creator>
      <dc:date>2012-02-27T01:07:22Z</dc:date>
    </item>
    <item>
      <title>where (sintax error while parsing)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/where-sintax-error-while-parsing/m-p/14538#M2336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, thank you. It works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 01:09:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/where-sintax-error-while-parsing/m-p/14538#M2336</guid>
      <dc:creator>michtka</dc:creator>
      <dc:date>2012-02-27T01:09:09Z</dc:date>
    </item>
  </channel>
</rss>

