+ Reply to Thread
Results 1 to 4 of 4

Thread: QSH vs RUNJVA

  1. #1
    Guest.Visitor Guest

    Default QSH vs RUNJVA

    Hello all, I've run into a bit of a problem. I had a cl program which did the following: 1) over-ride STDOUT to a file 2) call a Java program via the QSH CMD('JAVA JVAPGM'). 3) continue with other processing I've just discovered that some of our customers do not have QSH installed on their AS/400's. I modified my cl program to invoke the java program via the RUNJVA command, which runs the java program but seems to invoke QSH. I then have to press F3 to exit QSH, after which my cl program continues its processing. Is there a way to get RUNJVA to execute the program without pulling up QSH? Thanks in advance.

  2. #2
    Guest.Visitor Guest

    Default QSH vs RUNJVA

    RunJva or the Java "CL" command produce a screen that looks a lot like QShell's, but you don't get a full qshell environment. There have been many requests for a RunJva / Java command that runs silently. They want it to output standard out messages to the joblog (like a normal CL command) or at least not require the user to press enter or F3 to get out of the Java output screen and back to a command prompt. For example, on the Java command add an "autoclose(*yes)" parameter. Unfortunately the Java team has no plans to add this functionality. - Jeff Lee, AS/400 Toolbox for Java

  3. #3
    Guest.Visitor Guest

    Default QSH vs RUNJVA

    Thanks for the info. Does QSH need to be installed for the RUNJVA or JAVA CL commands to work? If this is the case I'll get our clients to install it, if not does anyone have any suggestions on how I can use RUNJVA without the Java Shell Display?

  4. #4

    Default QSH vs RUNJVA

    RUNJVA and JAVA will always go to the display. You need QSH in order to "run silent". Have your client install it. Joe

+ 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 questions
    By Absolutely_Nobody in forum Java
    Replies: 1
    Last Post: 01-07-2002, 03:23 PM
  4. RUNJVA command
    By B.Wahl in forum Programming
    Replies: 5
    Last Post: 06-14-2001, 08:09 AM
  5. RUNJVA command
    By Guest.Visitor in forum Programming
    Replies: 6
    Last Post: 06-08-2001, 01:21 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