<?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: The following columns were not found in the contributing tables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-following-columns-were-not-found-in-the-contributing/m-p/538514#M148259</link>
    <description>When referring to a macro variable, end the reference with a dot.  Since the SQL syntax also needs a dot between the table name and the field name, use two dots:&lt;BR /&gt;&lt;BR /&gt;ON Results</description>
    <pubDate>Tue, 26 Feb 2019 01:21:53 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2019-02-26T01:21:53Z</dc:date>
    <item>
      <title>ERROR: The following columns were not found in the contributing tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-following-columns-were-not-found-in-the-contributing/m-p/538512#M148258</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Hello. I am new too SAS. I am trying to combine the two tables below to include&amp;nbsp;The domains from the Domains table that are&amp;nbsp;equivalent&amp;nbsp;to&amp;nbsp;the&amp;nbsp;question&amp;nbsp;numbers&amp;nbsp;that&amp;nbsp;are&amp;nbsp;on&amp;nbsp;both&amp;nbsp;tables.&amp;nbsp;I&amp;nbsp;keep&amp;nbsp;getting&amp;nbsp;the&amp;nbsp;error&amp;nbsp;below&amp;nbsp;which&amp;nbsp;says&amp;nbsp;the&amp;nbsp;the&amp;nbsp;columns&amp;nbsp;do&amp;nbsp;not&amp;nbsp;exist&amp;nbsp;when&amp;nbsp;I&amp;nbsp;look&amp;nbsp;at&amp;nbsp;the&amp;nbsp;tables&amp;nbsp;I&amp;nbsp;am&amp;nbsp;pretty&amp;nbsp;sure&amp;nbsp;I&amp;nbsp;am&amp;nbsp;labeling&amp;nbsp;them&amp;nbsp;correctly?&amp;nbsp;Any&amp;nbsp;help&amp;nbsp;would&amp;nbsp;be&amp;nbsp;appreciated.&amp;nbsp;Thanks.&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&lt;BR /&gt;&lt;BR /&gt;%LET A = A;
TITLE "FINAL FORM";

PROC SQL;
CREATE TABLE FINAL_FORM_&amp;amp;A AS
	SELECT Student, Results&amp;amp;A.QuestionNum, Scores, Domains_Form&amp;amp;A.DomainNum, Form
		
    FROM Results&amp;amp;A INNER JOIN Domains_Form&amp;amp;A
	ON Results&amp;amp;A.QuestionNum  = Domains_Form&amp;amp;A.DomainNum;
QUIT;

PROC PRINT DATA=FINAL_FORM_&amp;amp;A;
RUN;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR: The following columns were not found in the contributing tables: Domains_FormADomainNum, ResultsAQuestionNum.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AAAAA.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27449iAE4765D2DF710A45/image-size/large?v=v2&amp;amp;px=999" role="button" title="AAAAA.PNG" alt="AAAAA.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AAAAAAA.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27450i37FC9FB48B36BF28/image-size/large?v=v2&amp;amp;px=999" role="button" title="AAAAAAA.PNG" alt="AAAAAAA.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 01:07:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-following-columns-were-not-found-in-the-contributing/m-p/538512#M148258</guid>
      <dc:creator>BrandonBayles</dc:creator>
      <dc:date>2019-02-26T01:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The following columns were not found in the contributing tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-following-columns-were-not-found-in-the-contributing/m-p/538514#M148259</link>
      <description>When referring to a macro variable, end the reference with a dot.  Since the SQL syntax also needs a dot between the table name and the field name, use two dots:&lt;BR /&gt;&lt;BR /&gt;ON Results</description>
      <pubDate>Tue, 26 Feb 2019 01:21:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-following-columns-were-not-found-in-the-contributing/m-p/538514#M148259</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-02-26T01:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The following columns were not found in the contributing tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-following-columns-were-not-found-in-the-contributing/m-p/538515#M148260</link>
      <description>ON Results&amp;amp;A..QuestionNum = &lt;BR /&gt;Domain_form&amp;amp;A..DomainNum</description>
      <pubDate>Tue, 26 Feb 2019 01:24:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-following-columns-were-not-found-in-the-contributing/m-p/538515#M148260</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-02-26T01:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: The following columns were not found in the contributing tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-The-following-columns-were-not-found-in-the-contributing/m-p/538537#M148261</link>
      <description>&lt;P&gt;That worked. Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 01:59:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-The-following-columns-were-not-found-in-the-contributing/m-p/538537#M148261</guid>
      <dc:creator>BrandonBayles</dc:creator>
      <dc:date>2019-02-26T01:59:53Z</dc:date>
    </item>
  </channel>
</rss>

