× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I’m in mexico on vacation and I was reading these threads. I told my wife
if Birgitta answers you know to scroll right down to her post.

Thank you B and happy new year.

On Thu, Dec 31, 2020 at 5:45 PM Jack Woehr <jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx>
wrote:

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.

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.
If
not, I'll just tell them to install it.

On Thu, Dec 31, 2020 at 4:30 PM Scott Klement <
midrange-l@xxxxxxxxxxxxxxxx

wrote:

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!
--
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

--
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



--
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 thread ...

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.