WebSphere Application Server provides these Qshell environment variables that affect the WebSphere Application Server scripts.
export variableName=value
unset variableName
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_CLASSPATH=${WAS_CLASSPATH}:/home/QSYS/classes.jarAfter you create the script file, run this command to set the environment variable:
export WAS_USER_SCRIPT=/home/myDir/classpath.script