|
Justin Taylor wrote: > I have an RPG program that makes multiple calls to a Java method, using > a data queue to pass data from the Java method to the RPG program. My > problem is that the Java method starts a new QZHQSSRV job every time but > the previous jobs are still running. When my test program finishes, I > have over 300 QZHQSSRV jobs still active. Can you explain a bit more about what you are trying to accomplish? Using a data queue to communicate between RPG & Java is a fine technique ... but it seems to me that you shouldn't be calling a java method from RPG to do anything if you are using data queues. Ideally, you should start a java server application once that listens to a data queue. Your RPG application would then send a request to the data queue, which the java application would respond to. The RPG app would then monitor another data queue to get the java applications response. This would result in only a handful of QZHQSSRV jobs being active. david
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.