|
>Not having C as an option here, If you are on V5R1 or above and have software subscription I believe you have already paid for the C compiler (Cobol, too!). It is bundled with all the compilers, PDM and WDSc. You need to ask your BP to get it shipped to you. >I'm curious if there are ways to implement threads using RPG. When I went to COMMON several years ago I was in a session where threads were discussed as a lightweight way to handle variable workloads. I have never seen a multi-threaded RPG server. In most cases, we simulate that with NEPs feeding off of data queues. When the delay time gets too long, submit another NEP to read from the same DTAQ. When the delay gets too short, kill the extra job. It would be interesting to see that done with threads in RPG, but I'm not too sure of the benefit. (As in the cost of spawning a thread vs SBMJOB for the number of tasks we normally need to 'serve'.) --buck
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.