How to do Matched Merge and output consisting of observations from only file1?
data readin;
merge file1(in=infile1)file2(in=infile2);
by id;
if infile1;
run;