View Full Version : QSH vs RUNJVA
01-01-1995, 02:00 AM
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.
08-24-2000, 08:30 AM
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
08-24-2000, 01:36 PM
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?
08-24-2000, 06:10 PM
RUNJVA and JAVA will always go to the display. You need QSH in order to "run silent". Have your client install it. Joe
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.