<?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 78-322: Expecting a ','. in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/ERROR-78-322-Expecting-a/m-p/808367#M33673</link>
    <description>&lt;P&gt;the columns you select in proc SQL have to be separated by commas. you don't specify a format in proc sql by just writing date9. you have to put format= before. you can find examples in the SAS documentation.&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/v_024/sqlproc/n1ncn0pznd8wrln1tnp3xdxjz9xz.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/v_024/sqlproc/n1ncn0pznd8wrln1tnp3xdxjz9xz.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Apr 2022 17:49:02 GMT</pubDate>
    <dc:creator>tarheel13</dc:creator>
    <dc:date>2022-04-18T17:49:02Z</dc:date>
    <item>
      <title>ERROR 78-322: Expecting a ','.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-78-322-Expecting-a/m-p/807359#M33620</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;The error says expecting a ','. But I am not sure what is that. Can you please check and clarify it?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;30 proc sql;&lt;BR /&gt;31 select a.*,&lt;BR /&gt;32 b.accountstatuskey_current,&lt;BR /&gt;33 b.accountstatuskey_previous,&lt;BR /&gt;34 b.Datekey as Movement_Date date9.&lt;BR /&gt;_____&lt;BR /&gt;78&lt;BR /&gt;76&lt;BR /&gt;ERROR 78-322: Expecting a ','.&lt;/P&gt;&lt;P&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/P&gt;&lt;P&gt;35 from work.add_repcode as a&lt;BR /&gt;36 inner join DWHDW.fact_tx_AccountStatus as b on a.Accountkey = b.Accountkey;&lt;BR /&gt;NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.&lt;BR /&gt;37 quit;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 12:10:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-78-322-Expecting-a/m-p/807359#M33620</guid>
      <dc:creator>Sandeep77</dc:creator>
      <dc:date>2022-04-12T12:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 78-322: Expecting a ','.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-78-322-Expecting-a/m-p/807362#M33622</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;b.Datekey as Movement_Date format=date9.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Apr 2022 12:14:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-78-322-Expecting-a/m-p/807362#M33622</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-04-12T12:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 78-322: Expecting a ','.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-78-322-Expecting-a/m-p/807373#M33623</link>
      <description>&lt;P&gt;Please use this button to post logs (or other text where no layout change is desired):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54552i914D97BE1B0F21E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The "little running man" right next to is for posting SAS code (provides coloring similar to the SAS Enhanced Editor).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to tell the SQL procedure that DATE9 is a format, otherwise it thinks it's another name.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 12:53:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-78-322-Expecting-a/m-p/807373#M33623</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-04-12T12:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 78-322: Expecting a ','.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-78-322-Expecting-a/m-p/808367#M33673</link>
      <description>&lt;P&gt;the columns you select in proc SQL have to be separated by commas. you don't specify a format in proc sql by just writing date9. you have to put format= before. you can find examples in the SAS documentation.&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/v_024/sqlproc/n1ncn0pznd8wrln1tnp3xdxjz9xz.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/v_024/sqlproc/n1ncn0pznd8wrln1tnp3xdxjz9xz.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 17:49:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-78-322-Expecting-a/m-p/808367#M33673</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2022-04-18T17:49:02Z</dc:date>
    </item>
  </channel>
</rss>

