SV: MD5 hash of a USS file ?

2011-11-23 Thread Thomas Berg
FWIW, I have a REXX function coded in asm for MD5 checksums running it in MVS (EBCDIC). (Coded by Leland Lucius)   Regards, Thomas Berg _ Thomas Berg   Specialist   A M   SWEDBANK -

Re: MD5 hash of a USS file ?

2011-11-22 Thread Nagesh S
Hello Bill, Thanks for the tip on the leading zeros part. Something to keep in mind when using this code ... N On Wed, Nov 23, 2011 at 3:32 AM, Bill Godfrey wrote: > Another Google search turned up the fact that this code (actually some > other code that is very similar to this) would omit lead

Re: MD5 hash of a USS file ?

2011-11-22 Thread Bill Godfrey
; (Nagesh S) >> > > Sent: Tuesday, November 22, 2011 11:24 AM >> > > To: IBM-MAIN@bama.ua.edu >> > > Subject: MD5 hash of a USS file ? >> > > >> > > Hi, >> > > How do I obtain the md5sum of a file located in USS directory

Re: MD5 hash of a USS file ?

2011-11-22 Thread Bill Godfrey
Another Google search turned up the fact that this code (actually some other code that is very similar to this) would omit leading zeroes when it prints the md5 hash. That information might also be of some use to anyone thinking of using the code. Some strings that should produce a hash with a l

Re: MD5 hash of a USS file ?

2011-11-22 Thread Nagesh S
t; > From: McKown, John > > Sent: Tuesday, November 22, 2011 11:57 AM > > To: 'IBM Mainframe Discussion List' > > Subject: RE: MD5 hash of a USS file ? > > > > > -Original Message- > > > From: IBM Mainframe Discussion List &g

Re: MD5 hash of a USS file ?

2011-11-22 Thread McKown, John
Company.SM > -Original Message- > From: McKown, John > Sent: Tuesday, November 22, 2011 11:57 AM > To: 'IBM Mainframe Discussion List' > Subject: RE: MD5 hash of a USS file ? > > > -Original Message- > > From: IBM Mainframe Discussion Li

Re: MD5 hash of a USS file ?

2011-11-22 Thread Paul Gilmartin
On Tue, 22 Nov 2011 23:15:07 +0530, ನಾಗೇಶ್ ಸುಬ್ರಹ್ಮಣ್ಯ (N wrote: >Yes, CSNBOWH does MD5. In the syntax for this function, the input is to be >provided is expected to be a string; not a file. > I did say "SMOP". There's a customary procedure for converting a file to a string; it's called "read

Re: MD5 hash of a USS file ?

2011-11-22 Thread McKown, John
> -Original Message- > From: IBM Mainframe Discussion List > [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of ?? ??? > (Nagesh S) > Sent: Tuesday, November 22, 2011 11:24 AM > To: IBM-MAIN@bama.ua.edu > Subject: MD5 hash of a USS file ? > > Hi, > H

Re: MD5 hash of a USS file ?

2011-11-22 Thread Nagesh S
Yes, CSNBOWH does MD5. In the syntax for this function, the input is to be provided is expected to be a string; not a file. N On Tue, Nov 22, 2011 at 11:03 PM, Paul Gilmartin wrote: > On Tue, 22 Nov 2011 22:54:23 +0530, > ನಾಗೇಶ್ > ಸುಬ್ರಹ್ಮಣ್ಯ > (N wrote: > > >Hi, > >How do I obtain the md5sum

Re: MD5 hash of a USS file ?

2011-11-22 Thread Paul Gilmartin
On Tue, 22 Nov 2011 22:54:23 +0530, ನಾಗೇಶ್ ಸುಬ್ರಹ್ಮಣ್ಯ (N wrote: >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 sh

MD5 hash of a USS file ?

2011-11-22 Thread Nagesh S
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; bee