When using RUNJVA to call a Java class it invokes the qshell environment and the user must hit enter to continue. So, I submit this CL to batch and this prevents the user from seeing that screen. However, when the Java class runs, it generates a spool file to QPRINT with "Java program completed". How can I prevent this from getting generated ? Our users spool files are not held and get sent directly to a printer. They say these pages are annoying and waste paprer. I've read that I can redirect stdout and stderr. How do I do that ?

Reply With Quote