|
Re: Merging individual record to couples record [message #13412 is a reply to message #13334] |
Thu, 02 November 2017 15:31 |
Bridgette-DHS
Messages: 3215 Registered: February 2013
|
Senior Member |
|
|
Following is a response from DHS Senior Sampling Specialist, Mahmoud Elkasabi:
Below is the needed SAS code
data MWIR;
set 'C:\Users\......................\MWIR7HFL.sas7bdat';
RUN;
proc sort data=MWIR;
by V001 V002 V003; run;
data MWCR;
set 'C:\Users\.......................\MWCR7HFL.sas7bdat';
RUN;
proc sort data=MWCR;
by V001 V002 V003; run;
Data MWMI;
merge MWIR MWCR;
by V001 V002 V003;
run;
|
|
|