|
sha1sum is a PASE command.
On Thu, Dec 31, 2020 at 3:39 PM Brad Stone <bvstone@xxxxxxxxx> wrote:
Thanks, Scott. Lots of good info there.If
I actually found out that they needed a SHA1 Hash instead... (their
documentation stinks).
I did get it working using openssl sha1 file > output and reading it... I
will look into the API, though, but this is pretty simple and this
particular customer does/should have the open source option installed.
not, I'll just tell them to install it.midrange-l@xxxxxxxxxxxxxxxx
On Thu, Dec 31, 2020 at 4:30 PM Scott Klement <
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/rzahz/rzahzdatarea.htmwrote:
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.
through
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
relatedan API like QC3CALHA to get the md5. That eliminates the dependency onin
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
tothe IFS?
It looks like openssl may be the easiest... then just output the data
alist
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
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
listquestions.--
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
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
--
Jack Woehr
Absolute Performance, Inc.
12303 Airport Way, Suite 100
Broomfield, CO 80021
NON-DISCLOSURE NOTICE: This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information. If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited. If you received
this communication in error, please contact the sender and delete/destroy
all copies of this communication immediately.
--
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-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.