Use the FILENAME statement with the appropriate DISP= parameter. Also you can do the same with the SAS DATA step FDELETE function. Have a look at the SAS support http://support.sas.com/ website and the SAS-hosted documentation for details.
Scott Barry
SBBWorks, Inc.
Catch up on SAS Innovate 2026
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.