Ok, no automatic decompress for the IFS.  I'm guessing that it isn't a high 
priority w/IBM.    
 
Support line told me that there's a built in allocation for IFS files that 
could be removed via the minimize option (via properties, storage) but this has 
to be done by right clicking on each file and w/over 300K files that's not an 
option.  Support line says there's no way to change the default either, 
although there's 3 options w/the default being normal (minimize is another 
option).  
 
The IFSTOOLS doesn't seem to have a way to change the files either.  
 
I don't want to create another file but if one of these is going to compress 
and then allow me to decompress it'll have to do for now. 
 
Thanks for the options, 
 
Frank  
 
 
 
    
 
 
 
 
-----Original Message-----
From: midrange-l@xxxxxxxxxxxxxxxx
To: midrange-l@xxxxxxxxxxxx
Sent: Mon, 5 Mar 2007 1:08 PM
Subject: Re: Compress IFS Files


Hello Frank,

Hello, what do you think is the best way to compress IFS files?
Something like cprobj would be nice since I don't want to change
these files and they may be used again at some point.

The advantage that CPROBJ has over any IFS tool (that I can think of) is 
that CPROBJ will automatically decompress an object if the user tries to 
access it.  By contrast, you'd have to manually decompress an IFS file 
prior to accessing it.

There are a lot of ways to compress an IFS object.

a) The JAR command that you mentioned would work.  However, JAR also 
creates an archive in addition to compressing it.  And, by default, it 
adds a Java manifest to the object.

b) The "compress" tool in QShell

c) The gzip tool is arguably the most commonly used compression tool on 
Unix systems for this type of thing. (It provides better compression 
than the "compress" tool.) You can download gzip for QShell at the 
following link:
http://www-03.ibm.com/servers/enable/site/porting/iseries/overview/gnu_utilities.html

d) If you want even better compression, the bzip2 tool is also very 
commonly used on Unix systems.  In fact, you could argue that bzip2 is 
replacing gzip as the most popular one.  Though, in my experience, bzip2 
is much slower than gzip and only saves a few bytes...   It's available 
for PASE at the following link:
http://aixpdslib.seas.ucla.edu/packages/bzip2.html

e) If you want something compatible with PKZIP (which is really only 
useful if you want to exchange data with Windows computers, IMHO) 
there's also InfoZip, which is IMHO, much nicer than JAR.  You'll find 
InfoZip for PASE at the following links:
http://aixpdslib.seas.ucla.edu/packages/zip.html
http://aixpdslib.seas.ucla.edu/packages/unzip.html

This is probably only the tip of the iceberg, but I've tried to provide 
the most commonly used solutions for compressing stream files.  Hope 
they help...

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.