Use %SYSEXEC COPY in conjunction with macros and the data step in order to copy selected files (including non-SAS files) from one directory to another.
Thanks to Louise Hadden for this tip. Read more details in this paper from WUSS 2017: Get Smart Eliminate Kaos and Stay in Control Creating a Complex Directory Structure with the DLCREAT....
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.
Register now!