× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I agree that jar doesn't always give the smallest result. 7Zip is available for IBM i - I don't remember if it's a cost item, though.

We happen to have a zip command in QShell on our machines - it's Info-Zip - I don't know if we bought it.

There is a programmer's toolkit from IBM that may have zip/unzip - 5733-PTL is the ID, IIRC. It's free - and there's a downloadable set of utilities that has maybe yet another version.

For some reason I seem to recall an option - number from 0-9 - that controlled the level of compression - but it's been several years and I am not sure.

HTH
Vern

On 2/10/2016 2:28 PM, Justin Dearing wrote:
Rich,

If I may go on a slight tangent.

Not all zip file compressors are created equal, and I would expect (but
never tested) that jar does not create the smallest possible zip binaries.
It probably has the advantage of being the most likely thing to be
installed on an IBM i that can create zip files.

If you want to make the smallest zip files possible, 7zip is the way to go.
7zip can make regular zip files that windows and OSX have built in support
for opening as well as its own 7z format. There are AIX binaries here
http://www.perzl.org/aix/index.php?n=Main.P7zip

tldr; install p7zip above, make the zip files from QSH with that, and you
will get smaller zip files than the jar program.

Justin

On Wed, Feb 10, 2016 at 3:07 PM Kevin Bucknum <Kevin@xxxxxxxxxxxxxxxxxxx>
wrote:

JAR is a java file format, and a tool to create that file format. You
will need one of the java versions installed to use it. As for
documentation, the Oracle docs are probably the best.
https://docs.oracle.com/javase/tutorial/deployment/jar/basicsindex.html





Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Rich Loeber
Sent: Wednesday, February 10, 2016 1:58 PM
To: Midrange Systems Technical Discussion
Subject: QSHELL JAR Documentation


I just found a nice article in the Midrange Archives about how to zip
an
IFS file using the STRQSH command with JAR. I'm trying to find
documentation for the JAR function to better understand how this
works and
what IBM i OS features need to be installed in order to support it.

Does anyone have any documentation on how this works?

I'm not finding much at the IBM Knowledge Center.

Rich Loeber - @richloeber
Kisco Information Systems
[1]http://www.kisco.com

References

Visible links
1. http://www.kisco.com/
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.