|
JWT generation and parsing is available in RPG Brad. In a rush and can't
look up the URL but it is part of Niels' stuff - I believe it was Mihael
Schmidt who wrote those components. I use the generation component for
talking to Zoom from RPG.
Jon.
On Apr 19, 2021, at 11:13 AM, Brad Stone <bvstone@xxxxxxxxx> wrote:<mailto:bmay@xxxxxxxxxxxxxxxxx>> wrote:
I bet it wasn't! I have a feeling it may also be a task to make sure
everything is working properly for it. :)
As I said, I am using web services and GETURI to call a node service. It
works, but if SSHD is down it's no good. And if the shop doesn't have
anyone able to diagnose why, then it's just job security I guess. :)
The only reason I use it for right now is parsing JWTs. So if that could
be something done in SQL or RPG that would be great. Scotts done an
amazing job already making JSON building and parsing available.. JWTs
aren't going away anytime soon, and with web services using them more and
more it would be a great addition.
On Mon, Apr 19, 2021 at 9:57 AM Brian May <bmay@xxxxxxxxxxxxxxxxx
have
Well, you would have to have a Node.js process running, or one would
youto be started, so SOMETHING would need to be running. Much like Java,
abilitydon't want to start and stop a Node.js process for every call.
This is one of the major features in our Profound.js offering, the
itto call Node.js directly from RPG using a normal ILE call. It also
provides a mechanism for Node.js to call RPG directly. I can tell you,
rpg400-l-bounces@xxxxxxxxxxxxxxxxxx>> On Behalf Of Bradwas not simple to implement.
Brian May
Director
Pre-Sales and Customer Solutions
Profound Logic Software
http://www.profoundlogic.com <http://www.profoundlogic.com/>
937-439-7925 Phone
877-224-7768 Toll Free
UI Modernization… And More!
www.profoundlogic.com <http://www.profoundlogic.com/>
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx <mailto:
rpg400-l@xxxxxxxxxxxxxxxxxx>>Stone
Sent: Saturday, April 17, 2021 12:51 PM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx <mailto:
youSubject: Re: Upcoming spring 2021 RPG enhancements announced today
If you haven't written an upper or lower ile function yet, where have
ablebeen? :)
What RPG really needs these days is the ability to parse JWTs, or be
There isto call node.js directly (not using a web service, etc... nothing else
needing to be running). If you can already, I'd love to see how.
that Iso much functionality available with OSS (node.js being my favorite)
orwish I could call it similar to calling Java or even just calling a CL
midrangel@xxxxxxxxxxxxxxxxx>> wrote:RPG program.
Maybe that would be more suited for SQL (JWT processing that is)?
On Sat, Apr 17, 2021 at 8:10 AM <midrangel@xxxxxxxxxxxxxxxxx <mailto:
execute
Naïve, hardly, you raise a good point.
As to your first question, I think you answered it yourself. The
compiler merely turns RPG into executable code. I don't believe there
is a classic "runtime" involved, since ultimately it winds up being
some fashion of MI before the executable is created. Therefore the
complier has to come up with a way to build efficient MI code to
rpg400-l-bounces@xxxxxxxxxxxxxxxxxx>> On Behalf Of Johnthe instructions. Hence
only patching the complier. Furthermore if IBM wanted to patch morethan
the compiler in one PTF they certainly can do that. (and sometimes
do...)
Yes, this has been done many, many times in the past going back
several versions if not releases.
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx <mailto:
rpg400-l@xxxxxxxxxxxxxxxxxx>>Yeung
Sent: Friday, April 16, 2021 9:29 PM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx <mailto:
https://www.ibm.com/support/pages/node/6342821>Subject: Re: Upcoming spring 2021 RPG enhancements announced today
7.3
ILE RPG runtime: SI76098 - you need this PTF on any 7.3 system where
you run a program with %LOWER, %UPPER, or %SPLIT ILE RPG compiler:
SI76100
Interesting. So you need to patch the runtime as well. Is this normal?
I don't recall other language updates mentioning runtime PTFs, only
compiler PTFs.
Notably, the RPG Cafe entry for the FOR-EACH, IN, %LIST, and %RANGE
bundle doesn't mention any runtime PTFs:
https://www.ibm.com/support/pages/node/6342821 <
their
Those strike me as more substantive changes. If anything, I would have
expected those to require an updated runtime. %LOWER, %UPPER, and
%SPLIT seem like functions that a competent and motivated RPG
programmer could implement themselves, and many *have* implemented
thinkown DIY versions.
Granted, the DIY ones are almost always vastly more rudimentary than
these BIFs (for example, a lot of native-English shops wouldn't bother
to handle accented characters). But conceptually, these still seem
very achievable with the preexisting runtime. Is it naive of me to
RPG400-L@xxxxxxxxxxxxxxxxxx> To subscribe, unsubscribe,that?
John Y.
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-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 RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx <mailto:
https://lists.midrange.com/mailman/listinfo/rpg400-l>or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l <
RPG400-L-request@xxxxxxxxxxxxxxxxxx>or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx <mailto:
https://archive.midrange.com/rpg400-l>.Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l <
support@xxxxxxxxxxxxxxxxxxxx> for any subscription
Please contact support@xxxxxxxxxxxxxxxxxxxx <mailto:
amazon.com <http://amazon.com/> with our affiliaterelated questions.
Help support midrange.com <http://midrange.com/> by shopping at
RPG400-L@xxxxxxxxxxxxxxxxxx> To subscribe, unsubscribe, orlink: https://amazon.midrange.com <https://amazon.midrange.com/>--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx <mailto:
https://lists.midrange.com/mailman/listinfo/rpg400-l>change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l <
RPG400-L-request@xxxxxxxxxxxxxxxxxx>or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx <mailto:
https://archive.midrange.com/rpg400-l>.Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l <
support@xxxxxxxxxxxxxxxxxxxx> for any subscription related
Please contact support@xxxxxxxxxxxxxxxxxxxx <mailto:
amazon.com <http://amazon.com/> with our affiliatequestions.
Help support midrange.com <http://midrange.com/> by shopping at
RPG400-L@xxxxxxxxxxxxxxxxxx>link: https://amazon.midrange.com <https://amazon.midrange.com/>
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx <mailto:
https://lists.midrange.com/mailman/listinfo/rpg400-l>To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l <
RPG400-L-request@xxxxxxxxxxxxxxxxxx>or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx <mailto:
https://archive.midrange.com/rpg400-l>.Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l <
support@xxxxxxxxxxxxxxxxxxxx> for any subscription related
Please contact support@xxxxxxxxxxxxxxxxxxxx <mailto:
amazon.com <http://amazon.com/> with our affiliatequestions.
Help support midrange.com <http://midrange.com/> by shopping at
RPG400-L@xxxxxxxxxxxxxxxxxx>link: https://amazon.midrange.com <https://amazon.midrange.com/>--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx <mailto:
To subscribe, unsubscribe, or change list options,https://lists.midrange.com/mailman/listinfo/rpg400-l>
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l <
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx <mailto:RPG400-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archiveshttps://archive.midrange.com/rpg400-l>.
at https://archive.midrange.com/rpg400-l <
support@xxxxxxxxxxxxxxxxxxxx> for any subscription related questions.
Please contact support@xxxxxxxxxxxxxxxxxxxx <mailto:
amazon.com <http://amazon.com/> with our affiliate link:
Help support midrange.com <http://midrange.com/> by shopping at
https://amazon.midrange.com <https://amazon.midrange.com/>
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-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.