<?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: Update Tables in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Update-Tables/m-p/43434#M11348</link>
    <description>HI michel,&lt;BR /&gt;
Im not sure l unnderstand exactly, but my solution to your problem is this:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
1)Import your excel data to sas , for the example i will call her b&lt;BR /&gt;
2)than use the proc append procedure ,it looks like this:&lt;BR /&gt;
To the  main table i will call a&lt;BR /&gt;
&lt;BR /&gt;
proc append base=a&lt;BR /&gt;
                  data=b;&lt;BR /&gt;
                  run;</description>
    <pubDate>Thu, 04 Sep 2008 06:36:18 GMT</pubDate>
    <dc:creator>yonib</dc:creator>
    <dc:date>2008-09-04T06:36:18Z</dc:date>
    <item>
      <title>Update Tables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Update-Tables/m-p/43432#M11346</link>
      <description>I have a Table it has some variables and observations ,now i have some observations in excel now i want to remove the observations in the previous table and insert the observations in the excel to that table &lt;BR /&gt;
&lt;BR /&gt;
Table&lt;BR /&gt;
&lt;BR /&gt;
data x;                  &lt;BR /&gt;
input id sal;&lt;BR /&gt;
cards;&lt;BR /&gt;
1 2 &lt;BR /&gt;
3 4 &lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
data in excel;&lt;BR /&gt;
4 5&lt;BR /&gt;
6 7&lt;BR /&gt;
&lt;BR /&gt;
Fianl output i want is &lt;BR /&gt;
&lt;BR /&gt;
data x;                  &lt;BR /&gt;
input id sal;&lt;BR /&gt;
cards;&lt;BR /&gt;
4 5&lt;BR /&gt;
6 7&lt;BR /&gt;
run;</description>
      <pubDate>Tue, 02 Sep 2008 08:51:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Update-Tables/m-p/43432#M11346</guid>
      <dc:creator>R_Win</dc:creator>
      <dc:date>2008-09-02T08:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Update Tables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Update-Tables/m-p/43433#M11347</link>
      <description>Hello Michel,&lt;BR /&gt;
&lt;BR /&gt;
First of all, import the data you have in excel by doing so:&lt;BR /&gt;
&lt;BR /&gt;
PROC IMPORT OUT= y&lt;BR /&gt;
	        DATAFILE= "full path of the excel file.xls"&lt;BR /&gt;
                        DBMS=EXCEL2000 REPLACE;&lt;BR /&gt;
                        GETNAMES=YES;&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
First row of your excel file should contain the name of your variables.&lt;BR /&gt;
Then you can replace previous observations from your previous dataset.&lt;BR /&gt;
&lt;BR /&gt;
DATA x;&lt;BR /&gt;
   SET Y;&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Florent</description>
      <pubDate>Wed, 03 Sep 2008 12:20:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Update-Tables/m-p/43433#M11347</guid>
      <dc:creator>Florent</dc:creator>
      <dc:date>2008-09-03T12:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Update Tables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Update-Tables/m-p/43434#M11348</link>
      <description>HI michel,&lt;BR /&gt;
Im not sure l unnderstand exactly, but my solution to your problem is this:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
1)Import your excel data to sas , for the example i will call her b&lt;BR /&gt;
2)than use the proc append procedure ,it looks like this:&lt;BR /&gt;
To the  main table i will call a&lt;BR /&gt;
&lt;BR /&gt;
proc append base=a&lt;BR /&gt;
                  data=b;&lt;BR /&gt;
                  run;</description>
      <pubDate>Thu, 04 Sep 2008 06:36:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Update-Tables/m-p/43434#M11348</guid>
      <dc:creator>yonib</dc:creator>
      <dc:date>2008-09-04T06:36:18Z</dc:date>
    </item>
  </channel>
</rss>

