<?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 SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-78-322-Expecting-a/m-p/629541#M186185</link>
    <description>&lt;P&gt;I think the word DICTIONARY is reserved by SQL, and you can't use it as the name of a SAS data set.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Mar 2020 18:41:19 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-03-04T18:41:19Z</dc:date>
    <item>
      <title>ERROR 78-322: Expecting a '.'</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-78-322-Expecting-a/m-p/629540#M186184</link>
      <description>&lt;P&gt;I am trying to do a simple SQL join and keep getting this error message.&amp;nbsp; I'm can't figure what is wrong with my query that is causing the error.&amp;nbsp; Where is there a missing period?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
proc sql;
	create table included_var as
		select a.NAME, b.field_name
		from varlist as a left join dictionary as b
		on a.NAME = b.field_name
	;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I get the following message in my log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;2003
2004
2005  proc sql;
2006      create table included_var as
2007          select a.NAME, b.field_name
2008          from varlist as a left join dictionary as b
                                                     --
                                                     78
ERROR 78-322: Expecting a '.'.

2009          on a.NAME = b.field_name
1     .
      -
      78
      200
1     .
      -
      78
      200
1     .
      -
      78
      76
ERROR 78-322: Expecting a '.'.

ERROR 200-322: The symbol is not recognized and will be ignored.

ERROR 76-322: Syntax error, statement will be ignored.

2010      ;
2011  quit;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE SQL used (Total process time):
      real time           0.01 seconds
      cpu time            0.00 seconds&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Mar 2020 18:39:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-78-322-Expecting-a/m-p/629540#M186184</guid>
      <dc:creator>mhoolsema</dc:creator>
      <dc:date>2020-03-04T18:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 78-322: Expecting a '.'</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-78-322-Expecting-a/m-p/629541#M186185</link>
      <description>&lt;P&gt;I think the word DICTIONARY is reserved by SQL, and you can't use it as the name of a SAS data set.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2020 18:41:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-78-322-Expecting-a/m-p/629541#M186185</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-03-04T18:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 78-322: Expecting a '.'</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-78-322-Expecting-a/m-p/629550#M186192</link>
      <description>&lt;P&gt;That was it!&amp;nbsp; I changed the name of the dataset to DATA_DICTIONARY and it worked fine.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2020 18:53:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-78-322-Expecting-a/m-p/629550#M186192</guid>
      <dc:creator>mhoolsema</dc:creator>
      <dc:date>2020-03-04T18:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 78-322: Expecting a '.'</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-78-322-Expecting-a/m-p/629551#M186193</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/59656"&gt;@mhoolsema&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I haven't tried this, but I believe that WORK.DICTIONARY should work properly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2020 18:55:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-78-322-Expecting-a/m-p/629551#M186193</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-03-04T18:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 78-322: Expecting a '.'</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-78-322-Expecting-a/m-p/629554#M186196</link>
      <description>&lt;P&gt;More precisely, the SQL interpreter expects e.g. "dictionary.tables" or "dictionary.columns" when encountering the token "dictionary". You could probably also get away with referring to your dictionary table as "work.dictionary".&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2020 18:57:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-78-322-Expecting-a/m-p/629554#M186196</guid>
      <dc:creator>s_lassen</dc:creator>
      <dc:date>2020-03-04T18:57:23Z</dc:date>
    </item>
  </channel>
</rss>

