<?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: Merging Datasets not working, no observations in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Merging-Datasets-not-working-no-observations/m-p/710205#M218580</link>
    <description>&lt;P&gt;Just kidding, I solved my own problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;One-to-one-merging&lt;/STRONG&gt; worked. Not sure why the other method was even suggested to accomplish this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Data OrgList.match18a;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Set temp18;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Set hosp2018;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Run;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jan 2021 16:13:31 GMT</pubDate>
    <dc:creator>SAS93</dc:creator>
    <dc:date>2021-01-08T16:13:31Z</dc:date>
    <item>
      <title>Merging Datasets not working, no observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merging-Datasets-not-working-no-observations/m-p/710202#M218577</link>
      <description>I'm trying to merge 2 different datasets of different sizes (# OBS). They each share a common variable, but I had to rename &amp;amp; change one of them so their formats and variable names matched. &amp;gt;&amp;gt; I want to merge and keep only the obs that are found in the smaller dataset &amp;lt;&amp;lt; I found a suggestion elsewhere to do the following in order to accomplish that: Data OrgList.match18a; Merge temp18 (IN = a) list18 (IN = b); By CommonVar; If a and b; Run; But NO obs are written to that new dataset; SAS is reading the other two datasets just fine and the renaming/reformatting is fine after I checked it. Without the "if a and b", the new dataset has a combined # of all obs from both datasets. What do I do to fix this?</description>
      <pubDate>Fri, 08 Jan 2021 16:08:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merging-Datasets-not-working-no-observations/m-p/710202#M218577</guid>
      <dc:creator>SAS93</dc:creator>
      <dc:date>2021-01-08T16:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Datasets not working, no observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merging-Datasets-not-working-no-observations/m-p/710203#M218578</link>
      <description>I don't know what happened to the formatting for this post. My apologies.</description>
      <pubDate>Fri, 08 Jan 2021 16:09:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merging-Datasets-not-working-no-observations/m-p/710203#M218578</guid>
      <dc:creator>SAS93</dc:creator>
      <dc:date>2021-01-08T16:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Datasets not working, no observations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merging-Datasets-not-working-no-observations/m-p/710205#M218580</link>
      <description>&lt;P&gt;Just kidding, I solved my own problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;One-to-one-merging&lt;/STRONG&gt; worked. Not sure why the other method was even suggested to accomplish this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Data OrgList.match18a;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Set temp18;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Set hosp2018;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Run;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 16:13:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merging-Datasets-not-working-no-observations/m-p/710205#M218580</guid>
      <dc:creator>SAS93</dc:creator>
      <dc:date>2021-01-08T16:13:31Z</dc:date>
    </item>
  </channel>
</rss>

