<?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: Access Table created in SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Access-Table-created-in-SAS/m-p/347388#M80232</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/119775"&gt;@simrut&lt;/a&gt; wrote:&lt;BR /&gt;PROC SQL;&lt;BR /&gt;Create Table Employee AS SELECT A.NAME,A.SALARY,B.DEPT FROM EMP1 A LEFT JOIN DEPARTMENT B ON A.EMP_ID= B.EMP_ID ;&lt;BR /&gt;QUIT;&lt;BR /&gt;&lt;BR /&gt;/***************************************************/&lt;BR /&gt;PROC SQL;&lt;BR /&gt;CREATE &lt;FONT color="#ff0000" size="4"&gt;&lt;STRONG&gt;TEMPLE&lt;/STRONG&gt;&lt;/FONT&gt; TEMP AS SELECT * FROM EMPLOYEE;&lt;BR /&gt;&lt;BR /&gt;QUIT;&lt;BR /&gt;&lt;BR /&gt;I am getting error 'Employee not found'&lt;BR /&gt;&lt;BR /&gt;Hope this helps:)&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Apr 2017 14:41:08 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2017-04-05T14:41:08Z</dc:date>
    <item>
      <title>Access Table created in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Access-Table-created-in-SAS/m-p/347292#M80183</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a SAS table by Proc Sql and then tried to create another table from the table created first like teh below example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc SQL;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CREATE TABLE A AS SELECT * from B;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC SQL;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CREATE TABLE C AS SELECT * from A;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try executing the second SQL query I am getting error as A not found.&lt;/P&gt;&lt;P&gt;Kindly Help.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 10:59:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Access-Table-created-in-SAS/m-p/347292#M80183</guid>
      <dc:creator>simrut</dc:creator>
      <dc:date>2017-04-05T10:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Access Table created in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Access-Table-created-in-SAS/m-p/347293#M80184</link>
      <description>&lt;P&gt;Your code seems to be working on the following simple test data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data B;
input var1 var2;
datalines;
1 2
3 4
5 6
;

Proc SQL;
CREATE TABLE A AS SELECT * from B;
quit;

PROC SQL;
CREATE TABLE C AS SELECT * from A;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See log below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG title="Udklip.PNG" alt="Udklip.PNG" src="https://communities.sas.com/t5/image/serverpage/image-id/8155i8FDFBDFBE6791F90/image-size/medium?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 11:05:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Access-Table-created-in-SAS/m-p/347293#M80184</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2017-04-05T11:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Access Table created in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Access-Table-created-in-SAS/m-p/347296#M80186</link>
      <description>&lt;P&gt;It is just an example on what I am working on explained in the below steps.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;B is another table existing in database and I am creating a table A selecting data from B.&lt;/LI&gt;&lt;LI&gt;Then creating another table C selecting data from table A created in the previous step&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 11:07:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Access-Table-created-in-SAS/m-p/347296#M80186</guid>
      <dc:creator>simrut</dc:creator>
      <dc:date>2017-04-05T11:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Access Table created in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Access-Table-created-in-SAS/m-p/347300#M80189</link>
      <description>&lt;P&gt;Can you provide some sample data or some of the actual code you are using, because nothing is wrong in the code you have posted above &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 11:15:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Access-Table-created-in-SAS/m-p/347300#M80189</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2017-04-05T11:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Access Table created in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Access-Table-created-in-SAS/m-p/347305#M80192</link>
      <description>PROC SQL;&lt;BR /&gt;Create Table Employee AS SELECT A.NAME,A.SALARY,B.DEPT FROM EMP1 A LEFT JOIN DEPARTMENT B ON A.EMP_ID= B.EMP_ID ;&lt;BR /&gt;QUIT;&lt;BR /&gt;&lt;BR /&gt;/***************************************************/&lt;BR /&gt;PROC SQL;&lt;BR /&gt;CREATE TEMPLE TEMP AS SELECT * FROM EMPLOYEE;&lt;BR /&gt;&lt;BR /&gt;QUIT;&lt;BR /&gt;&lt;BR /&gt;I am getting error 'Employee not found'&lt;BR /&gt;&lt;BR /&gt;Hope this helps:)</description>
      <pubDate>Wed, 05 Apr 2017 11:29:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Access-Table-created-in-SAS/m-p/347305#M80192</guid>
      <dc:creator>simrut</dc:creator>
      <dc:date>2017-04-05T11:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Access Table created in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Access-Table-created-in-SAS/m-p/347313#M80197</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/119775"&gt;@simrut&lt;/a&gt; wrote:&lt;BR /&gt;PROC SQL;&lt;BR /&gt;Create Table Employee AS SELECT A.NAME,A.SALARY,B.DEPT FROM EMP1 A LEFT JOIN DEPARTMENT B ON A.EMP_ID= B.EMP_ID ;&lt;BR /&gt;QUIT;&lt;BR /&gt;&lt;BR /&gt;/***************************************************/&lt;BR /&gt;PROC SQL;&lt;BR /&gt;CREATE TEMPLE TEMP AS SELECT * FROM EMPLOYEE;&lt;BR /&gt;&lt;BR /&gt;QUIT;&lt;BR /&gt;&lt;BR /&gt;I am getting error 'Employee not found'&lt;BR /&gt;&lt;BR /&gt;Hope this helps:)&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Post the log of both of those steps when running them in immediate succession.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 12:25:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Access-Table-created-in-SAS/m-p/347313#M80197</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-04-05T12:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Access Table created in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Access-Table-created-in-SAS/m-p/347388#M80232</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/119775"&gt;@simrut&lt;/a&gt; wrote:&lt;BR /&gt;PROC SQL;&lt;BR /&gt;Create Table Employee AS SELECT A.NAME,A.SALARY,B.DEPT FROM EMP1 A LEFT JOIN DEPARTMENT B ON A.EMP_ID= B.EMP_ID ;&lt;BR /&gt;QUIT;&lt;BR /&gt;&lt;BR /&gt;/***************************************************/&lt;BR /&gt;PROC SQL;&lt;BR /&gt;CREATE &lt;FONT color="#ff0000" size="4"&gt;&lt;STRONG&gt;TEMPLE&lt;/STRONG&gt;&lt;/FONT&gt; TEMP AS SELECT * FROM EMPLOYEE;&lt;BR /&gt;&lt;BR /&gt;QUIT;&lt;BR /&gt;&lt;BR /&gt;I am getting error 'Employee not found'&lt;BR /&gt;&lt;BR /&gt;Hope this helps:)&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 14:41:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Access-Table-created-in-SAS/m-p/347388#M80232</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-04-05T14:41:08Z</dc:date>
    </item>
  </channel>
</rss>

