<?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 the dataset in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Merging-the-dataset/m-p/65955#M14315</link>
    <description>I think you need to elaborate more.  It almost looks like you want all non-matching obs except that 6 is in both datasets.</description>
    <pubDate>Fri, 20 Aug 2010 15:13:44 GMT</pubDate>
    <dc:creator>RickM</dc:creator>
    <dc:date>2010-08-20T15:13:44Z</dc:date>
    <item>
      <title>Merging the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merging-the-dataset/m-p/65953#M14313</link>
      <description>I have a two datasets.I need to get the output as follows:&lt;BR /&gt;
&lt;BR /&gt;
data one;&lt;BR /&gt;
input x;&lt;BR /&gt;
1&lt;BR /&gt;
2&lt;BR /&gt;
3&lt;BR /&gt;
4&lt;BR /&gt;
5&lt;BR /&gt;
6;&lt;BR /&gt;
run;&lt;BR /&gt;
data two;&lt;BR /&gt;
input x;&lt;BR /&gt;
1&lt;BR /&gt;
3&lt;BR /&gt;
6&lt;BR /&gt;
7&lt;BR /&gt;
8&lt;BR /&gt;
9&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
the ouput is as follows:&lt;BR /&gt;
&lt;BR /&gt;
4&lt;BR /&gt;
5&lt;BR /&gt;
6&lt;BR /&gt;
7&lt;BR /&gt;
8&lt;BR /&gt;
9</description>
      <pubDate>Fri, 20 Aug 2010 15:00:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merging-the-dataset/m-p/65953#M14313</guid>
      <dc:creator>Siddhartha</dc:creator>
      <dc:date>2010-08-20T15:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Merging the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merging-the-dataset/m-p/65954#M14314</link>
      <description>Sorry, I can't see the logic. Please add some description of your problem.&lt;BR /&gt;
/Linus</description>
      <pubDate>Fri, 20 Aug 2010 15:11:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merging-the-dataset/m-p/65954#M14314</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2010-08-20T15:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Merging the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merging-the-dataset/m-p/65955#M14315</link>
      <description>I think you need to elaborate more.  It almost looks like you want all non-matching obs except that 6 is in both datasets.</description>
      <pubDate>Fri, 20 Aug 2010 15:13:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merging-the-dataset/m-p/65955#M14315</guid>
      <dc:creator>RickM</dc:creator>
      <dc:date>2010-08-20T15:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Merging the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merging-the-dataset/m-p/65956#M14316</link>
      <description>The final output should be as follows:&lt;BR /&gt;
&lt;BR /&gt;
4&lt;BR /&gt;
5&lt;BR /&gt;
6&lt;BR /&gt;
7&lt;BR /&gt;
8&lt;BR /&gt;
9&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Siddhartha</description>
      <pubDate>Fri, 20 Aug 2010 15:14:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merging-the-dataset/m-p/65956#M14316</guid>
      <dc:creator>Siddhartha</dc:creator>
      <dc:date>2010-08-20T15:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Merging the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merging-the-dataset/m-p/65957#M14317</link>
      <description>Yes, I need to get all non matching observations.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Siddhartha</description>
      <pubDate>Fri, 20 Aug 2010 15:16:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merging-the-dataset/m-p/65957#M14317</guid>
      <dc:creator>Siddhartha</dc:creator>
      <dc:date>2010-08-20T15:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Merging the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merging-the-dataset/m-p/65958#M14318</link>
      <description>I geuss that you want "2" as well?&lt;BR /&gt;
&lt;BR /&gt;
data three;&lt;BR /&gt;
merge one(in=a) two(in=b);&lt;BR /&gt;
by x;&lt;BR /&gt;
if a and not b or not a and b;&lt;BR /&gt;
run;</description>
      <pubDate>Fri, 20 Aug 2010 15:22:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merging-the-dataset/m-p/65958#M14318</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2010-08-20T15:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Merging the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merging-the-dataset/m-p/65959#M14319</link>
      <description>[pre]if not(a and b);[/pre]</description>
      <pubDate>Fri, 20 Aug 2010 15:44:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merging-the-dataset/m-p/65959#M14319</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2010-08-20T15:44:52Z</dc:date>
    </item>
  </channel>
</rss>

