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.
![[z/OS]](ngzos.gif)