WebSphere MQ environment variables, display current setting, change setting" /> Use WebSphere MQ environment variables
Home

 

Using WebSphere MQ environment variables

 

This chapter describes the environment variables that we can use with WebSphere MQ client applications.

WebSphere MQ uses default values for those variables that you have not set. Using environment variables, we 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.

Notes:

  1. WebSphere MQ for z/OS does not support any WebSphere MQ environment variables. If you are using this platform as your server, see Client channel definition table for information about how the client channel definition table is generated on z/OS. We can still use the WebSphere MQ environment variables on your client platform.

For each environment variable, use the command relevant to your platform to display the current setting or to reset the value of a variable.

For example:

Command Effect
SET MQSERVER= Removes the variable from Windows environments
unset MQSERVER Removes the variable from UNIX 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


 

Home