View Full Version : Zip/Unzip now, don't wait for 7.1
perotti@easy400.net
01-11-2012, 08:16 AM
You may have heard of the new zip file APIs - QZipZip and QZipUnzip - that IBM added to IBM i 7.1.
We have been dealing with IBM i capability to perform Zip and Unzip since 5.2.
Therefore, while waiting for 7.1, install our free stuff and go zipping now:
http://www.easy400.net/zip/html/page1.htm
Giovanni B. Perotti
tim1963
03-05-2012, 08:29 AM
Or you can download a free copy of Arpeggio's zip and unzip software. It supports zip, tar, jar, gzip and bzip as well as encrypted files and archives - both zip and AES. It's native, command driven and is backward compatible to V5R3.
www.arpeggiosoftware.com/arpzip
Regards,
Tim
DaleB63
03-23-2012, 09:02 AM
Giovanni has written a friendly interface, but you can just use QShell's jar utility as is. is a .zip file; just has a different extension.] Some simple examples:
Creation of zip: QSH CMD('cd /home/blah;jar cMf XXX.ZIP xxx.CSV')
Unzip: QSH CMD('cd /home/blah;jar xf XXX.ZIP')
See http://docs.oracle.com/javase/1.5.0/docs/tooldocs/windows/jar.html for description of jar parameters, with examples.
Also, note that QSH does not copy current directory, so cd lets you get around having to put full paths on all of the files (or you could write a script and QSH the script instead).
tslateone
04-05-2012, 06:05 AM
Free is fine but those not using built-in OS tools (QShell) should indicate exactly what it is that someone is getting. Most of these simply wrap around already existing free tools available for PASE, such as 7-zip. A little honesty never hurt, in other words it really isn't the vendors tool but an open-sourced product. That should be stated clearly.
tim1963
04-09-2012, 11:49 AM
Is the implication that someone is trying to hide something? As far as the Arpeggio tool is concerned it is our tool and it isn't just a "wrapper". It does contain some open source, namely ZLIB that we ported to the i (not PASE), and a lot of our code. ZLIB is an open source library but it isn't a product. Credits to the relevant authors are duly given in the product doc.
Free is fine but those not using built-in OS tools (QShell) should indicate exactly what it is that someone is getting. Most of these simply wrap around already existing free tools available for PASE, such as 7-zip. A little honesty never hurt, in other words it really isn't the vendors tool but an open-sourced product. That should be stated clearly.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.