On 2022-04-26 18:30 PM, Charles Mills wrote:
Is there any z/OS utility that will give a hash of a (traditional,
old-fashioned) load module in a PDS?

Specifically what I am trying to do is answer the question "is load module X
in PDS Y.Z on box A binary equal to load module X in PDS Y.Z on box B?"
without copying and comparing. I suspect the BLKSIZEs are the same so that
may make the task easier (or prevent false negatives).

I'd want an IBM-included utility because if I have to install a CBT utility
I might just as well do the copy and compare. A UNIX utility is suitable if
it will handle a PDS load module.

Charles

Have a look in the z/OS UNIX System Services Command Reference (June 2020 refresh or newer). A set of hash utilities has been added, and they can work with classic sequential, PDS and PDSE data sets. Check the dependency note in the description of each utility to ensure you can meet the requirements.

Here's a trivial example:

> sha256 "//'SYS1.LPALIB(IEFBR14)'"
SHA256 (//'SYS1.LPALIB(IEFBR14)') = ec62f77b12bf26b56ce14148ff5efd43da5732951b9392afd85a3cdc4abfc5f7

--

--

Regards, Gord Tomlin
Action Software International
(a division of Mazda Computer Corporation)
Tel: (905) 470-7113, Fax: (905) 470-6507
Support: https://actionsoftware.com/support/

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to