<?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 how to generate a new dataset after proc compare in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/how-to-generate-a-new-dataset-after-proc-compare/m-p/282422#M59174</link>
    <description>&lt;P&gt;after merging, with proc sql, different selection generate different numbers of obs&lt;/P&gt;&lt;P&gt;i want to compare the difference of these two datasets, i would prefer to have a new dataset, such as out=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc compare base=emp95_byidnum compare=emp96_byidnum
             out=result outnoequal outbase outcomp outdif
     noprint;
   id idnum;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;it seems that noprint option does not work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any advice, i do not want to compare the difference of these variables, but really want to see different obs whether they have any differences in dates (two variables, dayin and dayout) only&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2016 13:49:54 GMT</pubDate>
    <dc:creator>Bal23</dc:creator>
    <dc:date>2016-07-06T13:49:54Z</dc:date>
    <item>
      <title>how to generate a new dataset after proc compare</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-generate-a-new-dataset-after-proc-compare/m-p/282422#M59174</link>
      <description>&lt;P&gt;after merging, with proc sql, different selection generate different numbers of obs&lt;/P&gt;&lt;P&gt;i want to compare the difference of these two datasets, i would prefer to have a new dataset, such as out=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc compare base=emp95_byidnum compare=emp96_byidnum
             out=result outnoequal outbase outcomp outdif
     noprint;
   id idnum;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;it seems that noprint option does not work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any advice, i do not want to compare the difference of these variables, but really want to see different obs whether they have any differences in dates (two variables, dayin and dayout) only&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 13:49:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-generate-a-new-dataset-after-proc-compare/m-p/282422#M59174</guid>
      <dc:creator>Bal23</dc:creator>
      <dc:date>2016-07-06T13:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to generate a new dataset after proc compare</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-generate-a-new-dataset-after-proc-compare/m-p/282448#M59175</link>
      <description>&lt;P&gt;Please describe what you mean by "noprint option does not work". Since the example code you show is from the online documentation if you create the datasets for the example there is no printed output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide an example of some input data sets, preferrably as datastep code, and what you desire for the output.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2016 15:11:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-generate-a-new-dataset-after-proc-compare/m-p/282448#M59175</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-07-06T15:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to generate a new dataset after proc compare</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-generate-a-new-dataset-after-proc-compare/m-p/282660#M59199</link>
      <description>&lt;P&gt;When used with the TRANSPOSE &lt;A title="Unix Shell Scripting Training" href="https://www.gangboard.com/app-programming-scripting-training/unix-shell-scripting-training" target="_blank"&gt;option&lt;/A&gt;, ALLVARS displays unequal values in context with the values for other matching variables. If you omit the TRANSPOSE option, then ALLVARS invokes the ALLOBS option and displays the values for all matching observations and variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="Unix Shell Scripting Training" href="https://www.gangboard.com/app-programming-scripting-training/unix-shell-scripting-training" target="_blank"&gt;Unix Shell Scripting Training&lt;/A&gt;&amp;nbsp;| &lt;A title="Angularjs Training Training" href="https://www.gangboard.com/app-programming-scripting-training/angularjs-training" target="_blank"&gt;Angularjs Training Training&lt;/A&gt;&amp;nbsp;| &lt;A title="Informatica Training" href="https://www.gangboard.com/etl-training/informatica-training" target="_blank"&gt;Informatica Training&lt;/A&gt;&amp;nbsp;| &lt;A title="Tableau Training" href="https://www.gangboard.com/business-intelligence-training/tableau-training" target="_blank"&gt;Tableau Training&lt;/A&gt;&amp;nbsp;| &lt;A title="Hadoop Training" href="https://www.gangboard.com/big-data-training/hadoop-training" target="_blank"&gt;Hadoop Training&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 11:39:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-generate-a-new-dataset-after-proc-compare/m-p/282660#M59199</guid>
      <dc:creator>kitharington</dc:creator>
      <dc:date>2016-07-07T11:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to generate a new dataset after proc compare</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-generate-a-new-dataset-after-proc-compare/m-p/282675#M59200</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc transpose data=toprint out=transp;
by unique _obs_;
id _type_;
run;
proc print data=transp(where=(base^=compare));
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;i saw the similar one online. actually i only it lists obs with their ids&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;should i modify as&lt;/P&gt;&lt;P&gt;id id?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 13:16:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-generate-a-new-dataset-after-proc-compare/m-p/282675#M59200</guid>
      <dc:creator>Bal23</dc:creator>
      <dc:date>2016-07-07T13:16:54Z</dc:date>
    </item>
  </channel>
</rss>

