This chapter describes the environment variables that you can use with WebSphere MQ client applications.
WebSphere MQ uses default values for those variables that you have not set. Using environment variables, you can update your system profile to make a permanent change, issue the command from the command line to make a change for this session only, or, if you want one or more variables to have a particular value dependent on the application that is running, add commands to a command script file used by the application.
The WebSphere MQ environment variables are:
Commands are available on all the WebSphere MQ client platforms unless otherwise stated.
For each environment variable, use the command relevant to your platform to display the current setting or to reset the value of a variable.
Command | Effect |
---|---|
SET MQSERVER= | Removes the variable from Windows(R) environments |
unset MQSERVER | Removes the variable from UNIX(R) systems environments |
SET MQSERVER | Displays the current setting on Windows |
echo $MQSERVER | Displays the current setting on UNIX systems |
set | Displays all environment variables for the session |
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
envvar |