+

Search Tips   |   Advanced Search

(iSeries)

Qshell environment variables

WebSphere Application Server provides these Qshell environment variables that affect the WAS scripts.

To set the Qshell environment variables,:

export variableName=value

To unset the Qshell environment variables,:

unset variableName

WAS_ADDL_JVM_ARGS

If we set this variable, its value is appended to the JVM arguments for all of the scripts that run a JVM. All of the commands except deleteProdLod, detectprocess, enbprfwas, grtwasaut, and rvkwasaut run a JVM. For example, this command:
export WAS_ADDL_JVM_ARGS="-Dtrace=com.ibm.*=all=enabled -Xms256m"
enables tracing for the JVM that a script starts, and sets the minimum heap size for the JVM to 256 megabytes.

WAS_USER_SCRIPT

This variable specifies the path to a script that runs before a WAS Qshell script runs. For example, to append a /home/QSYS/classes.jar to the classpath for every script, we might create a script called /home/myDir/classpath.script. The script file contains this command:
WAS_CLASSPATH=${WAS_CLASSPATH}:/home/QSYS/classes.jar
After creating the script file, run this command to set the environment variable:
export WAS_USER_SCRIPT=/home/myDir/classpath.script

  • Use command-line tools