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



Kevin skrev den 30-05-2007 15:15:
This may sound like a stupid question, but where do messages from my Java program get logged (if anywhere)? Most of my Java experience is from the PC platform (using Eclipse).

From an interactive job, I have a CL program the calls an an ILE RPG program that in turn instantiates my Java class. The RPG program then calls one of the Java class methods. When the Java class file runs, the screen changes (QSHELL?) and messages flash very quickly (way too fast for me to read them). Some of the messages are generated from System.out.println(), some are from Exception.printStackTrace() and some are from thrown Exceptions. As soon as control returns back to the RPG program the green screen changes back to the normal environment and the Java messages are gone.
I would recommend using log4j to log information - this can be redirected to a file and all.

We run CL->Java stuff inside SBMJOB and the output goes nicely to the spool file, which you can see in WSDCi or with WRKJOB.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.