wwang111 发表于 2017-3-20 18:31 
proc sql;
create table endpoint as
select name, min(catx('-',year,qtr)) as start, max(catx('-',y ...
谢谢 这段是什么意思呢 没大看懂
data wanted;
set allclass;
do i=1 to nobs;
set endpoint(rename=(name=name1)) point=i nobs=nobs;
if name=name1 and time>=start and time<=stop then output;
end;
drop name1 time start stop;
run;