<?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: List all differences between two datasets in another dataset in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/385914#M92374</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32246"&gt;@ChrisBrooks&lt;/a&gt;, I've already tried to push back on the requirement without much luck. Do I think he will look all the differences, most likely he won't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which files are suggesting I slipt out?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also tried running proc compare with ods output comparedifferences=check2; but still I get that 32k limitation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your taking your time to look at this respond, greatly appreciated.&lt;/P&gt;</description>
    <pubDate>Sun, 06 Aug 2017 23:57:03 GMT</pubDate>
    <dc:creator>metadata</dc:creator>
    <dc:date>2017-08-06T23:57:03Z</dc:date>
    <item>
      <title>List all differences between two datasets in another dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/385911#M92372</link>
      <description>&lt;P&gt;Hi folks, I have a manager who wants to see all the differences in a comparison between two datasets in a separate dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the moment I'm using proc compare but the maximum number of differences is 32000, which may not accomodate all the differences.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use the 'outnoequal' option it only lists the difference as 'X' for character fields or as the difference for numerical fields, this is not what the manager wants as he needs to see the actual values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions on how to achieve this? I've about 50 datasets I need to compare.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*sample data to check;
data class;
set sashelp.class;

if age=12 then weight=50;
if age=14 then sex="T";
run;

*proc compare test;
proc compare data=class compare=sashelp.class out=check outnoequal;
id name;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;What I would like to see in the difference dataset is something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 468px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14351i23B840DEC360201D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use the outnoequal option I only see this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.PNG" style="width: 345px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14352i1A9A41E5C243C9CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any help is great appreciated.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2017 22:11:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/385911#M92372</guid>
      <dc:creator>metadata</dc:creator>
      <dc:date>2017-08-06T22:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: List all differences between two datasets in another dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/385913#M92373</link>
      <description>&lt;P&gt;When using outnoequals the X is used to show where there is a difference between character variables, an E where there is no difference in numeric variables and the difference otherwise.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the only way you're going to do this is to split your files up by id value and run individual Proc Compares against the susbsets although to be honest I'd try to push back against the requirement - is he really going to look at each and every one of&amp;nbsp;those 32000+ differences?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2017 23:33:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/385913#M92373</guid>
      <dc:creator>ChrisBrooks</dc:creator>
      <dc:date>2017-08-06T23:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: List all differences between two datasets in another dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/385914#M92374</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32246"&gt;@ChrisBrooks&lt;/a&gt;, I've already tried to push back on the requirement without much luck. Do I think he will look all the differences, most likely he won't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which files are suggesting I slipt out?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also tried running proc compare with ods output comparedifferences=check2; but still I get that 32k limitation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your taking your time to look at this respond, greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2017 23:57:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/385914#M92374</guid>
      <dc:creator>metadata</dc:creator>
      <dc:date>2017-08-06T23:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: List all differences between two datasets in another dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/385923#M92379</link>
      <description>&lt;P&gt;Is your manager going to read 32,000 differences?&lt;/P&gt;
&lt;P&gt;Maybe a better report is needed. What is the actual goal?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2017 02:07:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/385923#M92379</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2017-08-07T02:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: List all differences between two datasets in another dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/385928#M92382</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;there is a project where a team is migrating the data we use from on-premise to the cloud. So we need to compare the dataset generated on-premise to the one generated in the cloud for any differences.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We may have a run-time column differences which is pretty obvious once you see the first few rows but he wants to see the whole thing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Out of interest is there a neat way of outputting those 32000 rows to a dataset?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2017 03:25:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/385928#M92382</guid>
      <dc:creator>metadata</dc:creator>
      <dc:date>2017-08-07T03:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: List all differences between two datasets in another dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/385932#M92385</link>
      <description>&lt;P&gt;Good luck reading so many values.&lt;/P&gt;
&lt;P&gt;Anyway, this may get you started:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data CLASS2;
  set SASHELP.CLASS;
  if ranuni(0) &amp;gt; .9 then AGE=AGE*1.5; 
  if ranuni(0) &amp;gt; .9 then WEIGHT=WEIGHT*1.5; 
  if ranuni(0) &amp;gt; .9 then HEIGHT=HEIGHT*1.5; 
  if ranuni(0) &amp;gt; .9 then NAME=catt(NAME,_N_);
  if ranuni(0) &amp;gt; .9 then SEX=catt(SEX,_N_);
run;

proc contents data=SASHELP.CLASS out=CONTENTS noprint;
proc sql; select NAME into :names separated by ' ' from CONTENTS; quit;

