Paul, modern "plastic" plumbing supports both CRC and the MD5 digest
functions, but that's not an option for you.....

I've got a Rexx-callable MD5 routine I'd be happy to share with the
list. Maybe Phil could incorporate it into his MAILABLE somehow.

Have a good one.

On 05/15/2010 10:53 PM, Paul Gilmartin wrote:
On May 15, 2010, at 21:43, Ackerman, Alan wrote:

This is silly. There must be a million different ways a file could be
corrupted in transit, and not detected by 'unpack'. UNPACK simply wasn't
designed to detect file corruption in transit. You should use a CRC hash
or something like that to detect corruption in transit.

I mostly agree.  PACK/UNPACK were designed for a reliable repository
such as local DASD.  I (and many of the followups) are targeting an
anecdote.  But lacking other tools, one of the questions tech support
asks early is, "How many bytes in the file?"

In fact, I'm supplying an MD5 checksum with the archive.  But I know
of no facility in base CMS to verify either CRC or MD5.  Does MAILABLE
provide any such verification?


-----Original Message-----

That gives no report of a corrupted file; it quietly pretends it's OK.
It's effective if the only mechanism by which a file gets corrupted is
by having a few characters added at the end ("the problem at hand").
But what if a few characters were deleted, or added at the beginning?

Not the way I like to work.

-- gil

--
Dave Jones
V/Soft
www.vsoft-software.com
Houston, TX
281.578.7544

Reply via email to