The SAS Output Delivery System and reporting techniques

Proc Compare: Missing 'outdif' record

Reply
N/A
Posts: 0

Proc Compare: Missing 'outdif' record

Hello,

I am comparing two data sets using proc compare. I am outputing results to display all three recods (base, compare, dif). For some reason, some 'base' and 'compare' records have a matching ID, but there is no Dif record displayed. About half my population is showing a "Dif' record in the out file, but for others is not. Can anyone offer any explanation as why this may be occuring. note: Data is sorted before compare.

proc compare base=in.data_1 compare=in.data_2
outbase outcomp outdif out=out.data_3

id ID;
N/A
Posts: 0

Re: Proc Compare: Missing 'outdif' record

Try using OUTALL instead of outbase outcomp outdif
Ask a Question
Discussion stats
  • 1 reply
  • 155 views
  • 0 likes
  • 1 in conversation