- Proc datasets library=work kill nolist;
- quit;
- proc import out = have
- datafile = "D:\日常练习\xiaocgn\data.xlsx"
- dbms = excel replace;
- run;
- data want;
- set have;
- retain temp 0;
- temp+sum;
- if 90<temp<110 then do;
- output;
- temp=0;
- end;
- run;
不知道是不是这个意思,大概是利用retain去实现


雷达卡




京公网安备 11010802022788号







