<?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:232 and error 76:232 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688736#M209297</link>
    <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;SELECT moyenne_globale &lt;STRONG&gt;&lt;FONT size="6" color="#339966"&gt;,&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CASE WHEN nouveaux_cas&amp;gt;moyenne_globale THEN 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ELSE 0 end as comparaison_moyenne_globale&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM d1.COVID_DATA;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are missing--&amp;gt;&amp;nbsp;&lt;SPAN&gt; &lt;STRONG&gt;&lt;FONT size="6" color="#339966"&gt;,&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 04 Oct 2020 03:39:34 GMT</pubDate>
    <dc:creator>novinosrin</dc:creator>
    <dc:date>2020-10-04T03:39:34Z</dc:date>
    <item>
      <title>Error 22:232 and error 76:232</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688734#M209296</link>
      <description>&lt;P&gt;I have run this code and get an error. What could be the mistake?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;SELECT moyenne_globale&lt;BR /&gt;CASE WHEN nouveaux_cas&amp;gt;moyenne_globale THEN 1&lt;BR /&gt;ELSE 0 end as comparaison_moyenne_globale&lt;BR /&gt;FROM d1.COVID_DATA;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I am getting this error:&lt;/P&gt;&lt;P&gt;SELECT moyenne_globale&lt;BR /&gt;70 CASE WHEN nouveaux_cas&amp;gt;moyenne_globale THEN 1&lt;BR /&gt;____&lt;BR /&gt;22&lt;BR /&gt;76&lt;BR /&gt;ERROR 22-322: Syntax error, expecting one of the following: a quoted string, !, !!, &amp;amp;, (, *, **, +, ',', -, '.', /, &amp;lt;, &amp;lt;=, &amp;lt;&amp;gt;, =,&lt;BR /&gt;&amp;gt;, &amp;gt;=, ?, AND, AS, BETWEEN, CONTAINS, EQ, EQT, FORMAT, FROM, GE, GET, GT, GTT, IN, INFORMAT, INTO, IS, LABEL, LE,&lt;BR /&gt;LEN, LENGTH, LET, LIKE, LT, LTT, NE, NET, NOT, NOTIN, OR, TRANSCODE, ^, ^=, |, ||, ~, ~=.&lt;/P&gt;&lt;P&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/P&gt;&lt;P&gt;71 ELSE 0 end as comparaison_moyenne_globale&lt;BR /&gt;72 FROM d1.COVID_DATA;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 03:29:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688734#M209296</guid>
      <dc:creator>Feksan</dc:creator>
      <dc:date>2020-10-04T03:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22:232 and error 76:232</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688736#M209297</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;SELECT moyenne_globale &lt;STRONG&gt;&lt;FONT size="6" color="#339966"&gt;,&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CASE WHEN nouveaux_cas&amp;gt;moyenne_globale THEN 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ELSE 0 end as comparaison_moyenne_globale&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM d1.COVID_DATA;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are missing--&amp;gt;&amp;nbsp;&lt;SPAN&gt; &lt;STRONG&gt;&lt;FONT size="6" color="#339966"&gt;,&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 03:39:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688736#M209297</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-10-04T03:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22:232 and error 76:232</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688744#M209302</link>
      <description>&lt;P&gt;If you look at the post of the log you will see that the the message window reformatted the text.&lt;/P&gt;
&lt;P&gt;Please post logs by copying text from the log and then pasting into a code box opened on the forum using the &amp;lt;/&amp;gt; icon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should note that the _ character that appears above the 22 would show the location that SAS determined that your code does not meet the syntax requirements. That may not be the actual location of the error depending on your specific error but that is usually not far. Knowing that the _ indicates where the expected characters should be usually tells what you need.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 05:51:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688744#M209302</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-10-04T05:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22:232 and error 76:232</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688746#M209304</link>
      <description>&lt;P&gt;Proper code formatting goes a long way in revealing problems:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;select
  moyenne_globale /* oops, elements in the same sql clause need to be separated by a comma */
  case
    when nouveaux_cas&amp;gt;moyenne_globale
    then 1
    else 0
  end as comparaison_moyenne_globale
from d1.COVID_DATA;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 04 Oct 2020 07:40:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688746#M209304</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-04T07:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22:232 and error 76:232</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688758#M209310</link>
      <description>&lt;P&gt;Actually this is the whole code and when I run I always have those errors. Do you see a mistake?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;CREATE TABLE d1.COVID AS&lt;BR /&gt;SELECT*,&lt;BR /&gt;FROM d1.owid_covid_data_2019&lt;BR /&gt;UNION ALL&lt;BR /&gt;SELECT*,&lt;BR /&gt;FROM d1.owid_covid_data_2020&lt;BR /&gt;;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;CREATE TABLE d1.COVID_DATA AS&lt;BR /&gt;SELECT A.iso_code,&lt;BR /&gt;A.continent,&lt;BR /&gt;A.location AS pays,&lt;BR /&gt;B.date,&lt;BR /&gt;B.new_cases AS nouveaux_cas,&lt;BR /&gt;B.new_deaths AS nouveaux_deces,&lt;BR /&gt;B.new_tests AS nouveaux_tests,&lt;BR /&gt;B.total_tests AS nb_total_tests,&lt;BR /&gt;B.population,&lt;BR /&gt;B.female_smokers AS femmes_fumeuses,&lt;BR /&gt;B.male_smokers AS hommes_fumeurs&lt;BR /&gt;FROM d1.iso_code_table AS A&lt;BR /&gt;INNER JOIN d1.COVID AS B&lt;BR /&gt;ON A.iso_code = B.iso_code;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SELECT*, date format yymmn6. as month,&lt;BR /&gt;put(date,yyq6.) as quarter&lt;BR /&gt;FROM d1.COVID_DATA;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SELECT*, sum(nouveaux_tests) AS test_par_population,&lt;BR /&gt;FROM d1.COVID_DATA&lt;BR /&gt;GROUP BY population;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DELETE FROM d1.COVID_DATA&lt;BR /&gt;WHERE iso_code="owid_wrl";&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SELECT sum(nouveaux_cas)/count(nouveaux_cas) AS moyenne_globale,&lt;BR /&gt;FROM d1.COVID_DATA;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SELECT moyenne_globale,&lt;BR /&gt;CASE WHEN nouveaux_cas&amp;gt;moyenne_globale THEN 1&lt;BR /&gt;ELSE 0 end as comparaison_moyenne_globale&lt;BR /&gt;FROM d1.COVID_DATA;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT*,&lt;BR /&gt;CASE WHEN hommes_fumeurs&amp;gt;femmes_fumeuses THEN "Hommes_plus_Femmes"&lt;BR /&gt;WHEN hommes_fumeurs&amp;lt;femmes_fumeuses THEN "Hommes_moins_Femmes"&lt;BR /&gt;WHEN hommes_fumeurs=femmes_fumeuses THEN "Hommes_egale_Femmes"&lt;BR /&gt;ELSE "NA" end as comparaison_sex&lt;BR /&gt;FROM d1.COVID_DATA;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;quit;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 15:07:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688758#M209310</guid>
      <dc:creator>Feksan</dc:creator>
      <dc:date>2020-10-04T15:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22:232 and error 76:232</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688759#M209311</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/350608"&gt;@Feksan&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Actually this is the whole code and when I run I always have those errors. Do you see a mistake?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sql;&lt;/P&gt;
&lt;P&gt;CREATE TABLE d1.COVID AS&lt;BR /&gt;SELECT*,&lt;BR /&gt;FROM d1.owid_covid_data_2019&lt;BR /&gt;UNION ALL&lt;BR /&gt;SELECT*,&lt;BR /&gt;FROM d1.owid_covid_data_2020&lt;BR /&gt;;&lt;BR /&gt;quit;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You might want to seriously consider the suggestion from &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt; to format your code properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might want to show us the LOG as explained by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt; . Saying you get errors is not the same as SHOWING us the errors in the LOG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All of these things will help YOU get answers faster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe you get errors because of a misplaced comma. A comma is used to separate variables in a SELECT clause, it should not be in your code because you are not separating variables. There might be other errors, but we don't know because you haven't shown us the LOG in the required format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
CREATE TABLE d1.COVID AS
SELECT*, /* There should be NO comma on this line and please put a space after SELECT */
FROM d1.owid_covid_data_2019
UNION ALL
SELECT*,  /* There should be NO comma on this line and please put a space after SELECT */
FROM d1.owid_covid_data_2020
;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 15:19:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688759#M209311</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-10-04T15:19:39Z</dc:date>
    </item>
    <item>
      <title>What mistakes am I making in the sql code with sas because I get the Errors 22 and 76?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688760#M209315</link>
      <description>&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;CREATE TABLE d1.COVID AS&lt;BR /&gt;SELECT*,&lt;BR /&gt;FROM d1.owid_covid_data_2019&lt;BR /&gt;UNION ALL&lt;BR /&gt;SELECT*,&lt;BR /&gt;FROM d1.owid_covid_data_2020&lt;BR /&gt;;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;CREATE TABLE d1.COVID_DATA AS&lt;BR /&gt;SELECT A.iso_code,&lt;BR /&gt;A.continent,&lt;BR /&gt;A.location AS pays,&lt;BR /&gt;B.date,&lt;BR /&gt;B.new_cases AS nouveaux_cas,&lt;BR /&gt;B.new_deaths AS nouveaux_deces,&lt;BR /&gt;B.new_tests AS nouveaux_tests,&lt;BR /&gt;B.total_tests AS nb_total_tests,&lt;BR /&gt;B.population,&lt;BR /&gt;B.female_smokers AS femmes_fumeuses,&lt;BR /&gt;B.male_smokers AS hommes_fumeurs&lt;BR /&gt;FROM d1.iso_code_table AS A&lt;BR /&gt;INNER JOIN d1.COVID AS B&lt;BR /&gt;ON A.iso_code = B.iso_code;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SELECT*, date format yymmn6. as month,&lt;BR /&gt;put(date,yyq6.) as quarter&lt;BR /&gt;FROM d1.COVID_DATA;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SELECT*, sum(nouveaux_tests) AS test_par_population,&lt;BR /&gt;FROM d1.COVID_DATA&lt;BR /&gt;GROUP BY population;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DELETE FROM d1.COVID_DATA&lt;BR /&gt;WHERE iso_code="owid_wrl";&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SELECT sum(nouveaux_cas)/count(nouveaux_cas) AS moyenne_globale,&lt;BR /&gt;FROM d1.COVID_DATA;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SELECT moyenne_globale,&lt;BR /&gt;CASE WHEN nouveaux_cas&amp;gt;moyenne_globale THEN 1&lt;BR /&gt;ELSE 0 end as comparaison_moyenne_globale&lt;BR /&gt;FROM d1.COVID_DATA;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT*,&lt;BR /&gt;CASE WHEN hommes_fumeurs&amp;gt;femmes_fumeuses THEN "Hommes_plus_Femmes"&lt;BR /&gt;WHEN hommes_fumeurs&amp;lt;femmes_fumeuses THEN "Hommes_moins_Femmes"&lt;BR /&gt;WHEN hommes_fumeurs=femmes_fumeuses THEN "Hommes_egale_Femmes"&lt;BR /&gt;ELSE "NA" end as comparaison_sex&lt;BR /&gt;FROM d1.COVID_DATA;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;quit;`&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;`ERROR 22-322: Syntax error, expecting one of the following: a quoted string, !, !!, &amp;amp;, *, **, +, ',', -, /, &amp;lt;, &amp;lt;=, &amp;lt;&amp;gt;, =, &amp;gt;, &amp;gt;=, ?,&lt;BR /&gt;AND, AS, BETWEEN, CONTAINS, EQ, EQT, FORMAT, FROM, GE, GET, GT, GTT, IN, INFORMAT, INTO, IS, LABEL, LE, LEN, LENGTH,&lt;BR /&gt;LET, LIKE, LT, LTT, NE, NET, NOT, NOTIN, OR, TRANSCODE, ^, ^=, |, ||, ~, ~=.&lt;/P&gt;&lt;P&gt;ERROR 76-322: Syntax error, statement will be ignored.`&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 15:28:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688760#M209315</guid>
      <dc:creator>Feksan</dc:creator>
      <dc:date>2020-10-04T15:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: What mistakes am I making in the sql code with sas because I get the Errors 22 and 76?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688761#M209316</link>
      <description>&lt;P&gt;Please don't post the same question twice.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This has been answered in your other thread at &lt;A href="https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/td-p/688734" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/td-p/688734&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 15:31:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688761#M209316</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-10-04T15:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22:232 and error 76:232</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688764#M209314</link>
      <description>&lt;P&gt;I guess some tuition on the basics of SQL coding is on order.&lt;/P&gt;
&lt;P&gt;When you have a list of similar objects (columns or tables) within a clause, these objects must be separated by a comma; if only one object is used (the asterisk counts as one), then no comma must be used.&lt;/P&gt;
&lt;P&gt;And you need to separate objects from keywords by at least one blank.&lt;/P&gt;
&lt;P&gt;So this is wrong:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;SELECT*,
FROM d1.owid_covid_data_2019&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;There is no blank separating the asterisk from the keyword SELECT;&lt;/P&gt;
&lt;P&gt;if there were, there would be only &lt;STRONG&gt;one&lt;/STRONG&gt; object in the SELECT, so the comma must not be used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To aid in giving you help, post the &lt;STRONG&gt;log&lt;/STRONG&gt; of a failing step by &lt;STRONG&gt;copy/pasting&lt;/STRONG&gt; into a window opened with the &lt;STRONG&gt;&amp;lt;/&amp;gt;&lt;/STRONG&gt; button.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 15:42:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688764#M209314</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-04T15:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: What mistakes am I making in the sql code with sas because I get the Errors 22 and 76?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688765#M209317</link>
      <description>&lt;P&gt;I merged this back into the original thread.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 15:47:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688765#M209317</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-04T15:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error 22:232 and error 76:232</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688784#M209329</link>
      <description>&lt;P&gt;You need to put commas in between variables in a list in SQL (unlike in normal SAS code where you use spaces).&amp;nbsp; N items will require N-1 commas. So if there are three items you need two commas.&amp;nbsp; If there is only one item then you need zero commas.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;SELECT *
FROM d1.owid_covid_data_2019
...&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If will help you limit the number of times you make mistakes with missing/added commas if you get in the habit placing the commas at the beginning of the continuation line instead of at the end of the line you are wrapping.&amp;nbsp; This will make it easier for you to notice when scanning the code since you don't need to move your focus left and right.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;SELECT
    A.iso_code
  , A.continent
  , A.location AS pays
...&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 19:50:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-22-232-and-error-76-232/m-p/688784#M209329</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-10-04T19:50:28Z</dc:date>
    </item>
  </channel>
</rss>

