you can use this code to create a macro variable that determines if the dataset is nil :
- proc sql noprint;
- select count(*) into :obs_count from dataset1;
- quit;
- %if (&obs_count ne 0) %then %do;
- ..........your code here
- %end;
|
楼主: 陶然
|
5648
11
请教:判断导入后的数据集为空集,然后跳出该步循环? |
|
已卖:6份资源 讲师 82%
-
|
1论坛币
最佳答案 | |
|
|
| ||
| ||
| ||
加好友,备注cda京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


