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 ?
Unconfigured Ad Widget
Collapse
Announcement
Collapse
No announcement yet.
RUNJVA questions
Collapse
X
-
RUNJVA questions
Richard, You might try using QSH instead. It could be as simple as: sbmjob myjob CMD('java myClass > /tmp/nothing.log') This will redirect the output to a file in the tmp directory named nothing.log. There are a lot of options and a shell script would give better flexibility. David Morris
Comment