Re: [EXTERNAL] Re: Checksum or hashing

2018-11-26 Thread Paul Gilmartin
On Wed, 21 Nov 2018 19:42:33 +, Dyck, Lionel B. (RavenTek) wrote:

>Here is more information on the CBTTape.Org file 900 which may provide more 
>information for the OP and others:
>
>//***FILE 900 is a set of programs which run under either old MVS   
> 
>
I thought I saw in another version, but not here, an option to include RDWs
in the hash.  You need something like that to preclude:
ABCDEF

... hashing as identical to
ABC
DEF

-- gil

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


Re: [EXTERNAL] Re: Checksum or hashing

2018-11-21 Thread Dyck, Lionel B. (RavenTek)
Here is more information on the CBTTape.Org file 900 which may provide more 
information for the OP and others:

//***FILE 900 is a set of programs which run under either old MVS   
//*   or z/OS to calculate MD5 checksums.  Please see the   
//*   member called @FILEMD5, which contains descriptions   
//*   of all the MD5**  pds members found in this file. 
//* 
//*   support:  sbgo...@cbttape.org  or 
//* sbgo...@att.net 
//* 
//*   SHA-1 and SHA-2 support added, May 2016.  
//* 
//*   SHA-384 and SHA-512 support added, Aug 2016.  
//* 
//*   Fixed for 8-character TSO prefixes in z/OS 2.3.   
//* 
//*  SHA1SUM  - Assembler source for SHA-1 generating command   
//*   (Fix. DS1LSTAR is always 0 for a PDSE,
//*so always read the dataset even if   
//*DS1LSTAR is 0.)  
//* 
//*  SHA2SUM  - Assembler source for SHA-2 generating command   
//*   (Fix. DS1LSTAR is always 0 for a PDSE,
//*so always read the dataset even if   
//*DS1LSTAR is 0.)  
//* 
//*  SHA3SUM  - Assembler source for SHA-384 generating command 
//*   (Fix. DS1LSTAR is always 0 for a PDSE,
//*so always read the dataset even if   
//*DS1LSTAR is 0.)  
//* 
//*  SHA5SUM  - Assembler source for SHA-512 generating command 
//*   (Fix. DS1LSTAR is always 0 for a PDSE,
//*so always read the dataset even if   
//*DS1LSTAR is 0.)  
//* 
//*  MD5  - Assembler source for MD5 subprogram, which  
//* is a modification of the MD5 program for
//* REXX.  This must be linked with the MD5SUM  
//* TSO command.
//* 
//*  MD5A - Assembler source for same MD5 subprogram,   
//* with inline macros changed for IFOX00   
//* assembler.  Intended for MVS370 systems.
//* 
//*  MD5R - Assembler source for same MD5 subprogram,   
//* with 8 STCM instructions replaced with 2
//* STRV.  STRV is comparatively new, from circa
//* 2002.  STRV is like ST but the bytes are
//* stored in reverse order, as in hex 12345678 
//* being stored as hex 78563412. The MVS 3.8   
//* assembler IFOX00 does not support the STRV  
//* op code.
//* 
//*  MD5COB$  - JCL to compile and run an Enterprise Cobol  
//* program that calls the MD5 subroutine.  
//* 
//*  MD5DATA  - JCL to create test data for MD5SUM, the same
//* test data used in MD5REXX   
//* 
//*  MD5FORT$ - JCL to compile and run a Fortran G program  
//* that calls the MD5 subroutine.  
//* 
//*  MD5PLI$  - JCL to compile and run an Enterprise PL/I   
//* program that calls the MD5 subroutine.  
//* 
//*  MD5REXX  - A copy of the source code for the MD5 for   
//* REXX by Leland Lucius, which was the base   
//* from which member MD5 was created.  
//* 
//*  MD5SUM   - assembler source for the 31-bit MD5SUM TSO  
//* command.  It calls the MD5 subprogram.  
//*   (Fix. DS1LSTAR is always 0 

Re: [EXTERNAL] Re: Checksum or hashing

2018-11-20 Thread Sankaranarayanan, Vignesh
A genius, gentleman, and a scholar.
Thank you so much!

– Vignesh
Mainframe Infrastructure

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Dyck, Lionel B. (RavenTek)
Sent: 20 November 2018 16:30
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: [EXTERNAL] Re: Checksum or hashing

I didn't see the original posting but if you're looking for tools to do a 
checksum on a z/OS data set check out file 900 on the CBTTAPE.ORG site:

From the file:

//***FILE 900 is a set of programs which run under either old MVS
//*   or z/OS to calculate MD5 checksums.  Please see the
//*   member called @FILEMD5, which contains descriptions
//*   of all the MD5**  pds members found in this file.
//*
//*   support:  sbgo...@cbttape.org  or
//* sbgo...@att.net
//*
//*   SHA-1 and SHA-2 support added, May 2016.
//*
//*   SHA-384 and SHA-512 support added, Aug 2016.


--
Lionel B. Dyck (Contractor)  <
Mainframe Systems Programmer – RavenTek Solution Partners


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

MARKSANDSPENCER.COM

 Unless otherwise stated above:
Marks and Spencer plc
Registered Office:
Waterside House
35 North Wharf Road
London
W2 1NW

Registered No. 214436 in England and Wales.

Telephone (020) 7935 4422
Facsimile (020) 7487 2670

www.marksandspencer.com

Please note that electronic mail may be monitored.

This e-mail is confidential. If you received it by mistake, please let us know 
and then delete it from your system; you should not copy, disclose, or 
distribute its contents to anyone nor act in reliance on this e-mail, as this 
is prohibited and may be unlawful.

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


Re: [EXTERNAL] Re: Checksum or hashing

2018-11-20 Thread Dyck, Lionel B. (RavenTek)
I didn't see the original posting but if you're looking for tools to do a 
checksum on a z/OS data set check out file 900 on the CBTTAPE.ORG site:

From the file:

//***FILE 900 is a set of programs which run under either old MVS
//*   or z/OS to calculate MD5 checksums.  Please see the
//*   member called @FILEMD5, which contains descriptions
//*   of all the MD5**  pds members found in this file.  
//*  
//*   support:  sbgo...@cbttape.org  or  
//* sbgo...@att.net  
//*  
//*   SHA-1 and SHA-2 support added, May 2016.   
//*  
//*   SHA-384 and SHA-512 support added, Aug 2016.   


--
Lionel B. Dyck (Contractor)  <
Mainframe Systems Programmer – RavenTek Solution Partners


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