![Check that a SAS data set exists (and other data maintenance tips)](https://blogs.sas.com/content/iml/files/2011/08/t_exists.png)
In Base SAS you can use the DATASETS procedure to determine the SAS data sets in a library, and you can use the DELETE statement to delete data sets. Did you know that you can do the same operations from within the SAS/IML language? The following DATA step creates four