<?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: warning  error-WARNING 1-322: Assuming the symbol AND was misspelled as AND . in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/warning-error-WARNING-1-322-Assuming-the-symbol-AND-was/m-p/681993#M206389</link>
    <description>&lt;P&gt;It is always helpful, as we have asked you many times, to post the log in the box that appears after you click on the &amp;lt;/&amp;gt; icon. We want the whole log, the code, warnings, notes and errors, everything.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Sep 2020 11:58:31 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-09-07T11:58:31Z</dc:date>
    <item>
      <title>warning  error-WARNING 1-322: Assuming the symbol AND was misspelled as AND .</title>
      <link>https://communities.sas.com/t5/SAS-Programming/warning-error-WARNING-1-322-Assuming-the-symbol-AND-was/m-p/681992#M206388</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I have&amp;nbsp; a big problem.&lt;/P&gt;
&lt;P&gt;I am running a simple code and I get a warning.&lt;/P&gt;
&lt;P&gt;____&lt;BR /&gt;1&lt;BR /&gt;WARNING 1-322: Assuming the symbol AND was misspelled as AND&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;___&lt;BR /&gt;1&lt;BR /&gt;WARNING 1-322: Assuming the symbol IF was misspelled as IF&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is that please???&lt;/P&gt;
&lt;P&gt;what is wrong in my code please?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data bbb;
set aaa;
IF&amp;nbsp; x1&amp;gt;= 6000
AND&amp;nbsp; x1&amp;lt;7000
AND x2&amp;gt;=15000
AND x3 in (2,3,4,5,6)
AND&amp;nbsp; x4&amp;gt;=5000
then Factor=2;
else Factor=1;
Run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2020 10:30:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/warning-error-WARNING-1-322-Assuming-the-symbol-AND-was/m-p/681992#M206388</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2020-09-07T10:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: warning  error-WARNING 1-322: Assuming the symbol AND was misspelled as AND .</title>
      <link>https://communities.sas.com/t5/SAS-Programming/warning-error-WARNING-1-322-Assuming-the-symbol-AND-was/m-p/681993#M206389</link>
      <description>&lt;P&gt;It is always helpful, as we have asked you many times, to post the log in the box that appears after you click on the &amp;lt;/&amp;gt; icon. We want the whole log, the code, warnings, notes and errors, everything.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2020 11:58:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/warning-error-WARNING-1-322-Assuming-the-symbol-AND-was/m-p/681993#M206389</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-07T11:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: warning  error-WARNING 1-322: Assuming the symbol AND was misspelled as AND .</title>
      <link>https://communities.sas.com/t5/SAS-Programming/warning-error-WARNING-1-322-Assuming-the-symbol-AND-was/m-p/681994#M206390</link>
      <description>&lt;P&gt;Also please note:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in the portion of the log you do provide, it says "...was misspelled as AND ." There is a space after AND and before the period, as if you have placed a non-printing character into your code. How does this happen? Well, one way is if your code was pasted into SAS from a word-processor or from PowerPoint or from a PDF file. Do not do this if at all possible! There are probably other ways that this can happen.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2020 11:59:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/warning-error-WARNING-1-322-Assuming-the-symbol-AND-was/m-p/681994#M206390</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-07T11:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: warning  error-WARNING 1-322: Assuming the symbol AND was misspelled as AND .</title>
      <link>https://communities.sas.com/t5/SAS-Programming/warning-error-WARNING-1-322-Assuming-the-symbol-AND-was/m-p/682053#M206429</link>
      <description>&lt;P&gt;Another minor thing: SAS will accept comparisons such as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;IF  6000 &amp;lt;= x1 &amp;lt;7000
&lt;/PRE&gt;
&lt;P&gt;which can make code much easier to follow, not to mention that some folks have a hard time getting "AND" and "OR" requirements in the correct places in complex conditions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2020 18:44:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/warning-error-WARNING-1-322-Assuming-the-symbol-AND-was/m-p/682053#M206429</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-09-07T18:44:46Z</dc:date>
    </item>
  </channel>
</rss>

