hello,
I would like to identify the name and the version of ZIP UTILITIES( 7z, winzip, gzip, ...) used by sas under unix .
Thank you. an other means, I want to identify the zip utilities used by my sas under unix to zip
I don't think your question makes sense as phrased.
SAS can interact with any of the zip utilities IF system commands are allowed, the application is installed and the application can be run via command line. This is true of any application/utility not just zip utilities.
For the ZIP methods within SAS, for example FILENAME ZIP, the SAS 9.4 documentation states that it only can work with files from WinZip.
Thank you for your answer.
That's very kind from.
I know well that sas, can create a .zip file.
I hope to be crear, my question is not about the creation of .zip file, it is about the identification of zip utilities used by sas to zip
How can I know, If my sas use gzip or other ? , and the version used ?
Contact tech support, but I dont believe it uses an external program. The tool/utility is built into SAS. The format of files is the WinZip format.
Thank you.
That's very intersting as answer.
It means that, if I used in sas program the functions "zip or unzip" in sas 9.2 or other version , I can use only the WinZip fomat ?
Whatever zip programs you have available, you could call from SAS. For example within a SAS program:
%sysexec gzip /path/to/some/file;
If it would work as a Unix command, %SYSEXEC lets you execute that command from a SAS program.
Thank you, but I am not going to zip.
I want to identify the zip utility used in sas ( if it is gzip, zip, 7zip, .....) or could be used ?
@LineMoon wrote:
Thank you, but I am not going to zip.
I want to identify the zip utility used in sas ( if it is gzip, zip, 7zip, .....) or could be used ?
No external utility is used. The LZW compression algorithm used in UNIX compress is public domain since 2003, and the algorithms of gzip are open source from the beginning. Therefore it is quite easy to incorporate those in software (as long as one follows the principles of the GPL if such code is used)
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.