<?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: PROC APPEND not updating Excel file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-APPEND-not-updating-Excel-file/m-p/525407#M142971</link>
    <description>&lt;P&gt;I don't think so. With Proc Append, the base file prevails in everything. The only way is to modify the attributes in the base file before running Proc Append.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jan 2019 14:21:27 GMT</pubDate>
    <dc:creator>cosmid</dc:creator>
    <dc:date>2019-01-08T14:21:27Z</dc:date>
    <item>
      <title>PROC APPEND not updating Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-APPEND-not-updating-Excel-file/m-p/525373#M142964</link>
      <description>&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to update the existing excel sheet using using proc append( Need to add extra row) but I am getting following error message. Can anyone help what is wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;51&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc append base= test.sheet1 data=dummy force;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: Update access is not supported for file TEST.sheet1.DATA.&lt;/FONT&gt;&lt;BR /&gt;52&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;p.s - I am accesing the excel file using lib name statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 11:01:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-APPEND-not-updating-Excel-file/m-p/525373#M142964</guid>
      <dc:creator>arunrami</dc:creator>
      <dc:date>2019-01-08T11:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: PROC APPEND not updating Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-APPEND-not-updating-Excel-file/m-p/525376#M142965</link>
      <description>&lt;P&gt;Pull the existing sheet to a SAS dataset, do the append in SAS, and then replace the sheet in the Excel file. As the message says, you can't append via libname excel.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 11:21:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-APPEND-not-updating-Excel-file/m-p/525376#M142965</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-01-08T11:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: PROC APPEND not updating Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-APPEND-not-updating-Excel-file/m-p/525387#M142968</link>
      <description>&lt;P&gt;Thanks Brem! One more sub question- I hope you don'e mind answering it.. While using proc append , its always taking the length of the variable for from the base data set and newly added variable are truncated accordingly.. is there any way to make it flexible or redefining the length based on new data??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 12:53:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-APPEND-not-updating-Excel-file/m-p/525387#M142968</guid>
      <dc:creator>arunrami</dc:creator>
      <dc:date>2019-01-08T12:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: PROC APPEND not updating Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-APPEND-not-updating-Excel-file/m-p/525407#M142971</link>
      <description>&lt;P&gt;I don't think so. With Proc Append, the base file prevails in everything. The only way is to modify the attributes in the base file before running Proc Append.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 14:21:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-APPEND-not-updating-Excel-file/m-p/525407#M142971</guid>
      <dc:creator>cosmid</dc:creator>
      <dc:date>2019-01-08T14:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: PROC APPEND not updating Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-APPEND-not-updating-Excel-file/m-p/525422#M142973</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/200330"&gt;@arunrami&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks Brem! One more sub question- I hope you don'e mind answering it.. While using proc append , its always taking the length of the variable for from the base data set and newly added variable are truncated accordingly.. is there any way to make it flexible or redefining the length based on new data??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No. proc append does exactly what its name says, and since it does not touch the existing data in the dataset (and therefore can't change that), the attributes of the base will prevail.&lt;/P&gt;
&lt;P&gt;To change the attributes of the existing data, the dataset needs to be rewritten (rename of variables or a change of formats can be done with proc datasets without a complete rewrite, but length changes need a rewrite).&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 14:48:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-APPEND-not-updating-Excel-file/m-p/525422#M142973</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-01-08T14:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: PROC APPEND not updating Excel file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-APPEND-not-updating-Excel-file/m-p/525430#M142975</link>
      <description>Thanks a lot!! you are a real expert in SAS&lt;BR /&gt;My kind request - Please share your if are already having blog or youtube for SAS teaching,, if not please start something like that .. I will be the first to follow &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Tue, 08 Jan 2019 15:03:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-APPEND-not-updating-Excel-file/m-p/525430#M142975</guid>
      <dc:creator>arunrami</dc:creator>
      <dc:date>2019-01-08T15:03:01Z</dc:date>
    </item>
  </channel>
</rss>

