BookmarkSubscribeRSS Feed
Yuriy2301
Calcite | Level 5
Hi all,
So proc compare produce few reports.
Using , for example, novalues option we can exclude reports with data comparing results for fields with different values...
So I need to exclude also report with observations summary (it goes third after report with title:"listing of common variables with different attributes").
So in the end I need only first two sub-reports, from all reports which can generate proc compare.
example of proc compare which return first three reports:
proc compare base=dset1
compare=dset2
novalues;
run;

Thanks! Message was edited by: Yuriy2301
2 REPLIES 2
Ksharp
Super User
Hi.
You can use 'ods exclude' statement to exclude the sup-report you want.
Using 'ods trace on' to view the name of "Observations summury" sub-report.
You can find some 'ods' example at this forum.


Ksharp

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1170 views
  • 0 likes
  • 2 in conversation