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



Rather than calling RPG at all depending on the process, it might be better to write a Java Program/Class and wrap a CL program or command around it.

We do this quite successfully. QSH and PASE get called in the background which is the equivalent of a new JVM being initiated.

We had problems with our RPG/Java mix programs at V7R1 and eliminated RPG from the mix for those.

Regards,
Richard Schoen
RJS Software Systems Inc.
Where Information Meets Innovation
Document Management, Workflow, Report Delivery, Forms and Business Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT
----------------------------------------------------------------------

message: 1
date: Tue, 26 Mar 2013 13:08:58 -0400
from: Jon Paris <jon.paris@xxxxxxxxxxxxxx>
subject: Re: no such method error


On Tue, 26 Mar 2013 at 10:29:48, Dan Kimmel <dkimmel@xxxxxxxxxxxxxxx> wrote:

RPG only starts a JVM once in a job. To stop and start the JVM, end the job and start a new one.

This is a system thing Dan - not RPG specific. Way back you could shut down the VM and reload but it caused too many problems in other areas so IBM killed it. Now it is one Job - one JVM.

There is a possibility that you could end the activation group where the JVM is running. Perhaps RPG will start a new JVM when it re-establishes the activation group. I have not tried this.

Nope - doesn't work - one job - one JVM.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com




As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.