Brad,

If you're doing this from CL, I'd suggest writing it to a data area via the QShell "datarea" command -- its just easier to read a data area in CL vs. a file.

https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/rzahz/rzahzdatarea.htm

If you are going to code the logic to read a stream file, then I don't see why you'd muck about with calling a command like 'md5sum' or 'openssl', instead just read the original stream file and run it through an API like QC3CALHA to get the md5.  That eliminates the dependency on QShell, PASE and a 3rd party tool like openssl/md5sum being installed.


On 12/31/2020 8:42 AM, Brad Stone wrote:
anything new in the realm of generating an MD5 hash for a stream file in
the IFS?

It looks like openssl may be the easiest... then just output the data to a
stream file and read it in?

Wanted to make sure there weren't any SQL functions that may make it easier
and avoid needing to read in and parse a stream file.

Bradley V. Stone
www.bvstools.com
Native IBM i e-Mail solutions for Microsoft Office 365, Gmail, or any Cloud
Provider!

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.