DATA Step, Macro, Functions and more

PROC COMPARE

Reply
Occasional Contributor
Posts: 8

PROC COMPARE

Hi all,

I need your help ! !

I have 2 identical data step and i want to compare the values of each variables for each observations. When a value for an observation is different between the base data set and the second dataset, i would like to insert this observation in a third data set with the value of the second data set.

I know that the proc compare can compare 2 data set, but i don't know how insert the values when a difference is meet.

Thank you

Darth
Super Contributor
Posts: 359

Re: PROC COMPARE

Look into the OUT = and OUTDIFF options.
Occasional Contributor
Posts: 8

Re: PROC COMPARE

ok thanks Flip......i am so noob.
Occasional Contributor
Posts: 8

Re: PROC COMPARE

ok thanks Flip......i am so noob.
Ask a Question
Discussion stats
  • 3 replies
  • 139 views
  • 0 likes
  • 2 in conversation