Using IBM MQ environment variables
You can use commands to display the current settings or to reset the values of IBM® MQ environment variables.
About this task
You can use environment variables in the following ways:
- To set the variables in your system profile to make a permanent change
- To issue a command from the command line to make a change for this session only
- To give one or more variables a particular value dependent on the application that is running, add commands to a command script file used by the application
For each environment variable, you can use commands to display the current setting or to reset
the value of the variable.
These
commands are available on all supported platforms unless otherwise stated. The format of the command
depends on your platform. For example:
- On UNIX and Linux®:
export [environment variable]=value
- On Windows:
Set [environment variable]=value
- On IBM i:
ADDENVVAR ENVVAR(environment variable) VALUE(xx)
Where applicable, IBM MQ uses default values for those variables that you have not set.
Note:
IBM MQ for z/OS® does not support any IBM 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. You can still use IBM MQ environment variables on your client platform.