请教大家一个问题:
我有一个数据集a如下:
data a;
input center $ scrono $ seqno weight height sbp subinit $;
cards;
1 001 1 60 170 140 abc
1 001 2 60 170 145 abc
1 002 1 55 165 137 efg
1 002 2 55 165 141 efg
..............................
;
run;
同时有一个Excel表,共2列
variables message
center center number
scrono patient number
seqno sequence number
svdat visit date
vshr heart rate
weight weight
height height
sbp sbp
....................
现在需要做的是,保留数据集a中的变量,其中保留的这些变量都在Excel表中variables 列出现过,
请教下各位如何实现,谢谢!