RUNJVA question

DOUGLAS ENGLANDER via JAVA400-L <[email protected]> Mon, 7 Oct 2024 12:01:11 -0500
Newsgroups gmane.comp.lang.as400.java,gmane.comp.hardware.ibm.midrange
Message-ID <OFD9EB847B.71403262-ON86258BAF.005B44F9-86258BAF.005D7E1A@CD-HARTNETT.COM>
I have a java program with several  System.out.print();  commmands in it.


When I run the program interactively on a 5250 session using only the 
RUNJVA command, I see the various messages on the screen, as I expect, in 
the terminal window.

If, however, I run the same RUNJVA command within a CL and Call that CL in 
a 5250 session, I do not see the System.out.print() messages when the 
RUNJVA command executes. Why? What is suppressing these messages?

In addition, if I submit that CL to batch, I also do not see the messages.

I have tried the CL with OUTPUT(*PRINT) and/or OPTIONS(*VERBOSE), and 
still, there is no logging of the messages in either the job log, nor a 
spool file entry [which I was expecting with OUTPUT(*PRINT).

I have posed this question to IBM in a case on 10/3 and they are still 
working on it.

We are not at the bleeding edge of PTFs but fairly current and on V7R4.

Has anyone else experienced this or know why the system behaves like this?

Thank you,

Doug



"CONFIDENTIALITY NOTICE:  This e-mail transmission (and/or the attachments accompanying it) contain confidential information belonging to the sender.  The information is intended only for the use of the intended recipient.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of the information is strictly prohibited.  Any unauthorized interception of this transmission is illegal under the law.  If you have received this transmission in error, please promptly notify the sender by reply e-mail, and then destroy all copies of the transmission."
-- 
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.