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



On 01-Jun-2016 09:37 -0500, Englander, Douglas wrote:
Does anyone have a simple program example (or know where I can find
one) for an RPG program that creates thread jobs? I am wanting to
know if it is possible for one RPG program (or CL) to start 4 or 5
threads, and each thread would process one part of a file, instead of
having one program process the file from beginning to end. This is a
read and summarize application that is being converted to SQL, but
even with SQL, it takes a long (7+ hours) to process the whole file.

The database with the SQL can already do the [effective or actual] threading, if allowed to; no need to effect that at the application-level, if the database will do so instead. See the Change Query Attributes (CHGQRYA) command for the Parallel processing degree (DEGREE) parameter for the "Input/Output (I/O) parallel processing" capabilities; also Symmetric Multiprocessing (SMP), but only if that optional-install\purchased feature is installed and licensed.


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.