I'm looking for one process to zip and one to unzip files using SAS programming. The trick is that I need to maintain the original file creation date for each file that is zipped/unzipped (ie, not the date of zipping/unzipping).
I have tried ODS PACKAGE and FILENAME ZIP, but neither of these maintained the file date (although maybe there is some sort of special way to set it up that would allow me to do so).
Any help is much appreciated.
Thanks!
Proper tools like gzip do that. Use them. You'll save lots of effort wasted while reinventing the wheel.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.