Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: Fujitsu NetCOBOL for .NET
> So, looks like to me, in the extreme cases, zipping a file/record results in
> LARGER chunks than the original.

You say 'file/record' as if they are the same thing, but they are not.

'zip' is a file archiver that includes the ability to compress the data
files that it archives. Because it is an archiver then the zip file
will contain headers that describe the file with all the naming
information, dates, sizes etc and then will have the file data.  This
is a file archive.  When compression is used the file data blocks take
up less space (usually) than the file itself does.

If you were to use a file compressor that was _not_ a file archiver,
such as Unix compress, or GNU's gzip, then the resulting compressed
file is smaller than the original because it does not include all the
directory and archiving information that zip adds.

for example:
> ls -al xyz
-rw-r--r--    1 riplin   riplin         96 Jan 21 07:31 xyz
> gzip xyz
> ls -al xyz
-rw-r--r--    1 riplin   riplin         66 Jan 21 07:31 xyz.gz

When compressing a record one is not archiving a file, so the file
header information is not needed, just the result of compressing the
data area.

In other words the zip program is not the correct tool for the job of
showing how record compression may or may not work.


Report this thread to moderator Post Follow-up to this message
Old Post
Richard
01-21-06 02:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 08:08 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.