There are two ways to do it
- Set the OUTPUT option in the RUNJVA or JAVA command to *NONE
- Set the environment variable QIBM_QSH_CMD_OUTPUT to NONE
The ADDENVVAR, CHGENVVAR, RMVENVVAR and WRKENVVAR commands can be used to manipulate the QSHELL environment. The environment parameters can be set for the entire system and for the job. In most cases, you will not want to change the environment parameter at the system level, because it will affect all users of QSHELL on the system.
Set the job environment to log messages to the terminal
ADDENVVAR ENVVAR(QIBM_QSH_CMD_OUTPUT) VALUE(STDOUT) LEVEL(*JOB)
Set the system environment to not log messages.
ADDENVVAR ENVVAR(QIBM_QSH_CMD_OUTPUT) VALUE(NONE) LEVEL(*SYS)
Set the job environment to log messages to the a file in the IFS. mydirectory must exist in the IFS.
ADDENVVAR ENVVAR(QIBM_QSH_CMD_OUTPUT)VALUE('FILE=/mydirectory/QSHELL_output') LEVEL(*JOB)
No comments:
Post a Comment
NO JUNK, Please try to keep this clean and related to the topic at hand.
Comments are for users to ask questions, collaborate or improve on existing.