On Tue, 20 Nov 2018 09:09:00 -0500, John Eells wrote:

>There is a Java class you can use (if you have Java) and an ICSF service
>you can use (requires ICSF setup).
> 
o SAMPLIB has Rexx samples that may be useful

o SMP/E uses a Java interface.  Turning on tracing (in the CLIENT data set, 
IIRC)
  may show how it does it.

o MD5 is deprecated as too weak for security.  It's probably adequate for 
finding
  accidental transmission errors, as is good old /bin/cksum.

o Linux has sha1sum,  sha224sum(1), sha256sum(1), sha384sum(1), and
  sha512sum(1).

o You can extract a (weak) checksum in place with z/OS:
      cp -B "//'data.set.name'" /dev/fd/2 | cksum

>Sankaranarayanan, Vignesh wrote:
>>
>> Is there any utility for z/OS that lets us create SHA1 or MD5 or some such 
>> hash/fingerprint of a dataset or USS file.
>> The use case is to compare these hashes at source (z/OS) and destination 
>> (linux) after transferring some sizable datasets.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to