Deletes multiple data sets named X1, X2, X3, X4, and X5. To use the list feature, the
data sets must have the same name and end with a numeric suffix. If a LIBRARY=
option is not specified, the data sets are deleted from the Work library.
proc delete data=X1-X5;
run;
Example 10: Using the LIBRARY= Option
Features:PROC DELETE statement options
DATA=
LIB=
Details
The following statement deletes a data set from a specific SAS library.
Program
proc delete lib=MyLib data=A;
run;
Program Description
Deletes the A data set that is in the specified SAS library named MyLib. The alias
for the LIBRARY= option is LIB=.
proc delete lib=MyLib data=A; ...
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.