<?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: Compare two datasets in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Compare-two-datasets/m-p/651127#M195325</link>
    <description>&lt;P&gt;Look into PROC COMPARE.&lt;/P&gt;</description>
    <pubDate>Wed, 27 May 2020 16:16:36 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2020-05-27T16:16:36Z</dc:date>
    <item>
      <title>Compare two datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compare-two-datasets/m-p/651114#M195320</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have two datasets with same datatypes and same variables names, each dataset has 100+ variables in it. And they are from different sources(SAS libraries).&lt;/P&gt;
&lt;P&gt;I got a business problem to identify the variables with different data in it from both the datasets.&lt;/P&gt;
&lt;P&gt;e.g. Dataset A with column&amp;nbsp;&lt;STRONG&gt;STREET&amp;nbsp;&lt;/STRONG&gt;has values something like below.&lt;/P&gt;
&lt;P&gt;8 BATH ROAD&lt;BR /&gt;7 CRIB Y SIANEL&lt;BR /&gt;RHONDDA HOUSE, PENDINE&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dataset B with column&amp;nbsp;&lt;STRONG&gt;STREET&amp;nbsp;&lt;/STRONG&gt;values like below:&lt;/P&gt;
&lt;P&gt;BATH ROAD&lt;BR /&gt;CRIB Y SIANEL&lt;BR /&gt;RHONDDA HOUSE&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the difficulty i have: Dataset A is from an old system and Dataset B is from New system.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's a migration work, data from B has more rows than A. Is there any way i can give few examples scenarios where columns with like data and unlike data(STREET).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tried proc compare using a ID variable from both A and B, but as i said, B is having more rows.&lt;/P&gt;
&lt;P&gt;My requirement&amp;nbsp; is to give variables with different values(STREET) like 5 obs. This is to tell new system(B) values are different from old system(A)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 15:31:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compare-two-datasets/m-p/651114#M195320</guid>
      <dc:creator>vnreddy</dc:creator>
      <dc:date>2020-05-27T15:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compare-two-datasets/m-p/651127#M195325</link>
      <description>&lt;P&gt;Look into PROC COMPARE.&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 16:16:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compare-two-datasets/m-p/651127#M195325</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-05-27T16:16:36Z</dc:date>
    </item>
  </channel>
</rss>

