One of the benefits of using PROC DELETE instead of the DELETE statement in the
DATASETS procedure is that it does not use the in-memory directory to delete SAS
data sets.
The DELETE procedure produces no printed output. As a result, the DELETE procedure
is faster.
Syntax: DELETE Procedure
Tip:You can perform similar functions with the DELETE statement in the DATASETS
procedure.
PROC DELETE DATA=SAS-file(s) <option(s)>;
StatementTaskExample
PROC DELETEDelete SAS files from SAS librariesEx. 1, Ex. 2,
Ex. 3, Ex. 4,
Ex. 5
PROC DELETE Statement
Deletes SAS files from SAS libraries.
Syntax
PROC DELETE<LIBRARY=libref>DATA=
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.