OTOH as gzip is available for AS/400 but the format is not compatible
with zip, is it possible to make a zip file from a .gz file? For my
requirements it is only necessary that the zip file contains one single
compressed file.
Peter
Peter Sawatzki <Pe...@Sawatzki.de> wrote:
> Is there a *free* ZIP utility available for the AS/400 ? I know that I
> can create jar files with AS/400 jar from QSH or CL by starting QSH with
> a command line, but this is not a native solution as it invokes Java and
> I have the feeling that this is slow (although it is a working
> solution).
AFAIK ... there is not *free* ZIP util.
> OTOH as gzip is available for AS/400 but the format is not compatible
> with zip, is it possible to make a zip file from a .gz file? For my
> requirements it is only necessary that the zip file contains one single
> compressed file.
Well ... I you GZIP quite often ... it's easy, fast, and every WinZIP user
can open the GZIP file without any problem. And if you need a command line
util, there are also GZIP ports for Windows, VMS, ... and of course all *nix
clones.
HTH and Bye
Daniel
"Peter Sawatzki" <Pe...@Sawatzki.de> wrote in message
news:MPG.16b371667...@news.btx.dtag.de...
I was aware of for example winzip beeing able to read gzip files. The
problem is that the files I intend to make will be sent via EMail
directly from the AS/400 to many clients and certainly most of them will
be able to unpack .gz files with WinZip, but I was searching for a more
general solution. Browsing through the gzip sources one can find a "-k"
parameter that is disabled but commented with "force PKZIP compatible
output", so I thought maybe someone has completed this work already.
Thanks
Peter
In article <a2c36l$lc0$07$1...@news.t-online.com>, dgr...@gmx.net says...
FWIW, most of the actual zip logic in Java is written in C. Not that
Java is that inefficient -- it's mainly the startup cost that will hurt.
--
Dan Hicks
Live a balanced life - Learn some and think some, and draw and paint and
sing and dance and play and work every day some. --Robert Fulghum
"Daniel Gross" <dgr...@gmx.net> wrote in message
news:a2c36l$lc0$07$1...@news.t-online.com...
Regards
Stig
On Sat, 19 Jan 2002 12:05:55 +0100, Peter Sawatzki <Pe...@Sawatzki.de>
wrote:
Best regards
Stig Norre
System Consultant
Peter
In article <yRn28.2246$dx.4...@news2.ulv.nextra.no>, NO-kjetil.SPAM-
lar...@as.online.no says...
OTOH I just found a link on IBM's website to zlib (this is the library
that is used in info-zip und gzip) and there seems to be a port of zlib
for AS/400 that also contains minizip and miniunzip, this is just what I
was looking for. The IBM website that links to it is
http://www.as400.ibm.com/developer/factory/porting/faq_ile.html
and the zlib/AS/400 website mentioned there is
http://homepage1.nifty.com/uzaemon/#download
But one has to recompile this with ILEC. I will try this.
I guess the minunzip/minizip variants are the versions form winimage.com
http://www.winimage.com/zLibDll/unzip.html
In article <3c4a9991...@news.tele.dk>, st...@at400.dk says...
zip
You can zip (compress) files by program 'minizip'. Call the program
without parameter to show usage.
> CALL PGM(MINIZIP)
Usage : minizip [-o] file.zip [files_to_add]
If you want to compress multiple files, list them after zip file name.
To overwrite existing zip file, specify '-o'. Extention (.zip) of zip
file is optional.
> CALL PGM(MINIZIP) PARM('-o' '/tmp/test' '/tmp/2847.txt' '/tmp/2849.txt')
creating /tmp/test.zip
Peter
In article <MPG.16b4d83f9...@news.btx.dtag.de>,
Pe...@Sawatzki.de says...
Peter
In article <MPG.16b4d8bd5...@news.btx.dtag.de>,
Pe...@Sawatzki.de says...
Peter Sawatzki <Pe...@Sawatzki.de> wrote:
> will be able to unpack .gz files with WinZip, but I was searching for a
> more general solution. Browsing through the gzip sources one can find a
OK - but GZIP is GNU FreeWare (or more up-to-date Opensource Software) - so
why are you searching for a "more general" solution - freeware ist the most
general solution for this problem.
Bye
Daniel
I was searching for a solution that all my clients can read. Zip is the
standard, not .gz, period. I finally found in the minizip exactly what I
was looking for: a simple zip program that is free and works on the
AS/400.
Thanks for your thoughts,
Peter
In article <a2i4rf$hr0$05$1...@news.t-online.com>, dgr...@gmx.net says...