Help using Base SAS procedures

Proc compare.Exclude "Observations summury" sub-report from reports list.

Reply
Contributor
Posts: 26

Proc compare.Exclude "Observations summury" sub-report from reports list.

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
Super User
Posts: 10,028

Re: Proc compare.Exclude "Observations summury" sub-report from reports list.

Posted in reply to Yuriy2301
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
Contributor
Posts: 26

Re: Proc compare.Exclude "Observations summury" sub-report from reports list.

Thanks,
you are right!
Ask a Question
Discussion stats
  • 2 replies
  • 149 views
  • 0 likes
  • 2 in conversation