|
On Friday 26 July 2002 7:20 am, Orr, Rod wrote: > I'm looking for OS/400 freeware to zip IFS files and can run in batch > mode. Have looked at GZIP and ZLIB programs for OS/400 but they don't > handle requirements for batch > Also looked at IBM developer tools > > Need: > > callable from ILE CL/RPG with return code parameter ( or OS400 > messaging) no interactive requirements (printf scanf etc) > v. basic zip functions (just name of zip file and name of file(s) to > add) prefer multiple files in zip file > compatible to PC zip pgms > preferably an unzip function (pgm or option) > preferably compatible with V4R3 upwards > > Rod Orr Does QSH CMD('jar -cfM myzip.zip file1 file2 file3') not do the trick for you? I use it in batch to create zip files of reports for email distribution to Windows users, and it works fine. Start a QShell session and just type jar to get the list of the options & syntax. Regards, Martin -- martin@dbg400.net jamaro@firstlinux.net http://www.dbg400.net /"\ DBG/400 - DataBase Generation utilities - AS/400 / iSeries Open \ / Source free test environment tools and others (file/spool/misc) X Debian GNU/Linux | ASCII Ribbon Campaign against HTML mail & news / \
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.