<?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: How to append a table if it has more columns than base table used to append. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-append-a-table-if-it-has-more-columns-than-base-table/m-p/357107#M83808</link>
    <description>&lt;P&gt;Alwyas a good idea to post test data in the form of a datastep. &amp;nbsp;At a guess a simple set can do this:&lt;/P&gt;
&lt;PRE&gt;data work.test1;
  a=1;
  b=4;
  c="1";
run;

data work.test2;
  a=.;
  c="RTY";
run;

data work.test3;
  c="";
run;

data want;
  set test:;
run;&lt;/PRE&gt;</description>
    <pubDate>Tue, 09 May 2017 09:22:32 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2017-05-09T09:22:32Z</dc:date>
    <item>
      <title>How to append a table if it has more columns than base table used to append.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-append-a-table-if-it-has-more-columns-than-base-table/m-p/357102#M83807</link>
      <description>&lt;P&gt;Hi expert,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have a base table contain 5 columns and I have appending table has 8 columns.&lt;/P&gt;
&lt;P&gt;the 5 columns are included within the 8 column.&lt;/P&gt;
&lt;P&gt;when I use proc append with force option. The 3 columns not included are disappearing.&lt;/P&gt;
&lt;P&gt;how do I append them using proc append and I can accept missing value&lt;/P&gt;
&lt;P&gt;after appending.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 09:16:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-append-a-table-if-it-has-more-columns-than-base-table/m-p/357102#M83807</guid>
      <dc:creator>gyambqt</dc:creator>
      <dc:date>2017-05-09T09:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to append a table if it has more columns than base table used to append.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-append-a-table-if-it-has-more-columns-than-base-table/m-p/357107#M83808</link>
      <description>&lt;P&gt;Alwyas a good idea to post test data in the form of a datastep. &amp;nbsp;At a guess a simple set can do this:&lt;/P&gt;
&lt;PRE&gt;data work.test1;
  a=1;
  b=4;
  c="1";
run;

data work.test2;
  a=.;
  c="RTY";
run;

data work.test3;
  c="";
run;

data want;
  set test:;
run;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 May 2017 09:22:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-append-a-table-if-it-has-more-columns-than-base-table/m-p/357107#M83808</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-05-09T09:22:32Z</dc:date>
    </item>
  </channel>
</rss>

