|
RPGLE can be multithreaded. It is explained in the ILE RPG for AS/400 Programmer's Guide and talked about in the ILE RPG for AS/400 Reference. There are multiple ways to "fake" multi-threading. Data queues, message queues, even data files can used. All of these rely on "waiting" for a period of time before checking for the next piece of information until all requests are complete. Mike -----Original Message----- From: owner-java400-l@midrange.com [mailto:owner-java400-l@midrange.com]On Behalf Of AnanthaRamaiah, Gururaja (CTS) Sent: Tuesday, April 11, 2000 6:22 AM To: java400-l@midrange.com Subject: Can we write multi threaded programs using RPG?.. Hi, We have to develop an RPG program that has to fetch data from two different AS/400s. Since the job that it does is exactly same in both the machines we are thinking of writing multi threaded RPG programs so that it can be called simultaneously. The data fetched has to be shown on to the web. If we do data fetching one after other the browser times out as the processing is taking more than 3 mins.. Any help would be of great use.............. Thanks and Regards, Gururaj +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +--- +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
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.