On Tue, 20 Nov 2018 13:36:56 +0000, Sankaranarayanan, Vignesh 
<[email protected]> 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.

Not sure if there is a utility…

Attached is a little Java program I did years ago for exactly that purpose. It 
uses the excellent jzos for reading just about any type of dataset or file.

Should be easy enough to amend it to use some stronger hash than the MD5 I used 
way back when...

Cheers,

Jantje.




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

Reply via email to