%macro all_differences;
data COMP;
  merge SASHELP.CLASS(rename=(%do i=1 %to &amp;amp;sqlobs.; %scan(&amp;amp;names.,&amp;amp;i)=TAB1_VAR&amp;amp;i. %end; ))
        CLASS2       (rename=(%do i=1 %to &amp;amp;sqlobs.; %scan(&amp;amp;names.,&amp;amp;i)=TAB2_VAR&amp;amp;i. %end; ));
  OBSNB=_N_;
  %do i=1 %to &amp;amp;sqlobs.; 
    %scan(&amp;amp;names.,&amp;amp;i.)=ifc( TAB1_VAR&amp;amp;i. = TAB2_VAR&amp;amp;i.
                          , catt('Same value:', TAB1_VAR&amp;amp;i.)
                          , catt(TAB1_VAR&amp;amp;i., '~', TAB2_VAR&amp;amp;i. ));
    KEEP=max(KEEP,index(%scan(&amp;amp;names,&amp;amp;i.),'~'));
  %end;
  if KEEP;
run;
%mend;
%all_differences;
proc print noobs; 
  var OBSNB &amp;amp;names.;
run;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="branch"&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;
&lt;TABLE class="table" summary="Procedure Print: Data Set WORK.COMP" frame="box" rules="all" cellspacing="0" cellpadding="5"&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH class="r header" scope="col"&gt;OBSNB&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;Age&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;Height&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;Name&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;Sex&lt;/TH&gt;
&lt;TH class="l header" scope="col"&gt;Weight&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="r data"&gt;1&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:14&lt;/TD&gt;
&lt;TD class="l data"&gt;69~103.5&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:Alfred&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:M&lt;/TD&gt;
&lt;TD class="l data"&gt;112.5~168.75&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r data"&gt;3&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:13&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:65.3&lt;/TD&gt;
&lt;TD class="l data"&gt;Barbara~Barbara3&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:F&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:98&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r data"&gt;5&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:14&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:63.5&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:Henry&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:M&lt;/TD&gt;
&lt;TD class="l data"&gt;102.5~153.75&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r data"&gt;11&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:11&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:51.3&lt;/TD&gt;
&lt;TD class="l data"&gt;Joyce~Joyce11&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:F&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:50.5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r data"&gt;12&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:14&lt;/TD&gt;
&lt;TD class="l data"&gt;64.3~96.45&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:Judy&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:F&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:90&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r data"&gt;16&lt;/TD&gt;
&lt;TD class="l data"&gt;12~18&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:64.8&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:Robert&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:M&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:128&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class="r data"&gt;18&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:11&lt;/TD&gt;
&lt;TD class="l data"&gt;57.5~86.25&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:Thomas&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:M&lt;/TD&gt;
&lt;TD class="l data"&gt;Same value:85&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Aug 2017 04:15:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/385932#M92385</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2017-08-07T04:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: List all differences between two datasets in another dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/385980#M92395</link>
      <description>&lt;P&gt;The following SQL could give you a start .&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data one;
set sashelp.class;
if age=12 then weight=50;
if age=14 then sex="T";
run;
data two;
 set sashelp.class;
run;

proc sql;
create table in_one_not_in_two as
 select * from one
 except
 select * from two ;

create table in_two_not_in_one as
 select * from two
 except
 select * from one;
