Announcement Announcement Module
Collapse
No announcement yet.
RUNJVA questions Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • RUNJVA questions

    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 ?

  • #2
    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

    Working...
    X