The DATA= option on the PROC DELETE statement will accept numerical suffixed datasets lists, like have1-have3 , but not lists using the colon suffix wildcard, like have: . Can we enhance PROC DELETE to allow the use of dataset name lists defined by using the colon wildcard. Note that the DELETE statement in PROC DATASETS does support dataset name lists made using colon suffix.
See this thread: https://communities.sas.com/t5/SAS-Programming/How-to-drop-tables-with-same-prefix-witout-a-cicle/td...