I am trying to merge two datasets, set one contains ID and location, set two contains customer information, including the same ID as set one. I have tried a couple different methods to try to do this, the most recent I have been trying is:
Data Work.merged;
merge Work.dataone (in = in1)
Work.datatwo (in = in2);
by id location;
if in1 and in2;
Run;
This is outputting a dataset 'merged' that contains 0 observations, SAS output no error or warning messages in log.
Thank you for any help!