+ Reply to Thread
Results 1 to 2 of 2

Thread: RUNJVA questions

  1. Default 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. #2
    Guest.Visitor Guest

    Default 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

+ Reply to Thread

Similar Threads

  1. runjva
    By Guest.Visitor in forum RPG
    Replies: 1
    Last Post: 09-13-2005, 09:18 AM
  2. RUNJVA in CL
    By dmonti in forum Java
    Replies: 0
    Last Post: 09-28-2004, 08:25 AM
  3. RUNJVA command
    By B.Wahl in forum Programming
    Replies: 5
    Last Post: 06-14-2001, 08:09 AM
  4. RUNJVA command
    By Guest.Visitor in forum Programming
    Replies: 6
    Last Post: 06-08-2001, 01:21 PM
  5. QSH vs RUNJVA
    By Guest.Visitor in forum Programming
    Replies: 3
    Last Post: 08-24-2000, 06:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts