|
Does anyone know if there is a product that will zip and unzip files on the iSeries using something like winzip does for windows?
A Japanese programmer who calls himself Uzaemon has a ZLIB tool has a CL command that makes ZIPs, it's freeware:
http://homepage1.nifty.com/uzaemon/The InfoZip product that's normally used on Linux/Unix systems works very nicely in PASE. This is what I use, and it has worked very nicely for me. I wrote a little article about it at the following link (requires a membership to SystemiNetwork.com, but a free "Associate" membership works)
http://www.systeminetwork.com/article.cfm?id=52084You can use the JAR utility that comes with Java to zip and unzip files, since JAR and ZIP use the same file format. If you're at all serious about this, I recommend that you don't use the JAR approach, because it doesn't support all of the features that ZIP does (such as encryption, for example) and it's very slow.
If you search the archives, you should find some JAR examples, I know I've written them, I just don't know when or where :)
There's also commercial software from PKWARE, and I haven't tried it, but I've used their MS-DOS tools and they were very good. http://www.pkware.com/business_and_developers/compression/iseries/
Also, every time this question gets asked (this is a FAQ) someone suggests GNU Zip (or "gzip"). This is a good alternative in some situations, howevever, some cautions about this idea: (a) gzip is purely compression, it's not an archive format. In other words, you can't use it to store several combined files in on archive file. All it does is take an existing file and make it smaller. (b) gzip is not the same thing as a "ZIP" file that's ubiquitos on Windows systems. GZIP files end in .GZ *NOT* .,ZIP, and the two are not compatible. (Though, there are a few "all-in-one" software packages, WinZip is an example, that support both formats and that sometimes confuses people into thinking that they're the same... but they're not).
Don't get me wrong, gzip is a wonderful, wonderful tool. My only complaint is that people confuse it with .ZIP files commonly used on Windows systems, and it's not the same thing. Gzip is extremely common on Unix and Linux systems, but unusual on Windows systems.
IBM has a (free) download of gzip and other GNU utilities for iSeries at the following link:
http://www.ibm.com/servers/enable/site/porting/iseries/overview/gnu_utilities.html
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.