开发者

Deleting all datasets in a library

开发者 https://www.devze.com 2023-03-19 08:04 出处:网络
This probably has a really simple answer. How would I go about deleting all the datasets in a library? I did something like

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

精彩评论

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