<?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: syntax errors with proc sql in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/syntax-errors-with-proc-sql/m-p/628676#M77587</link>
    <description>&lt;P&gt;Remove the comma after primary_responsible_provider. For the next post: please don't post log as screenshot but as text using the {i}-icon.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Mar 2020 07:20:19 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2020-03-02T07:20:19Z</dc:date>
    <item>
      <title>syntax errors with proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/syntax-errors-with-proc-sql/m-p/628674#M77585</link>
      <description>&lt;P&gt;Hello - I'm using SAS 9.4 and am simply trying to use proc sql to make a table that is grouped and in a certain order but am getting syntax errors that I can't figure out. Below is the code and attached is the screenshot of the errors.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sql.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/36487iCF067B2B8F597BAC/image-size/large?v=v2&amp;amp;px=999" role="button" title="sql.PNG" alt="sql.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SQL;
create table by_specialty as
SELECT  SumIndemnityCPI,PRIMARY_RESPONSIBLE_PROVIDER,
from finalfinalfile,
GROUP BY PRIMARY_RESPONSIBLE_PROVIDER,
order by SumIndemnityCPI,
QUIT;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 07:14:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/syntax-errors-with-proc-sql/m-p/628674#M77585</guid>
      <dc:creator>lmyers2</dc:creator>
      <dc:date>2020-03-02T07:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: syntax errors with proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/syntax-errors-with-proc-sql/m-p/628676#M77587</link>
      <description>&lt;P&gt;Remove the comma after primary_responsible_provider. For the next post: please don't post log as screenshot but as text using the {i}-icon.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 07:20:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/syntax-errors-with-proc-sql/m-p/628676#M77587</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-03-02T07:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: syntax errors with proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/syntax-errors-with-proc-sql/m-p/628678#M77588</link>
      <description>&lt;P&gt;All commas at the ends of your code lines are invalid.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 07:23:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/syntax-errors-with-proc-sql/m-p/628678#M77588</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-03-02T07:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: syntax errors with proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/syntax-errors-with-proc-sql/m-p/628679#M77589</link>
      <description>The final comma should be a semicolon.</description>
      <pubDate>Mon, 02 Mar 2020 07:25:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/syntax-errors-with-proc-sql/m-p/628679#M77589</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2020-03-02T07:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: syntax errors with proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/syntax-errors-with-proc-sql/m-p/628689#M77595</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/165633"&gt;@lmyers2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To sum up all comments:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SQL;
	create table by_specialty as
	SELECT  SumIndemnityCPI,PRIMARY_RESPONSIBLE_PROVIDER
	from finalfinalfile
	GROUP BY PRIMARY_RESPONSIBLE_PROVIDER
	order by SumIndemnityCPI;
QUIT;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 02 Mar 2020 08:35:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/syntax-errors-with-proc-sql/m-p/628689#M77595</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-03-02T08:35:57Z</dc:date>
    </item>
  </channel>
</rss>

