|
Leif, Thanks for the offer. Basically, I want to call this program giving it parameters Library, File, & Member for input, and getting back the hash value as a parameter. Maybe another parameter for a Return Code / Error MsgID. The program SHOULD IGNORE the first 12 bytes of the source record (the date & sequence number), and use only positions 13 through the record length to calculate the hash. Note that I am hoping that record length doesn't matter; i.e., the goal is that generating identical hash values for two source members that are identical in content but have different record lengths. Example call: c Call 'MIFHASH' c Parm Library 10 input c Parm File 10 input c Parm Member 10 input c Parm HashValue 40 output BTW, I hope I'm not misusing the term hash here. Am I getting back a "hash value"? Does CIPHER "calcuate the hash"? - Dan Bale (I am *NOT* "Dale" http://archive.midrange.com/midrange-l/200105/msg00281.html ) SAMSA, Inc. 989-790-0507 DBale@SAMSA.com <mailto:DBale@SAMSA.com> Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.)
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.