开发者

Deleting all datasets in a library

This probably has a really simple answer. How would I go about deleting all the datasets in a library? I did something like

proc datasets library=lib;
  开发者_运维问答 delete _all_;
quit;

but that just tries to delete the dataset called _all_. Do I have to manually list all the datasets in the delete command?


Use the kill option in the proc dataset to delete all files in a library.

proc datasets library=lib kill;
run;
quit;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