求教一个关于index的问题
data a(index=(id/unique));input id $3. map;
cards;
001 443
002 156
003 4259
004 643
005 1056
006 4590
;
run;
data b;
id='002';
set a key=id/unique;
stop;
run;
上面的code首先是建立index ID,然后用index ID去寻找一个record (ID='002'),想得到dataset b (ID='002' MAP=156)但没有成功.
请问我为何得不到dataset b? 如何修改?
谢谢!
data b;
set a;
where id='002';
run; BioSas 发表于 2016-5-18 00:10
data b;
set a;
where id='002';
my question is about 'index' usage, not the query itself.
but thanks a lot!
页:
[1]