quit;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Aug 2017 12:54:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/385980#M92395</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-08-07T12:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: List all differences between two datasets in another dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/386163#M92457</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;, I'll play around with these and report back.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2017 23:36:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/386163#M92457</guid>
      <dc:creator>metadata</dc:creator>
      <dc:date>2017-08-07T23:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: List all differences between two datasets in another dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/386251#M92476</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/157573"&gt;@metadata&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would something like this work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT color="navy"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;FONT color="black"&gt; local;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; row_id = &lt;FONT color="teal"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/FONT&gt;;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x=&lt;FONT color="teal"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/FONT&gt;;y=&lt;FONT color="teal"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/FONT&gt;;z=&lt;FONT color="teal"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/FONT&gt;;a=&lt;FONT color="teal"&gt;&lt;STRONG&gt;4&lt;/STRONG&gt;&lt;/FONT&gt;;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="blue"&gt;output&lt;/FONT&gt;;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; row_id = &lt;FONT color="teal"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/FONT&gt;;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x=&lt;FONT color="teal"&gt;&lt;STRONG&gt;6&lt;/STRONG&gt;&lt;/FONT&gt;;y=&lt;FONT color="teal"&gt;&lt;STRONG&gt;7&lt;/STRONG&gt;&lt;/FONT&gt;;z=&lt;FONT color="teal"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/FONT&gt;;a=&lt;FONT color="teal"&gt;&lt;STRONG&gt;7&lt;/STRONG&gt;&lt;/FONT&gt;;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="blue"&gt;output&lt;/FONT&gt;;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="navy"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;FONT color="black"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="navy"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;FONT color="black"&gt; cloud;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; row_id = &lt;FONT color="teal"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/FONT&gt;;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x=&lt;FONT color="teal"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/FONT&gt;;y=&lt;FONT color="teal"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/FONT&gt;;z=&lt;FONT color="teal"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/FONT&gt;;a=&lt;FONT color="teal"&gt;&lt;STRONG&gt;5&lt;/STRONG&gt;&lt;/FONT&gt;;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="blue"&gt;output&lt;/FONT&gt;;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; row_id = &lt;FONT color="teal"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/FONT&gt;;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x=&lt;FONT color="teal"&gt;&lt;STRONG&gt;6&lt;/STRONG&gt;&lt;/FONT&gt;;y=&lt;FONT color="teal"&gt;&lt;STRONG&gt;7&lt;/STRONG&gt;&lt;/FONT&gt;;z=&lt;FONT color="teal"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/FONT&gt;;a=&lt;FONT color="teal"&gt;&lt;STRONG&gt;7&lt;/STRONG&gt;&lt;/FONT&gt;;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="blue"&gt;output&lt;/FONT&gt;;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="navy"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;FONT color="black"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="navy"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;sql&lt;/STRONG&gt;&lt;FONT color="black"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="blue"&gt;create&lt;/FONT&gt; &lt;FONT color="blue"&gt;table&lt;/FONT&gt; diff &lt;FONT color="blue"&gt;as&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="blue"&gt;select&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f1.x, f2.x &lt;FONT color="blue"&gt;as&lt;/FONT&gt; x_cloud,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f1.y, f2.y &lt;FONT color="blue"&gt;as&lt;/FONT&gt; y_cloud,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f1.z, f2.z &lt;FONT color="blue"&gt;as&lt;/FONT&gt; z_cloud,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f1.a, f2.a &lt;FONT color="blue"&gt;as&lt;/FONT&gt; a_cloud&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="blue"&gt;from&lt;/FONT&gt; local f1&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="blue"&gt;inner&lt;/FONT&gt; &lt;FONT color="blue"&gt;join&lt;/FONT&gt; cloud f2&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="blue"&gt;on&lt;/FONT&gt; f1.row_id = f2.row_id&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="blue"&gt;where&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f1.x &amp;lt;&amp;gt; f2.x or&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f1.y &amp;lt;&amp;gt; f2.y or&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f1.z &amp;lt;&amp;gt; f2.z or&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f1.a &amp;lt;&amp;gt; f2.a ;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="navy"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;FONT color="black"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 08 Aug 2017 13:30:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/386251#M92476</guid>
      <dc:creator>JohnSAScom</dc:creator>
      <dc:date>2017-08-08T13:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: List all differences between two datasets in another dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/553955#M154082</link>
      <description>&lt;P&gt;i know this but i would like to compare each and every variable from both tables and conclude whether they are the same or changed&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 13:37:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/553955#M154082</guid>
      <dc:creator>Mjoli</dc:creator>
      <dc:date>2019-04-25T13:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: List all differences between two datasets in another dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/553968#M154091</link>
      <description>&lt;P&gt;Then try PROC COMPARE .&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 14:10:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/553968#M154091</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-04-25T14:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: List all differences between two datasets in another dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/668521#M200411</link>
      <description>Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/93263"&gt;@JohnSAScom&lt;/a&gt;,&lt;BR /&gt;Thanks for introducing such a wonderful method via proc sql. Could you please let us know what exactly does this &amp;lt;&amp;gt; mean ?</description>
      <pubDate>Sat, 11 Jul 2020 06:16:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/668521#M200411</guid>
      <dc:creator>sahoositaram555</dc:creator>
      <dc:date>2020-07-11T06:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: List all differences between two datasets in another dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/668539#M200421</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt; Could you please let us know what exactly does this &amp;lt;&amp;gt; mean ?&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;You haven't read the log after running the process have you?&lt;/P&gt;
&lt;P&gt;Always read the log.&lt;/P&gt;
&lt;P&gt;Even if there are no errors.&lt;/P&gt;
&lt;P&gt;Always.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jul 2020 11:22:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/668539#M200421</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-07-11T11:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: List all differences between two datasets in another dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/668743#M200512</link>
      <description>Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt; for your kind advice. I've got my answer .</description>
      <pubDate>Mon, 13 Jul 2020 05:33:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/List-all-differences-between-two-datasets-in-another-dataset/m-p/668743#M200512</guid>
      <dc:creator>sahoositaram555</dc:creator>
      <dc:date>2020-07-13T05:33:49Z</dc:date>
    </item>
  </channel>
</rss>

