|
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 ina
the IFS?
It looks like openssl may be the easiest... then just output the data to
stream file and read it in?easier
Wanted to make sure there weren't any SQL functions that may make it
and avoid needing to read in and parse a stream file.Cloud
Bradley V. Stone
www.bvstools.com
Native IBM i e-Mail solutions for Microsoft Office 365, Gmail, or any
Provider!--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.