Specifying the default values used to connect to remote queue
managers
We can either configure IBM MQ Explorer with the
default values directly, or configure IBM MQ Explorer to use
system environment value variables.
About this task
To configure IBM MQ Explorer with default values to
use when connecting to remote queue managers, complete one of the following tasks:
Specifying the default values directly
About this task
To configure IBM MQ Explorer with the default port
number and server-connection channel used to connect to remote queue managers, complete this task in
IBM MQ Explorer on the computer from which you want to connect
to the remote queue manager.
Procedure
-
In IBM MQ Explorer, click Window > Preferences.
The Preferences dialog opens.
-
Expand MQ Explorer.
- Expand Client Connections.
- Select Remote Queue Managers to
display the Remote Queue Managers pane.
- In the Port number field, enter
the default port number to be used when connecting to a remote queue
manager.
- In the Server-connection channel field,
enter the default channel name to be used when connecting to a remote
queue manager.
Results
IBM MQ Explorer now uses the provided defaults when creating a
new connection to a remote queue manager. These defaults can be changed when adding in a new
connection to a remote queue manager using the Add Queue Manager
wizard.
Use the system environment variable
About this task
To configure IBM MQ Explorer to use the system
environment variable values when connecting to remote queue managers, complete this task in IBM MQ Explorer on the computer from which you want to connect to the
remote queue manager.
Procedure
-
In IBM MQ Explorer, click Window > Preferences.
The Preferences dialog opens.
-
Expand MQ Explorer.
- Expand Client Connections.
- Select Remote Queue Managers to
display the Remote Queue Managers pane.
- Select the Use environment (MQSERVER) check
box to override the specified defaults and use the system environment
variable to set the default port and default channel name.
Results
IBM MQ Explorer now uses the MQSERVER system environment
variable when creating a new connection to a remote queue manager. These defaults can be changed
when adding in a new connection to a remote queue manager using the Add Queue
Manager wizard.