***********************************************************; * This code merges Release 2 Total Nutrient Intakes *; * with the release 1 Exam file *; * *; * 1. Run EXAM.SAS from release 1/1a changing *; * "DATA WORK" to "DATA EXAM" *; * *; * 2. Run EXAMDR.SAS from release 2a changing *; * "DATA WORK" to "DATA EXAMDR" *; * *; * 3. Run this program *; ***********************************************************; PROC SORT DATA=EXAM; BY SEQN; RUN; PROC SORT DATA=EXAMDR; BY SEQN; RUN; DATA EXAM2; MERGE EXAM(DROP=DRP:) EXAMDR; BY SEQN; RUN;