I like others recommend the data queue approach.
This method is easy to implement, easy to document/understand how it works
You can have a single program receiving the requests on the data queue or
as many as you like to process faster.
Cheers
Don
From: "Stephen Piland" <Stephen@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: "rpg400-l@xxxxxxxxxxxxxxxxxx" <rpg400-l@xxxxxxxxxxxxxxxxxx>
Date: 21/08/2020 02:51 AM
Subject: 'Multi-threading' and RPG
Sent by: "RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx>
Does anyone have a real world example of this? A link or anything?
I'm trying to decode a very large number of element JSON using DATA-INTO
and it using YAJLINTO as the %parser. Each file on the IFS is one
transaction/message and can have over 3k individual elements. Each
message has 2 big blocks of elements split about 50/50. Each half of the
message end up writing out to separate group of PFs. Can I process each
half simultaneously and not have to submit a ton of separate jobs? Just
trying to speed the process.
Any thoughts would be appreciated! Thanks!
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.