【sas Notel】merge
1 data merge_a; 2 input flight $ supervisor $; 3 datalines; 4 145 kang 5 150 miller 6 155 evanko 7 160 yale 8 ; 9 run; 10 data merge_b; 11 input flight $ destination $; 12 datalines; 13 145 brussels 14 150 paris 15 155 honolulu 16 ; 17 run; 18 data merged; 19 merge merge_a merge_b; 20 by flight; 21 run; 22 proc print data=merged; 23 run;