BookmarkSubscribeRSS Feed
deleted_user
Not applicable
i am comparing two sas data set A and B. like

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

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.
1 REPLY 1
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
You will want to review the SAS PROC COMPARE options. The SAS support website http://support.sas.com/ has a wealth of technical papers and SAS-hosted documentation on this topic.

Scott Barry
SBBWorks, Inc.

SAS PROC COMPARE documentation:

http://support.sas.com/onlinedoc/913/getDoc/en/proc.hlp/a000057814.htm

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 659 views
  • 0 likes
  • 2 in conversation