For your last resort, I found a Java program for this, that I have briefly 
tested on Linux and Windows.

At this website:
http://www.rgagnon.com/howto.html

Click on Security, then click on "Create a checksum"

Copy and paste the program to your editor.

Change this line:
    System.out.println(getMD5Checksum("apache-tomcat-5.5.17.exe"));

to this:
    System.out.println(getMD5Checksum(args[0])+"  "+args[0]);

Save as MD5Checksum.java

Compile
javac MD5Checksum.java

It will work kind of like md5sum, but only one file per run.
java MD5Checksum file_name 

Bill

On Wed, 23 Nov 2011 00:28:16 +0530, N wrote:
>I wanted to use Java (http://code.google.com/p/guava-libraries/) as a last
>resort. So, perhaps REXX calling CSNBOWH is the option to go.
>
>If only md5um were also available as ported tools, it would have served my
>purpose of checking the sums also.
>
>SMOP...I didn't know it was internet acronym !
>
>N
>
--snip--
>> > > -----Original Message-----
>> > > From: IBM Mainframe Discussion List
>> > > [mailto:[email protected]] On Behalf Of ?????? ???????????
>> > > (Nagesh S)
>> > > Sent: Tuesday, November 22, 2011 11:24 AM
>> > > To: [email protected]
>> > > Subject: MD5 hash of a USS file ?
>> > >
>> > > Hi,
>> > > How do I obtain the md5sum of a file located in USS directory ?
>> > >
>> > > I have come across the CSNBOWH callable ICSF function. But, I
>> > > am looking
>> > > for a JCL job step type of solution. In the ported tools
>> > > page, I see a link
>> > > for sha command, but not for md5.
>> > >
>> > > Apology if this question sounds too basic; been a while since
>> > > I have been
>> > > away from z/OS.
>> > >
>> > > N
>> >

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to