<?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: Merge or append? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Merge-or-append/m-p/197617#M49394</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it's like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;if _n_=1 then set percentiles;&lt;/P&gt;&lt;P&gt;set data;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;Here's a reference if you want several other options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi28/103-28.pdf" title="http://www2.sas.com/proceedings/sugi28/103-28.pdf"&gt;http://www2.sas.com/proceedings/sugi28/103-28.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2015 15:56:33 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2015-08-12T15:56:33Z</dc:date>
    <item>
      <title>Merge or append?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Merge-or-append/m-p/197616#M49393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a simple question, I think, but have not found an elegant way to implement it.&lt;/P&gt;&lt;P&gt;I have datasetA with 70 rows and a number of variables. I used PROC UNIVARIATE to find percentiles for some of these variables and OUTPUT these percentiles into a new datasetB,which only has the percentiles (one row of data). I want to merge these so that I have the percentile values represented for every row in datasetA so that I can write some simple equations in a new data step. However, when I try to merge these it only joins the percentiles of datasetB to the first row of datasetA. Is there an easy way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;peat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 15:34:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Merge-or-append/m-p/197616#M49393</guid>
      <dc:creator>peatjohnston</dc:creator>
      <dc:date>2015-08-12T15:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Merge or append?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Merge-or-append/m-p/197617#M49394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it's like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;if _n_=1 then set percentiles;&lt;/P&gt;&lt;P&gt;set data;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;Here's a reference if you want several other options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi28/103-28.pdf" title="http://www2.sas.com/proceedings/sugi28/103-28.pdf"&gt;http://www2.sas.com/proceedings/sugi28/103-28.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 15:56:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Merge-or-append/m-p/197617#M49394</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-08-12T15:56:33Z</dc:date>
    </item>
  </channel>
</rss>

