How to delete datasets in SAS using PROC DATASETS

Deleting all temporary datasets:

proc datasets library = work kill nolist;
quit;

Deleting specific datasets in the temp directory:

proc datasets;
delete kaz1 estes diminfo concon FITSTAT hlm1;
run;

Leave a Reply