<?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: Append Leaves Numeric Columns Blank in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Append-Leaves-Numeric-Columns-Blank/m-p/888479#M351024</link>
    <description>&lt;P&gt;Can you post the full log, showing the PROC APPEND code you ran and all the Notes and other messages after that?&amp;nbsp; There's nothing in those INFO: messages that would explain your problem.&amp;nbsp; But PROC APPEND is pretty good about sending messages to the log when it encounters problems.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Aug 2023 22:12:45 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2023-08-08T22:12:45Z</dc:date>
    <item>
      <title>Append Leaves Numeric Columns Blank</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Append-Leaves-Numeric-Columns-Blank/m-p/888473#M351019</link>
      <description>&lt;P&gt;I have a proc append issuing the following notes. I assume none of the notes below would explain why a numeric column would be empty (when the append dataset has it populated)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is happening is, the dataset containing the rows to be appended has several numeric columns populated, but when the append executes, those numeric columns in the base dataset are left blank. No warnings or other messages are in the log from the append other than the notes below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on why the numeric columns are blank after the append? Does the large dataset size have something to do with SAS not being able to append? One thought a colleague had was to make the columns character to see if that allows the columns to be populated after the append.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;INFO: Engine's fast-append process in use.&lt;BR /&gt;INFO: 03:26:04 Reading DATA file, updating BASE file&lt;BR /&gt;INFO: Starting data set size is 1005557 pages&lt;BR /&gt;INFO: Engine's block-read method cannot be used because:&lt;BR /&gt;INFO: - The file is compressed&lt;BR /&gt;INFO: Ending data set size is 1007791 pages, 2234 added.&lt;BR /&gt;INFO: 00:00:00 Elapsed time&lt;BR /&gt;INFO: 03:26:04 Finished updating BASE file&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 21:00:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Append-Leaves-Numeric-Columns-Blank/m-p/888473#M351019</guid>
      <dc:creator>shl007</dc:creator>
      <dc:date>2023-08-08T21:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Append Leaves Numeric Columns Blank</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Append-Leaves-Numeric-Columns-Blank/m-p/888476#M351022</link>
      <description>&lt;P&gt;Show the ENTIRE log, the code and all messages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you appending to a SAS data set or an external database file? External files, i.e. not native SAS data sets can sometimes be problematic. If an external data base has a constraint on a field such that it will only accept certain numeric values I might expect them to be "blank" if you attempt to append values that are not accepted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Format associated with the columns in the base file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attempting to "append" character values to a numeric field with proc append should result in errors as the procedure doesn't append incorrect data types.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 21:21:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Append-Leaves-Numeric-Columns-Blank/m-p/888476#M351022</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-08-08T21:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Append Leaves Numeric Columns Blank</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Append-Leaves-Numeric-Columns-Blank/m-p/888479#M351024</link>
      <description>&lt;P&gt;Can you post the full log, showing the PROC APPEND code you ran and all the Notes and other messages after that?&amp;nbsp; There's nothing in those INFO: messages that would explain your problem.&amp;nbsp; But PROC APPEND is pretty good about sending messages to the log when it encounters problems.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 22:12:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Append-Leaves-Numeric-Columns-Blank/m-p/888479#M351024</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2023-08-08T22:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Append Leaves Numeric Columns Blank</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Append-Leaves-Numeric-Columns-Blank/m-p/888482#M351026</link>
      <description>&lt;P&gt;What you describe sounds like what would happen if the variables did not exist in the source dataset.&lt;/P&gt;
&lt;P&gt;But you should see a message about that.&lt;/P&gt;
&lt;PRE&gt;754  data class;
755   set sashelp.class;
756   where sex='M';
757  run;

NOTE: There were 10 observations read from the data set SASHELP.CLASS.
      WHERE sex='M';
NOTE: The data set WORK.CLASS has 10 observations and 5 variables.
NOTE: DATA statement used (Total process time):
      real time           0.03 seconds
      cpu time            0.04 seconds


758
759  proc append
760    base=class
761    data=sashelp.class(where=(sex='F') drop=age)
762  ;
763  run;

NOTE: Appending SASHELP.CLASS to WORK.CLASS.
WARNING: Variable Age was not found on DATA file.
NOTE: There were 9 observations read from the data set SASHELP.CLASS.
      WHERE sex='F';
NOTE: 9 observations added.
NOTE: The data set WORK.CLASS has 19 observations and 5 variables.
NOTE: PROCEDURE APPEND used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tom_0-1691533630661.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/86553iB01CBB4F8AD2D768/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Tom_0-1691533630661.png" alt="Tom_0-1691533630661.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 22:27:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Append-Leaves-Numeric-Columns-Blank/m-p/888482#M351026</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-08-08T22:27:19Z</dc:date>
    </item>
  </channel>
</rss>

