<?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 Can't get Simple Where Statement to work in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Can-t-get-Simple-Where-Statement-to-work/m-p/780315#M31620</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I can't get this simple Where statement to work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data output.PCE_meds;&lt;BR /&gt;set output.RXClaims;&lt;BR /&gt;Where SYSCORTFlag ='Y' or BRONCHOFlag 'Y';&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the error that I get when running to the above code:&lt;/P&gt;&lt;P&gt;SYMBOLGEN: Macro variable _EGNOTES resolves to NOTES&lt;BR /&gt;SYMBOLGEN: Macro variable _EGSOURCE resolves to SOURCE&lt;BR /&gt;31&lt;BR /&gt;32 data output.PCE_meds;&lt;BR /&gt;33 set output.RXClaims;&lt;BR /&gt;34 Where SYSCORTFlag ='Y' or BRONCHOFlag 'Y';&lt;BR /&gt;___&lt;BR /&gt;22&lt;BR /&gt;76&lt;BR /&gt;ERROR: Syntax error while parsing WHERE clause.&lt;BR /&gt;ERROR 22-322: Syntax error, expecting one of the following: !, !!, &amp;amp;, *, **, +, -, /, &amp;lt;, &amp;lt;=, &amp;lt;&amp;gt;, =, &amp;gt;, &amp;gt;=, ?, AND, CONTAINS, EQ,&lt;BR /&gt;GE, GT, LE, LIKE, LT, NE, OR, ^=, |, ||, ~=.&lt;/P&gt;&lt;P&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Nov 2021 23:04:47 GMT</pubDate>
    <dc:creator>Jesusismygrace</dc:creator>
    <dc:date>2021-11-15T23:04:47Z</dc:date>
    <item>
      <title>Can't get Simple Where Statement to work</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Can-t-get-Simple-Where-Statement-to-work/m-p/780315#M31620</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I can't get this simple Where statement to work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data output.PCE_meds;&lt;BR /&gt;set output.RXClaims;&lt;BR /&gt;Where SYSCORTFlag ='Y' or BRONCHOFlag 'Y';&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the error that I get when running to the above code:&lt;/P&gt;&lt;P&gt;SYMBOLGEN: Macro variable _EGNOTES resolves to NOTES&lt;BR /&gt;SYMBOLGEN: Macro variable _EGSOURCE resolves to SOURCE&lt;BR /&gt;31&lt;BR /&gt;32 data output.PCE_meds;&lt;BR /&gt;33 set output.RXClaims;&lt;BR /&gt;34 Where SYSCORTFlag ='Y' or BRONCHOFlag 'Y';&lt;BR /&gt;___&lt;BR /&gt;22&lt;BR /&gt;76&lt;BR /&gt;ERROR: Syntax error while parsing WHERE clause.&lt;BR /&gt;ERROR 22-322: Syntax error, expecting one of the following: !, !!, &amp;amp;, *, **, +, -, /, &amp;lt;, &amp;lt;=, &amp;lt;&amp;gt;, =, &amp;gt;, &amp;gt;=, ?, AND, CONTAINS, EQ,&lt;BR /&gt;GE, GT, LE, LIKE, LT, NE, OR, ^=, |, ||, ~=.&lt;/P&gt;&lt;P&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 23:04:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Can-t-get-Simple-Where-Statement-to-work/m-p/780315#M31620</guid>
      <dc:creator>Jesusismygrace</dc:creator>
      <dc:date>2021-11-15T23:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get Simple Where Statement to work</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Can-t-get-Simple-Where-Statement-to-work/m-p/780316#M31621</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Where SYSCORTFlag ='Y' or BRONCHOFlag = 'Y';&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Add an equal sign in front of the second 'Y'.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 23:09:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Can-t-get-Simple-Where-Statement-to-work/m-p/780316#M31621</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2021-11-15T23:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can't get Simple Where Statement to work</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Can-t-get-Simple-Where-Statement-to-work/m-p/780317#M31622</link>
      <description>Thank you!!!</description>
      <pubDate>Mon, 15 Nov 2021 23:11:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Can-t-get-Simple-Where-Statement-to-work/m-p/780317#M31622</guid>
      <dc:creator>Jesusismygrace</dc:creator>
      <dc:date>2021-11-15T23:11:42Z</dc:date>
    </item>
  </channel>
</rss>

