<?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 Syntax error in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Syntax-error/m-p/819569#M34739</link>
    <description>&lt;P&gt;Hello Expert,&lt;/P&gt;
&lt;P&gt;Just created a code to find some information but I am getting syntax error. Not sure what I am missing in my code. Can you please check and let me know what's the error in my code?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table Non_UK_address as
select a.*,
b.dr_postcode
from trace_nonlit as a
inner join p2scflow.debtor as b on on A.debt_code = B.debt_code
Where
(b.dr_postcode like '%IM%' or b.dr_postcode like '%JE%' or b.dr_postcode like '%GY%');
quit;

Error:

29         proc sql;
30         create table Non_UK_address as
31         select a.*,
32         b.dr_postcode
33         from trace_nonlit as a
34         inner join p2scflow.debtor as b on on A.debt_code = B.debt_code
                                                 _
                                                 22
                                                 76
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, BETWEEN, 
              CONTAINS, EQ, EQT, GE, GET, GROUP, GT, GTT, HAVING, JOIN, LE, LET, LIKE, LT, LTT, NE, NET, OR, ORDER, WHERE, ^=, |, 
              ||, ~=.  

ERROR 76-322: Syntax error, statement will be ignored.

35         Where
36         (b.dr_postcode like '%IM%' or b.dr_postcode like '%JE%' or b.dr_postcode like '%GY%');
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
37         quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 22 Jun 2022 11:00:49 GMT</pubDate>
    <dc:creator>Sandeep77</dc:creator>
    <dc:date>2022-06-22T11:00:49Z</dc:date>
    <item>
      <title>Syntax error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Syntax-error/m-p/819569#M34739</link>
      <description>&lt;P&gt;Hello Expert,&lt;/P&gt;
&lt;P&gt;Just created a code to find some information but I am getting syntax error. Not sure what I am missing in my code. Can you please check and let me know what's the error in my code?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table Non_UK_address as
select a.*,
b.dr_postcode
from trace_nonlit as a
inner join p2scflow.debtor as b on on A.debt_code = B.debt_code
Where
(b.dr_postcode like '%IM%' or b.dr_postcode like '%JE%' or b.dr_postcode like '%GY%');
quit;

Error:

29         proc sql;
30         create table Non_UK_address as
31         select a.*,
32         b.dr_postcode
33         from trace_nonlit as a
34         inner join p2scflow.debtor as b on on A.debt_code = B.debt_code
                                                 _
                                                 22
                                                 76
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, BETWEEN, 
              CONTAINS, EQ, EQT, GE, GET, GROUP, GT, GTT, HAVING, JOIN, LE, LET, LIKE, LT, LTT, NE, NET, OR, ORDER, WHERE, ^=, |, 
              ||, ~=.  

ERROR 76-322: Syntax error, statement will be ignored.

35         Where
36         (b.dr_postcode like '%IM%' or b.dr_postcode like '%JE%' or b.dr_postcode like '%GY%');
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
37         quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Jun 2022 11:00:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Syntax-error/m-p/819569#M34739</guid>
      <dc:creator>Sandeep77</dc:creator>
      <dc:date>2022-06-22T11:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Syntax-error/m-p/819572#M34741</link>
      <description>&lt;P&gt;Simple. You have two on keywords &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 11:07:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Syntax-error/m-p/819572#M34741</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2022-06-22T11:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Syntax-error/m-p/819575#M34744</link>
      <description>Thank you &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;</description>
      <pubDate>Wed, 22 Jun 2022 11:10:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Syntax-error/m-p/819575#M34744</guid>
      <dc:creator>Sandeep77</dc:creator>
      <dc:date>2022-06-22T11:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Syntax-error/m-p/819576#M34745</link>
      <description>&lt;P&gt;Anytime &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 11:10:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Syntax-error/m-p/819576#M34745</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2022-06-22T11:10:59Z</dc:date>
    </item>
  </channel>
</rss>

