We want to generate a hash key for a dataset but not encrypt the data using ICSF on z/OS 1.7. Can someone clarify that an entire file (and not just a field, or record within a file) can be processed by the routines CSNBOWH and CSNBOWH1. The Cryptographic Services ICSF Application Programmer's Guide is very vague regarding this.
It is possible to generate a hash value for an entire file using CSNBOWH. As Paul suggested, SMP/E and GIMZIP/GIMUNZIP do exactly that. CSNBOWH is rather generic and can process whatever data you want to feed it. It is your program's responsibility to open and read the subject file and then feed the file's data to the CSNBOWH service (in chunks that are a multiple of 64 in length, except for the last chunk) so it can calculate the hash.
Kurt Quackenbush -- IBM, SMP/E Development ---------------------------------------------------------------------- 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

