<?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: Error 22-322 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-22-322/m-p/778570#M247844</link>
    <description>&lt;P&gt;Please disregard. I found the issue, and it was simple like I knew it would be. Sleep deprivation is a powerful thing&lt;/P&gt;</description>
    <pubDate>Thu, 04 Nov 2021 18:02:56 GMT</pubDate>
    <dc:creator>wheddingsjr</dc:creator>
    <dc:date>2021-11-04T18:02:56Z</dc:date>
    <item>
      <title>Error 22-322</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-22-322/m-p/778564#M247839</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked some of the other posts when it comes to this error, but nothing that helped. I am guessing I am tired or frustrated after working on this project for almost 24 hours straight and I am confused as to why this simple little code is giving me this error and why I cant figure out why its creating the error. Here is the code:&lt;/P&gt;&lt;PRE&gt;PROC SQL;
CREATE TABLE work.mc_c AS
Select mc *
	  ,npi.ProvOrgNm
From work.mc mc
Left Join dbo.NPIDATA npi On mc.Referral_NPI = npi.NPI
;QUIT;&lt;/PRE&gt;&lt;P&gt;and this is the error in the log:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;26         PROC SQL;
27         CREATE TABLE work.mc_c AS
28         
29         Select mc *
30         	  ,npi.ProvOrgNm
              _
              22
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, a numeric constant, a datetime constant, 
              a missing value, BTRIM, INPUT, PUT, SUBSTRING, USER.  

31         From work.mc mc
32         Left Join dbo.NPIDATA npi On mc.Referral_NPI = npi.NPI
33         ;
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
33       !  QUIT;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Can anyone else see something that I am missing?? I just want to go sleep!!!!!!!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 17:55:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-22-322/m-p/778564#M247839</guid>
      <dc:creator>wheddingsjr</dc:creator>
      <dc:date>2021-11-04T17:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22-322</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-22-322/m-p/778569#M247843</link>
      <description>You forgot the period. &lt;BR /&gt;&lt;BR /&gt;Select mc.*&lt;BR /&gt;	  ,npi.ProvOrgNm</description>
      <pubDate>Thu, 04 Nov 2021 18:02:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-22-322/m-p/778569#M247843</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-11-04T18:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22-322</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-22-322/m-p/778570#M247844</link>
      <description>&lt;P&gt;Please disregard. I found the issue, and it was simple like I knew it would be. Sleep deprivation is a powerful thing&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 18:02:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-22-322/m-p/778570#M247844</guid>
      <dc:creator>wheddingsjr</dc:creator>
      <dc:date>2021-11-04T18:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22-322</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-22-322/m-p/778571#M247845</link>
      <description>&lt;P&gt;Thanks reeza..i just noticed that as you replied...&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 18:03:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-22-322/m-p/778571#M247845</guid>
      <dc:creator>wheddingsjr</dc:creator>
      <dc:date>2021-11-04T18:03:50Z</dc:date>
    </item>
  </channel>
</rss>

