<?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: How to compare two sas datsets considering only observations. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-compare-two-sas-datsets-considering-only-observations/m-p/24644#M4194</link>
    <description>Suggest looking at the COMPARE procedure and the WITH statement.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks,Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search argument, this topic / post:&lt;BR /&gt;
&lt;BR /&gt;
proc compare different variable names site:sas.com</description>
    <pubDate>Thu, 28 Oct 2010 17:53:12 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2010-10-28T17:53:12Z</dc:date>
    <item>
      <title>How to compare two sas datsets considering only observations.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-compare-two-sas-datsets-considering-only-observations/m-p/24643#M4193</link>
      <description>I have a problem where in I need to compare two sas datasets. But in the two datasets the variable are having different name though its the same data.&lt;BR /&gt;
I do not want to change the variable name before comparing. &lt;BR /&gt;
Is there a possiblity of comparing these two datasets supressing variable comparision and let it compare only observation.&lt;BR /&gt;
for e.g&lt;BR /&gt;
data a;&lt;BR /&gt;
    var1="aaa";&lt;BR /&gt;
    var2="ggg";&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
data b;&lt;BR /&gt;
    var_1="aaa";&lt;BR /&gt;
    var_2="ggg";&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Please let me know how I can compare these two datasets. In both the datasets the variable var1= var_1 and var2=var_2.  I want to show these two variables in the report so that user can refer to them properly.</description>
      <pubDate>Thu, 28 Oct 2010 17:34:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-compare-two-sas-datsets-considering-only-observations/m-p/24643#M4193</guid>
      <dc:creator>anandbillava</dc:creator>
      <dc:date>2010-10-28T17:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to compare two sas datsets considering only observations.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-compare-two-sas-datsets-considering-only-observations/m-p/24644#M4194</link>
      <description>Suggest looking at the COMPARE procedure and the WITH statement.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks,Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search argument, this topic / post:&lt;BR /&gt;
&lt;BR /&gt;
proc compare different variable names site:sas.com</description>
      <pubDate>Thu, 28 Oct 2010 17:53:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-compare-two-sas-datsets-considering-only-observations/m-p/24644#M4194</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-10-28T17:53:12Z</dc:date>
    </item>
  </channel>
</rss>

