View previous topic :: View next topic |
Author |
Message |
tvssv Beginner
Joined: 11 Mar 2009 Posts: 58 Topics: 25
|
Posted: Tue Aug 04, 2020 3:27 am Post subject: CHECKSUM for a file. |
|
|
Is there any way to find CHECKSUM for a file in Mainframe. If it is available, could please let me know how to get CHECKSUM for a file.
Thank You. _________________ Thanks
TVSSV |
|
Back to top |
|
|
Robert Sample Beginner
Joined: 15 Dec 2009 Posts: 12 Topics: 0 Location: Atlanta
|
Posted: Tue Aug 04, 2020 9:21 am Post subject: |
|
|
If you're looking at a text file (or data set), you should be aware that the mainframe uses EBCDIC, which is a different collating sequence than ASCII and hence you CANNOT compare a checksum from a mainframe to a checksum from a Windows/Unix machine and expect them to match. Converting the EBCDIC to ASCII (or vice versa) before generating the checksum would be the only way to get them to match.
There was some discussion on another forum about six years ago and the conclusion was that there is NO native way on a mainframe to produce a checksum. The CBTTAPE (http://www.cbttape.org) has an MD5 checksum program on file 900 which can produce checksums on a mainframe, but you'd have to download it from the CBTTAPE organization -- which may be difficult in many companies. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
|
|