And second, I had not shown how to add a new file to an existing ZIP archive - though it turns out that's pretty simple. First, in order to add a data set to a ZIP file, you have to know its physical filename - not just the LIBNAME.MEMBER reference that you use in SAS procedure steps. It's a variation of a tip that I've already shared, but with two differences. How to create and update ZIP files with FILENAME ZIP (SAS 9.4 and later)īut a customer approached me the other day with one scenario I missed: how to add SAS data sets to an existing ZIP file.How to "unzip" and read ZIP files using FILENAME ZIP (SAS 9.4 and later).How to create ZIP files with ODS PACKAGE ZIP (available since SAS 9.2).In previous articles, I've shared tips about how you can work with SAS and ZIP files without requiring an external tool like WinZip, gzip, or 7-Zip.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |