+

Search Tips | Advanced Search

Specify 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:
  1. Specify the default values directly.
  2. Use the system environment variable.


Procedure

  • [OPTION 1] Specify the default values directly.

    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 we want to connect to the remote queue manager.

    1. In IBM MQ Explorer, click Window > Preferences. The Preferences dialog opens.
    2. Expand MQ Explorer.
    3. Expand Client Connections.
    4. Select Remote Queue Managers to display the Remote Queue Managers pane.
    5. In the Port number field, enter the default port number to be used when connecting to a remote queue manager.
    6. In the Server-connection channel field, enter the default channel name to be used when connecting to a remote queue manager.

    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.

  • [OPTION 2] Use the system environment variable.

    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 we want to connect to the remote queue manager.

    1. In IBM MQ Explorer, click Window > Preferences. The Preferences dialog opens.
    2. Expand MQ Explorer.
    3. Expand Client Connections.
    4. Select Remote Queue Managers to display the Remote Queue Managers pane.
    5. 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.

    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.

Parent topic: Configure IBM MQ Explorer


Related tasks

Last updated: 2020-10-04