<?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 How to duplicate a line in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-duplicate-a-line/m-p/120966#M33349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I have data in groups by specific dates and would like to duplicate the last line of observations for each group.&amp;nbsp; For example, the first group has 10 observations for a certain date, and I would like the 11th line to be an exact duplicate of the 10th line.&amp;nbsp; And I would like to do this for every group.&amp;nbsp; Thank you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Feb 2013 19:53:15 GMT</pubDate>
    <dc:creator>trich12</dc:creator>
    <dc:date>2013-02-25T19:53:15Z</dc:date>
    <item>
      <title>How to duplicate a line</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-duplicate-a-line/m-p/120966#M33349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I have data in groups by specific dates and would like to duplicate the last line of observations for each group.&amp;nbsp; For example, the first group has 10 observations for a certain date, and I would like the 11th line to be an exact duplicate of the 10th line.&amp;nbsp; And I would like to do this for every group.&amp;nbsp; Thank you for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 19:53:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-duplicate-a-line/m-p/120966#M33349</guid>
      <dc:creator>trich12</dc:creator>
      <dc:date>2013-02-25T19:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to duplicate a line</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-duplicate-a-line/m-p/120967#M33350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;proc sort data=have; by group date; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;set have;&lt;/P&gt;&lt;P&gt;by group;&lt;/P&gt;&lt;P&gt;if last.group then output;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 19:58:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-duplicate-a-line/m-p/120967#M33350</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-02-25T19:58:53Z</dc:date>
    </item>
  </channel>
</rss>

