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



I have a 3rd party java program that I want to run with the RUNJVA command. It is possible for that program to end with System.exit(0), System.exit(1), System.exit(2) or System.exit(3).

I want to be able to tell if it was in fact 0,1,2 or 3. Will monitoring for JVA0122 tell me that?





David Gibbs wrote:
Robert Upshall wrote:
Is there any way to determine the exit code (i.e. System.exit(1) ) value of a java program in a CL program?

Monitor for, or receive, message JVA0122 when the program ends?

This assumes that the program was invoked using RUNJVA.

If you're invoking via qshell, I don't think you can check the exit code.

david



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.