data rst3;
set rst2;
b=ceil(_n_/5);
run;
data rst4;
set rst3;
by b;
if last.b then do;call missing(of _all_);output;end;
else output;
run;

|
楼主: hyb971006
|
1240
1
[学习分享] 隔5行插入一个空行 |
|
本科生 92%
-
|
回帖推荐l1i2n3i4n5g 发表于2楼 查看完整内容 data test;
set sashelp.class;
output;
if mod(_n_,5)=0 then do;
call missing(of _all_);
output;
end;
run;
| ||
|
|
| ||
加好友,备注cda京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


