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.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.