<?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 trims my text in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/proc-append-trims-my-text/m-p/573837#M12590</link>
    <description>Thanks this works!</description>
    <pubDate>Tue, 16 Jul 2019 13:44:18 GMT</pubDate>
    <dc:creator>laiguanyu001</dc:creator>
    <dc:date>2019-07-16T13:44:18Z</dc:date>
    <item>
      <title>proc append trims my text</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-append-trims-my-text/m-p/573834#M12588</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using proc append in a macro.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My base data is an empty data:&lt;/P&gt;&lt;P&gt;data1;&lt;/P&gt;&lt;P&gt;input message $120;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data2;&lt;/P&gt;&lt;P&gt;message = 'A message less than 120 characters';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc append base = data1 data = data2 force;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;even though I set my base data length to be a lot longer than appending data, the message after proc append force is trimmed to "A", which is the first letter in the message. Can someone explain why that happens? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 13:31:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-append-trims-my-text/m-p/573834#M12588</guid>
      <dc:creator>laiguanyu001</dc:creator>
      <dc:date>2019-07-16T13:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: proc append trims my text</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-append-trims-my-text/m-p/573836#M12589</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/279765"&gt;@laiguanyu001&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am using proc append in a macro.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My base data is an empty data:&lt;/P&gt;
&lt;P&gt;data1;&lt;/P&gt;
&lt;P&gt;input message $120;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data2;&lt;/P&gt;
&lt;P&gt;message = 'A message less than 120 characters';&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc append base = data1 data = data2 force;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;even though I set my base data length to be a lot longer than appending data, the message after proc append force is trimmed to "A", which is the first letter in the message. Can someone explain why that happens? Thanks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The code to make the empty data set is not right.&amp;nbsp; Try something like this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data data1;
   stop;
   length message $120;
   run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Jul 2019 13:39:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-append-trims-my-text/m-p/573836#M12589</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2019-07-16T13:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: proc append trims my text</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-append-trims-my-text/m-p/573837#M12590</link>
      <description>Thanks this works!</description>
      <pubDate>Tue, 16 Jul 2019 13:44:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-append-trims-my-text/m-p/573837#M12590</guid>
      <dc:creator>laiguanyu001</dc:creator>
      <dc:date>2019-07-16T13:44:18Z</dc:date>
    </item>
  </channel>
</rss>

