<?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 Proc Append - WARNING: Variable _05_09_2016 was not found on BASE file. The variable will not ... in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Append-WARNING-Variable-05-09-2016-was-not-found-on-BASE/m-p/283837#M57872</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I have two datasets...&lt;SPAN&gt;FinalData01234 and&amp;nbsp;FinalData02360 that I want to Proc Append together into a ds named FinalData. &amp;nbsp;Each of these datasets have&amp;nbsp;&lt;/SPAN&gt;Proc Transposed data where date values have become column names (e.g. _05_08_2016). I have no trouble appending&amp;nbsp;&lt;SPAN&gt;FinalData01234 to FinalData because FinalData doesn't exist yet so it creates it using the data in the ds&amp;nbsp;FinalData01234.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I append the second ZIP Code specific ds named FinalData02360 it&lt;SPAN&gt;&amp;nbsp;has column names that didn't exist in&amp;nbsp;FinalData01234 (e.g. _05_09_2016). When this happens I get errors of the type below. &lt;/SPAN&gt;How can I get these new column names to append without erroring?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NOTE: Appending WORK.FINALDATA02360 to WORK.FINALDATA.
WARNING: Variable _05_09_2016 was not found on BASE file. The variable will not be added to the BASE file.
WARNING: Variable _03_25_2016 was not found on BASE file. The variable will not be added to the BASE file.
WARNING: Variable _01_06_2016 was not found on BASE file. The variable will not be added to the BASE file.
WARNING: Variable _12_08_2015 was not found on BASE file. The variable will not be added to the BASE file.
WARNING: Variable _12_03_2015 was not found on BASE file. The variable will not be added to the BASE file.
WARNING: Variable _11_27_2015 was not found on BASE file. The variable will not be added to the BASE file.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2016 17:07:12 GMT</pubDate>
    <dc:creator>buechler66</dc:creator>
    <dc:date>2016-07-12T17:07:12Z</dc:date>
    <item>
      <title>Proc Append - WARNING: Variable _05_09_2016 was not found on BASE file. The variable will not ...</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Append-WARNING-Variable-05-09-2016-was-not-found-on-BASE/m-p/283837#M57872</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I have two datasets...&lt;SPAN&gt;FinalData01234 and&amp;nbsp;FinalData02360 that I want to Proc Append together into a ds named FinalData. &amp;nbsp;Each of these datasets have&amp;nbsp;&lt;/SPAN&gt;Proc Transposed data where date values have become column names (e.g. _05_08_2016). I have no trouble appending&amp;nbsp;&lt;SPAN&gt;FinalData01234 to FinalData because FinalData doesn't exist yet so it creates it using the data in the ds&amp;nbsp;FinalData01234.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I append the second ZIP Code specific ds named FinalData02360 it&lt;SPAN&gt;&amp;nbsp;has column names that didn't exist in&amp;nbsp;FinalData01234 (e.g. _05_09_2016). When this happens I get errors of the type below. &lt;/SPAN&gt;How can I get these new column names to append without erroring?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NOTE: Appending WORK.FINALDATA02360 to WORK.FINALDATA.
WARNING: Variable _05_09_2016 was not found on BASE file. The variable will not be added to the BASE file.
WARNING: Variable _03_25_2016 was not found on BASE file. The variable will not be added to the BASE file.
WARNING: Variable _01_06_2016 was not found on BASE file. The variable will not be added to the BASE file.
WARNING: Variable _12_08_2015 was not found on BASE file. The variable will not be added to the BASE file.
WARNING: Variable _12_03_2015 was not found on BASE file. The variable will not be added to the BASE file.
WARNING: Variable _11_27_2015 was not found on BASE file. The variable will not be added to the BASE file.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 17:07:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Append-WARNING-Variable-05-09-2016-was-not-found-on-BASE/m-p/283837#M57872</guid>
      <dc:creator>buechler66</dc:creator>
      <dc:date>2016-07-12T17:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Append - WARNING: Variable _05_09_2016 was not found on BASE file. The variable will not ..</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Append-WARNING-Variable-05-09-2016-was-not-found-on-BASE/m-p/283842#M57876</link>
      <description>&lt;P&gt;You'll be better off using a datastep and SET. Append does not allow adding new variables to the base dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or combine the input datasets and then transpose after the append.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may find you data set with dates as variable names a continuing maintenance issue.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 17:26:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Append-WARNING-Variable-05-09-2016-was-not-found-on-BASE/m-p/283842#M57876</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-07-12T17:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Append - WARNING: Variable _05_09_2016 was not found on BASE file. The variable will not ..</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Append-WARNING-Variable-05-09-2016-was-not-found-on-BASE/m-p/283940#M57909</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc append base=A data=B force nowarn;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Jul 2016 01:33:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Append-WARNING-Variable-05-09-2016-was-not-found-on-BASE/m-p/283940#M57909</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-07-13T01:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Append - WARNING: Variable _05_09_2016 was not found on BASE file. The variable will not ..</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Append-WARNING-Variable-05-09-2016-was-not-found-on-BASE/m-p/283947#M57912</link>
      <description>Thanks for taking the time to help. Much appreciated.</description>
      <pubDate>Wed, 13 Jul 2016 02:15:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Append-WARNING-Variable-05-09-2016-was-not-found-on-BASE/m-p/283947#M57912</guid>
      <dc:creator>buechler66</dc:creator>
      <dc:date>2016-07-13T02:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Append - WARNING: Variable _05_09_2016 was not found on BASE file. The variable will not ..</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Append-WARNING-Variable-05-09-2016-was-not-found-on-BASE/m-p/284113#M57958</link>
      <description>&lt;P&gt;Remember:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the DATA= data set contains variables that are not in the BASE= data set, use the FORCE option in the APPEND statement to force the concatenation of the two data sets. The APPEND statement &lt;STRONG&gt;drops the extra variables&lt;/STRONG&gt; and issues a warning message. You can use the NOWARN option to suppress the warning message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if the goal is too add variables then Force option isn't what is needed.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 16:33:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Append-WARNING-Variable-05-09-2016-was-not-found-on-BASE/m-p/284113#M57958</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-07-13T16:33:56Z</dc:date>
    </item>
  </channel>
</rss>

