<?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 Merging two data sets and non-matched records in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Merging-two-data-sets-and-non-matched-records/m-p/180090#M34421</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;When combining two data sets with the same variables using Data/Merge and a By statement, the records that don't match on the variables in the By statement are just appended to the data set?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Aug 2014 15:51:59 GMT</pubDate>
    <dc:creator>Paul_NYS</dc:creator>
    <dc:date>2014-08-29T15:51:59Z</dc:date>
    <item>
      <title>Merging two data sets and non-matched records</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merging-two-data-sets-and-non-matched-records/m-p/180090#M34421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;When combining two data sets with the same variables using Data/Merge and a By statement, the records that don't match on the variables in the By statement are just appended to the data set?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 15:51:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merging-two-data-sets-and-non-matched-records/m-p/180090#M34421</guid>
      <dc:creator>Paul_NYS</dc:creator>
      <dc:date>2014-08-29T15:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Merging two data sets and non-matched records</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merging-two-data-sets-and-non-matched-records/m-p/180091#M34422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;merge have(in=a) have1(in=b);&lt;/P&gt;&lt;P&gt;by id;&lt;/P&gt;&lt;P&gt;if a and b;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 16:17:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merging-two-data-sets-and-non-matched-records/m-p/180091#M34422</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2014-08-29T16:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Merging two data sets and non-matched records</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merging-two-data-sets-and-non-matched-records/m-p/180092#M34423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That will get me only those records in both record sets, I am presuming?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below will get me the records that match on Id overlaying each other and will append those that don't?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data combine;&lt;/P&gt;&lt;P&gt;merge first second;&lt;/P&gt;&lt;P&gt;by Id;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 16:30:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merging-two-data-sets-and-non-matched-records/m-p/180092#M34423</guid>
      <dc:creator>Paul_NYS</dc:creator>
      <dc:date>2014-08-29T16:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Merging two data sets and non-matched records</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merging-two-data-sets-and-non-matched-records/m-p/180093#M34424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that is correct. I thought you don't want to see obs that are not contributing in merge.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 16:34:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merging-two-data-sets-and-non-matched-records/m-p/180093#M34424</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2014-08-29T16:34:53Z</dc:date>
    </item>
  </channel>
</rss>

