Desktop productivity for business analysts and programmers

Proc Compare

Not applicable
Posts: 0

Proc Compare

i am comparing two sas data set A and B. like

proc compare base = lib.A compare = lib.B out=lib.c;

On running this proc step in C data set i get all columns name.

i don't want this.

i want to store the name of those columns whose value is not equal, in data set C.
Super Contributor
Super Contributor
Posts: 3,176

Re: Proc Compare

Posted in reply to deleted_user
You will want to review the SAS PROC COMPARE options. The SAS support website has a wealth of technical papers and SAS-hosted documentation on this topic.

Scott Barry
SBBWorks, Inc.

SAS PROC COMPARE documentation:
Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation