Mq93 Explorer
Mq93 Explorer
IBM MQ Explorer
IBM
Note
Before using this information and the product it supports, read the information in “Notices” on page
563.
This edition applies to version 9 release 3 of IBM® MQ and to all subsequent releases and modifications until otherwise
indicated in new editions.
When you send information to IBM, you grant IBM a nonexclusive right to use or distribute the information in any way it
believes appropriate without incurring any obligation to you.
© Copyright International Business Machines Corporation 2007, 2023.
US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with
IBM Corp.
Contents
IBM MQ Explorer................................................................................................... 5
IBM MQ Explorer installation requirements................................................................................................5
What's new and what's changed in IBM MQ Explorer................................................................................ 6
Launching IBM MQ Explorer........................................................................................................................ 8
Multiple installations of IBM MQ Explorer...................................................................................................9
Installing IBM MQ Explorer into Eclipse environments............................................................................ 10
Displaying context-sensitive help (pop-up window help)........................................................................ 11
Configuring IBM MQ using IBM MQ Explorer............................................................................................ 12
Creating and configuring queue managers and objects......................................................................13
Testing your object definitions for problems....................................................................................... 45
Sending test messages........................................................................................................................ 71
Starting and stopping objects and services.........................................................................................73
Showing or hiding a queue manager....................................................................................................81
Connecting or disconnecting a queue manager.................................................................................. 91
Administering remote queue managers.............................................................................................. 92
Maintaining intercommunications along message channels.............................................................. 95
Configuring publish/subscribe messaging.......................................................................................... 98
Configuring publish/subscribe for IBM MQ queue managers............................................................. 99
Managing multi-instance queue managers....................................................................................... 110
Creating and configuring a queue manager cluster.......................................................................... 114
Managing security and authorities.....................................................................................................125
Viewing the status of objects.............................................................................................................171
Viewing and closing connections to applications............................................................................. 172
Creating and configuring JMS administered objects.............................................................................. 172
JMS contexts...................................................................................................................................... 174
JMS connection factories...................................................................................................................175
JMS destinations (queues and topics)...............................................................................................177
Messaging providers for IBM MQ classes for JMS............................................................................ 178
Adding an initial context.................................................................................................................... 178
Connecting and disconnecting an initial context.............................................................................. 180
Removing an initial context................................................................................................................181
Creating a connection factory............................................................................................................ 182
Creating a destination........................................................................................................................ 183
Creating a JMS object and an IBM MQ object simultaneously......................................................... 184
Creating a JMS object from an IBM MQ object..................................................................................186
Copying an administered object........................................................................................................ 187
Changing the transport type used for connections........................................................................... 187
Creating a subcontext........................................................................................................................ 188
Renaming an administered object..................................................................................................... 189
Renaming a context............................................................................................................................189
Deleting an administered object........................................................................................................190
Deleting a subcontext........................................................................................................................ 191
Configuring IBM MQ Explorer..................................................................................................................192
Filtering the objects displayed in tables............................................................................................193
Creating and configuring a service definition.................................................................................... 196
Creating and configuring a queue manager set.................................................................................201
Define schemes to change the order of columns in tables...............................................................217
Changing the colors............................................................................................................................221
Enabling installed plug-ins.................................................................................................................221
Changing the refresh frequency of queue manager information......................................................222
Specifying the default values used to connect to remote queue managers.................................... 223
Exporting and importing settings.......................................................................................................224
iii
Including SYSTEM objects when you run tests................................................................................. 225
Including hidden queue managers in test configurations................................................................ 226
Displaying object authority settings as text...................................................................................... 226
Using Advanced Message Security..........................................................................................................227
Message signing................................................................................................................................. 227
Message encryption........................................................................................................................... 227
Distinguished names..........................................................................................................................227
Troubleshooting problems with IBM MQ Explorer................................................................................. 228
Collecting IBM MQ Explorer trace..................................................................................................... 229
Collecting IBM MQ Explorer trace in other Eclipse environments....................................................230
Using IBM MQ trace........................................................................................................................... 234
Collecting Javacore from IBM MQ Explorer...................................................................................... 235
Using MQ Telemetry................................................................................................................................ 237
MQ Telemetry objects........................................................................................................................ 237
MQTT client utility.............................................................................................................................. 239
Configuring MQ Telemetry using IBM MQ Explorer...........................................................................243
Administering MQ Telemetry using IBM MQ Explorer.......................................................................249
Troubleshooting MQ Telemetry using IBM MQ Explorer...................................................................253
MQ Telemetry reference.................................................................................................................... 256
IBM MQ Tutorials..................................................................................................................................... 259
Tutorial 1: Sending a message to a local queue................................................................................259
Tutorial 2: Sending a message to a remote queue............................................................................266
Tutorial 3: Sending a message on a client-server configuration.......................................................274
Reference.................................................................................................................................................279
Accessibility in IBM MQ Explorer.......................................................................................................279
Icons in IBM MQ Explorer.................................................................................................................. 280
Views in IBM MQ Explorer..................................................................................................................285
Preferences for IBM MQ Explorer...................................................................................................... 293
Properties........................................................................................................................................... 308
Status attributes.................................................................................................................................515
Byte array dialog................................................................................................................................ 553
Strings in property dialogs................................................................................................................. 553
Identifying durable subscriptions to the SYSTEM.FTE topic ........................................................... 554
Extending IBM MQ Explorer.................................................................................................................... 555
Importing the sample Eclipse plug-ins............................................................................................. 555
Writing an Eclipse plug-in for IBM MQ Explorer................................................................................556
Applying plug-ins to IBM MQ Explorer.............................................................................................. 560
API Reference.......................................................................................................................................... 561
Notices..............................................................................................................563
Programming interface information........................................................................................................ 564
Trademarks.............................................................................................................................................. 564
iv
Introduction to IBM MQ Explorer
IBM MQ Explorer is the graphical user interface in which you can administer and monitor IBM MQ objects,
whether they are hosted by your local computer or on a remote system.
IBM MQ Explorer runs on Windows and Linux® x86-64. It can remotely connect to queue managers that
are running on any supported platform including z/OS®, enabling your entire messaging backbone to be
viewed, explored, and altered from the console.
IBM MQ Explorer is built on open source Eclipse technology. As such, IBM MQ Explorer is highly
customizable and fully extensible. You can add new tools as plug-ins to IBM MQ Explorer to provide
new features in a way that is integrated into the console.
From IBM MQ 9.3.0, IBM MQ Explorer has been removed from the IBM MQ
install package. It remains available as a stand-alone download available from Fix Central.
Related tasks
Installing IBM MQ Explorer as a stand-alone application on Linux and Windows
Related reference
“Accessibility in IBM MQ Explorer” on page 279
Accessibility features help a user who has a physical disability, such as restricted mobility or limited
vision, to use software products successfully.
IBM MQ Explorer is available for Windows x86_64 and Linux x86_64. From
IBM MQ 9.3.0, IBM MQ Explorer has been removed from the IBM MQ installation package. It remains
available as a separate download, and can be installed from the stand-alone IBM MQ Explorer download
available from Fix Central.
The requirements to install IBM MQ Explorer from the stand-alone IBM MQ Explorer download available
from Fix Central include:
• 512 MB RAM
• 1 GHz processor
• At least 300 MB available disk space
• A suitable monitor for the operating system with a screen size of at least 1024x768
• On Linux, GTK2 including the GTK2-engines, which contain the GTK2 themes. The minimum GTK2 level
depends on the version of IBM MQ. From IBM MQ 9.1, GTK+ version 2.18.0, or later, is supported.
• Bitstream-vera-fonts (applies to Linux only).
Note: On Linux, if you have both GTK2 and GTK3 installed on your system then you must disable GTK3
with the environment variable SWT_GTK3=0.
IBM MQ Explorer is not supported on Eclipse platforms at a higher level than the one that it is built on.
However, IBM MQ Explorer is backwards compatible with earlier levels of Eclipse than the one that it is
built on.
For information about the Eclipse level that IBM MQ Explorer is built on, see “What's new and what's
changed in IBM MQ Explorer” on page 6.
Related tasks
Installing IBM MQ Explorer as a stand-alone application on Linux and Windows
Related information
Windows 8 system requirements
From IBM MQ 9.1.4, IBM MQ Explorer is built on Eclipse 4.8 instead of Eclipse 4.7.3.
This change to the Eclipse level applies to Continuous Delivery only. For Long Term Support, the
Eclipse level remains at Eclipse 4.7.3.
From IBM MQ 9.1.5, IBM MQ Explorer is built on Eclipse 4.11 instead of Eclipse 4.8. This
change to the Eclipse level applies to Continuous Delivery only. For Long Term Support, the Eclipse
level remains at Eclipse 4.7.3.
Changes to delivery mechanism for updates to stand-alone IBM MQ Explorer
From IBM MQ 9.1.4, the stand-alone IBM MQ Explorer, previously known as SupportPac
MS0T, is available as a stand-alone application from Fix Central. SupportPac MS0T is no longer
available from the IBM download site.
For more information about installation requirements, see “IBM MQ Explorer installation requirements”
on page 5 and “Installing IBM MQ Explorer into Eclipse environments” on page 10.
6 IBM MQ Explorer
Support for topic host routing for publish/subscribe clusters
In previous versions, when you configure a clustered topic on a queue manager, all queue managers
in the cluster become aware of all other queue managers in the cluster. When performing publish and
subscribe operations, each queue manager then connects directly to all the others. This approach is
still available in IBM MQ 8.0, where it is known as direct routing.
In IBM MQ 8.0, an alternative approach has also been added, known as topic host routing. With this
approach, all queue managers in the cluster become aware of the cluster queue managers that host
the routed topic definitions. When performing publish and subscribe operations, queue managers in
the cluster connect only to these topic host queue managers, and not directly to each other. The
topic host queue managers are responsible for routing publications from queue managers on which
publications are published to queue managers with matching subscriptions.
To support topic host routing, the following parameters are added:
• Cluster publication route. The routing behavior of publications between queue managers in
a cluster. This is set on the cluster tab of a topic object and is displayed on the cluster tab of a topic
object and when displaying cluster topics.
• Cluster object state. The current state of the clustered topic definition. This is displayed on
the cluster tab of a topic object, and when displaying cluster topics.
• Version. The version of the IBM MQ installation that the cluster queue manager is associated with.
This is displayed on the cluster-sender channels tab of the queue manager clusters display.
Support to better understand the size of your system
The following parameters are added to the publish/subscribe information reported. They are
displayed on the Publish/Subscribe status page for a given queue manager.
• Sub count. Shows the total number of subscriptions against the local topic tree.
• Topic count. Shows the total number of topic nodes in the local topic tree.
For more information, see “Queue manager Publish/Subscribe Engine status attributes” on page 524.
New connection details properties
For more information, see “Connection details properties” on page 466.
CHCKLOCL
Setting CHCKLOCL to Required for administrators or Required for all stops you from
locally administering the queue manager by way of the runmqsc commands unless you specify the -u
UserID parameter on the runmqsc command line.
For more information, see the CHKLOCL MQSC parameter explanation in the “User ID + Password
page” on page 423 section of “Authentication information properties” on page 420.
Security enabled remote queue manager connections
The SSL cipher specification RC2_MD5_EXPORT is no longer supported. Connections that use this
cipher specification and that are imported into IBM MQ Explorer for IBM MQ 8.0 have a blank SSL
cipher specification setting. A new cipher specification must be selected.
If a connection that was using this cipher specification is imported into IBM MQ Explorer 8 and then
used without changing it, a dialog that contains the IBM MQ error message AMQ4199 is displayed.
Deprecation of specific SSLv3 Cipher Suites
The three SSL cipher specifications listed in Java and JMS: changes to CipherSuite support in the IBM
MQ 8.0 product documentation are no longer supported.
However, you can re-enable other SSLv3 ciphers. See Deprecation: SSLv3 Ciphers in the IBM MQ 8.0
product documentation.
Procedure
• To launch IBM MQ Explorer by using the system menu on Linux, or the start menu on Windows,
left-click the installation that you want to launch.
On Linux, the system menu entry for IBM MQ Explorer is added to the Development
category; where it appears within the system menu is dependent on your Linux distribution (SUSE or
Red Hat®), and your desktop environment (GNOME or KDE).
– On SUSE, left-click Computer > More Applications..., and find the installation of IBM MQ Explorer
that you want to launch under the Development category.
– On Red Hat, the installation of IBM MQ Explorer that you want to launch can be found under
Applications > Programming.
On Windows, open the start menu, and select the IBM MQ Explorer installation entry
under the IBM MQ group that corresponds to the installation that you want to launch. Each instance of
IBM MQ Explorer listed is identified by the name that you chose for its installation.
• To launch IBM MQ Explorer from the command line, enter the MQExplorer command.
The MQExplorer command is in MQ_EXPLORER_INSTALLATION_PATH, where
MQ_EXPLORER_INSTALLATION_PATH is the installation path for the stand-alone IBM MQ Explorer.
MQExplorer.exe (the launch MQExplorer command) supports standard Eclipse runtime options
including the following options:
-clean
Clean the caches used by the eclipse runtime to store bundle dependency resolution and eclipse
extension registry data. Using this option forces eclipse to reinitialize these caches.
-initialize
Initializes the configuration being run. All runtime-related data structures and caches are
refreshed. Any user/plugin defined configuration data is not purged. No application is run, any
product specifications are ignored and no UI is presented (for example, the splash screen is not
drawn).
8 IBM MQ Explorer
For more information about the MQExplorer command, see MQExplorer (launch IBM MQ Explorer).
What to do next
For more information about multiple installations of IBM MQ, see “Multiple installations of IBM MQ
Explorer” on page 9.
To trace IBM MQ Explorer, use one of the following commands:
Procedure
To install IBM MQ Explorer into a compatible Eclipse-based environment:
1. Click Help and then click Install New Software in the Eclipse environment.
2. Click Add and then click Archive, and then browse to the mqexplorer/eclipse directory inside the
IBM MQ installation directory. Select the file MQExplorerSDK.zip.
3. Click OK after optionally typing a name for the local site.
4. A category of MQ Explorer is displayed. Expand this category and select MQ Explorer and optionally,
the translations.
5. Click Next and follow the instructions. Then, click the button to restart Eclipse (or the Eclipse-based
product).
If the installation fails due to a missing bundle, for example, org.eclipse.draw2d, you must install
the Eclipse Graphical Editing Framework (GEF) tools.
6. IBM MQ Explorer is available as a separate perspective. To view, click Open perspective, and then
click Other.
10 IBM MQ Explorer
What to do next
If IBM MQ Explorer is being used to administer only remote queue managers, no further configuration is
required. If there are local queue managers to administer, you must run the Eclipse-based product with
the required environment settings for your operating system. In addition, the Eclipse-based product must
be a 64-bit application to match the 64-bit local queue managers.
On Windows, set the PATH environment variable to include the bin64 and java/lib64
directories of your IBM MQ installation. You can use the setmqenv command to do set the PATH
environment variable before you start the Eclipse-based product from the same command line. For
example, if IBM MQ is installed in directory C:\Program Files\IBM\MQ, and the stand-alone IBM
MQ Explorer is installed in directory C:\Program Files\IBM\MQ Explorer, enter the following
commands:
"C:\Program Files\IBM\MQ\bin\setmqenv" -s
"C:\Program Files\IBM\MQ Explorer\MQExplorer.exe"
. /opt/mqm/bin/setmqenv -s
• Set the LD_LIBRARY_PATH environment variable to include the java/lib64 and lib64 directories of
your IBM MQ installation before you run the Eclipse-based product. For example, if IBM MQ is installed
in /opt/mqm:
export LD_LIBRARY_PATH=/opt/mqm/java/lib64:/opt/mqm/lib64:$LD_LIBRARY_PATH
• Start the Eclipse-based product from the same command line that ran the setmqenv command. For
example, if IBM MQ Explorer is installed in directory /opt/mqexplorer enter the following command:
. /opt/mqexplorer/MQExplorer
Related tasks
“Collecting IBM MQ Explorer trace in other Eclipse environments” on page 230
By using a variant of the runwithtrace command, you can collect trace from an instance of IBM MQ
Explorer that is installed into your own Eclipse environment or Eclipse-based product.
Procedure
1. Bring focus to a part of the interface; for example, click a folder or hover over a properties dialog.
2. Display the pop-up window help:
Results
The pop-up window help displays.
What to do next
You can change the pop-up window help preferences by following this process: Click Window >
Preferences > Help
The Help Preferences dialog opens.
Procedure
1. In the Navigator view, right-click IBM MQ , then click Properties... The Properties dialog opens.
2. In the Properties dialog, configure any of the following types of property as required:
• General: Basic IBM MQ properties, such as the default location of queue managers on the computer.
• Extended: More advanced IBM MQ properties, such as how EBCDIC newline characters are
converted to ASCII.
• Exits: Configure IBM MQ to use code modules (exits) that you have written yourself.
• Default log settings: Change the location and type of IBM MQ logs.
• ACPI: Specify how IBM MQ should respond when the computer tries to hibernate.
• Alert monitor: Configure IBM MQ to alert you when there is a problem, such as a required queue that
is missing.
Results
Any changes you make to the IBM MQ properties are made for all queue managers and objects on the
computer, unless the individual queue managers are set up differently to override the IBM MQ settings.
12 IBM MQ Explorer
Creating and configuring queue managers and objects
You can create, configure, and delete queue managers and objects in IBM MQ Explorer by using the
Navigator view and Content view.
• Storage classes
Queue managers
A queue manager is a program that provides messaging services to applications. Applications that use the
Message Queue Interface (MQI) can put messages on queues and get messages from queues. The queue
manager ensures that messages are sent to the correct queue or are routed to another queue manager.
The queue manager processes both the MQI calls that are issued to it, and the commands that are
submitted to it (from whatever source). The queue manager generates the appropriate completion codes
for each call or command.
The queue managers are the main components in an IBM MQ messaging network. The queue managers
host the other objects in the network, such as the queues and the channels that connect the queue
managers together. A queue manager must be running to perform the following tasks:
• Start channels
• Process MQI calls
• Create, delete, alter queues and channel definitions
• Run a command server to process MQSC commands
Related tasks
“Creating and configuring queue managers and objects” on page 13
You can create, configure, and delete queue managers and objects in IBM MQ Explorer by using the
Navigator view and Content view.
“Deleting queue managers and objects” on page 41
When you delete a queue manager or an object in IBM MQ Explorer, the queue manager or object no
longer exists on the system.
“Showing or hiding a queue manager” on page 81
By default, the Navigator view shows all of the queue managers on the computer on which IBM MQ
Explorer is installed. However, if you have any queue managers that you are not currently administering,
you can, if you wish, choose to hide them. You can also show and hide remote queue managers.
“Removing a queue manager” on page 90
You can remove a queue manager from IBM MQ Explorer if you no longer want to administer it in IBM MQ
Explorer.
Related reference
“Queue manager properties” on page 315
14 IBM MQ Explorer
You can set properties for both local and remote queue managers.
IBM MQ queues
A queue is a container for messages. Business applications that are connected to the queue manager that
hosts the queue can retrieve messages from the queue or can put messages on the queue.
A queue has a limited capacity in terms of both the maximum number of messages that it can hold and
the maximum length of those messages.
Topics
A topic identifies what a publication is about. A topic is a character string that describes the subject of the
information that is published in a Publish/Subscribe message. As a subscriber, you can specify a topic or
range of topics by using wildcards to receive the information that you require.
A topic identifies what a publication is about and consists of a character string that can be up to 10,240
character long. Topics are key to the successful delivery of messages in a Publish/Subscribe system.
Instead of including a specific destination address in each message, a publisher assigns a topic to each
message. The queue manager matches the topic with a list of subscribers who subscribe to that topic, and
delivers the message to each of those subscribers.
A publisher can control which subscribers receive a publication by choosing carefully the topic that is
specified in the message.
The topic of a message does not have to be defined before a publisher can use it; a topic is created when
it is specified in a publication or subscription for the first time.
16 IBM MQ Explorer
For the latest about topic strings, wildcard characters, special characters, and topic trees, refer to the
following information:
• A topic string can include any character from the Unicode character set, including the space character.
However, there are characters that have special meanings: plus sign (+), number sign (#), asterisk (*),
and question mark (?). For more information about these characters, see Wildcard schemes.
• Topic strings are case-sensitive, and although a null character does not cause an error, do not use null
characters in your topic strings. For the latest information about topic strings, see Using topic strings.
• Each topic that you define is an element, or node, in the topic tree. For the latest information about topic
trees, see Topic trees.
Cluster topics
Topics can be clustered in a similar manner to cluster queues, although an individual topic object can be a
member of only one cluster. A topic is made into a cluster topic by defining, on the topic object, the name
of the cluster that is to host the topic, and the cluster routing mechanism to use for publications on this
topic.
There are two options for routing publications across a publish/subscribe cluster: direct routing and topic
host routing. To choose the message routing to use within the cluster, you set the CLROUTE property on
the administered topic object to one of the following values:
• DIRECT
• TOPICHOST
By default, topic routing is DIRECT. This was the only option prior to IBM MQ 8.0. When you configure
a direct routed clustered topic on a queue manager, all queue managers in the cluster become aware of
all other queue managers in the cluster. When performing publish and subscribe operations, each queue
manager then connects directly to all the others.
18 IBM MQ Explorer
alter only while you are creating a topic. You cannot modify these properties after the IBM MQ topic has
been created.
Subscriptions
A subscription is a record that contains the information about the topic or topics that the subscriber
is interested in and wants to receive information about. Thus, the subscription information determines
which publications get forwarded to the subscriber. Subscribers can receive information from many
different publishers, and the information they receive can also be sent to other subscribers.
Published information is sent in an IBM MQ message, and the subject of the information is identified by
a topic. The publisher specifies the topic when it publishes the information, and the subscriber specifies
the topics on which it wants to receive publications. The subscriber is sent information about only those
topics to which it subscribes.
IBM WebSphere® MQ 7.0 or later queue managers use a Publish/Subscribe Engine to control the
interactions between publishers and subscribers. The Publish/Subscribe Engine receives messages from
publishers, and subscription requests from subscribers (to a range of topics). The Publish/Subscribe
Engine's job is to route the published data to the target subscribers.
Subscribers can specify that they do not want to receive retained publications, and existing subscribers
can ask for duplicate copies of retained publications to be sent to them. For more information on retained
publications, see “Publications” on page 19.
Related tasks
“Configuring publish/subscribe for IBM MQ queue managers” on page 99
In IBM MQ Explorer, you can configure IBM MQ queue managers as Publish/Subscribe Engines to route
messages between publishing applications and subscribing applications. To test your configurations, you
can register as a subscriber, and send and receive test publications if you are authorized to do so.
“Viewing a list of subscribers” on page 108
You can view a list of applications that are subscribed to topics on a Publish/Subscribe Engine, or a list of
applications that are subscribed to a specific topic.
Related reference
“IBM MQ subscription properties” on page 413
You can set properties for all types of subscriptions. Some of the properties do not apply to all types of
subscriptions, some properties are specific to z/OS subscriptions.
“Subscription status attributes” on page 534
The status attributes of subscriptions.
Publications
Publications are messages that are sent by an application to the Publish/Subscribe Engine. The Publish/
Subscribe Engine then sends the messages on to any applications that have subscribed to receive the
messages.
The Publish/Subscribe Engine can handle publications that it receives in different ways, depending on the
type of information contained in the publication.
Retained publications
By default, when the Publish/Subscribe Engine has sent a publication to all interested subscribers, the
Publish/Subscribe Engine deletes the publication. This type of processing is suitable for event information
but is not always suitable for state information. A publisher can specify that the Publish/Subscribe Engine
must keep a copy of a publication, which is then called a retained publication. The copy can be sent
to subsequent subscribers who register an interest in the topic. This means that new subscribers do
not have to wait for information to be published again before they receive it. For example, a subscriber
who registers a subscription to a stock price would receive the current stock price straightaway, without
waiting for the stock price to change (and, therefore, be re-published).
The Publish/Subscribe Engine retains only one publication for each topic, so the old publication is deleted
when a new one arrives. So, ensure that only one publisher is sending retained publications on each topic.
Subscribers can specify that they do not want to receive retained publications, and existing subscribers
can ask for duplicate copies of retained publications to be sent to them.
For more information about how to decide whether to use retained publications, see Retained
publications.
Related concepts
“Publishers and subscribers” on page 98
Publishers and subscribers are applications that send and receive messages (publications) using the
publish/subscribe method of messaging. Publishers and subscribers are decoupled from one another so
that publishers do not know the destination of the information that they send, and subscribers do not
know the source of the information that they receive.
“Topics” on page 16
A topic identifies what a publication is about. A topic is a character string that describes the subject of the
information that is published in a Publish/Subscribe message. As a subscriber, you can specify a topic or
range of topics by using wildcards to receive the information that you require.
Channels
IBM MQ can use three different types of channels: a message channel, an MQI channel, and an AMQP
channel.
Do not confuse these distinct types of channels:
Message channel
A message channel is a unidirectional communications link between two queue managers. IBM MQ
uses message channels to transfer messages between the queue managers. To send messages in
both directions, you must define a channel for each direction.
MQI channel
An MQI channel is bidirectional and connects an application (MQI client) to a queue manager on a
server machine. IBM MQ uses MQI channels to transfer MQI calls and responses between MQI clients
and queue managers.
AMQP channel
An AMQP channel, which is bidirectional and connects an AMQP client to a queue manager on a
server machine. IBM MQ uses AMQP channels to transfer AMQP calls and responses between AMQP
applications and queue managers.
When referring to message channels, the word channel is often used as a synonym for a channel
definition. It is usually clear from the context whether we are talking about a complete channel, which has
two ends, or a channel definition, which has only one end.
20 IBM MQ Explorer
Message channels
Message channel definitions can be one of the following types:
For each channel you must define both ends so that you have a channel definition for each end of the
channel. The two ends of the channel must be compatible types.
You can have the following combinations of channel definitions:
• Sender-Receiver
• Server-Receiver
• Requester-Server
• Requester-Sender (callback)
• Cluster-sender-Cluster-receiver
22 IBM MQ Explorer
Caller Direction of Responder
message flow
Channel type Listener required? Listener required? Channel type
Sender No Caller to Responder Yes Receiver
Server No Caller to Responder Yes Receiver
Server No Caller to Responder Yes Requester
Requester No Responder to Caller Yes Server
Requester Yes Responder to Caller Yes Sender
MQI channels
MQI channels can be one of the following types:
AMQP channels
Listeners
A listener is an IBM MQ process that listens for connections to the queue manager.
Each listener object in IBM MQ Explorer represents a listener process; however, if you start a listener
process from the command line, the listener is not represented by a listener object in IBM MQ Explorer.
Therefore, to administer the listener process from IBM MQ Explorer, create the listener object in IBM MQ
Explorer. When you start the listener object in IBM MQ Explorer, the listener process starts.
There are different types of listener available in IBM MQ, depending on the transport protocol that the
Message Channel Agent (MCA) uses to send and receive messages through the message channels:
• LU6.2
• TCP/IP
• NetBIOS
• SPX
You can initiate new z/OS listeners in IBM MQ Explorer, which are displayed in the Content
view, where they can be started and stopped. Only TCP/IP and LU6.2 are supported for z/OS listeners in
IBM MQ Explorer.
For more information, see Listeners.
Related tasks
“Creating and configuring queue managers and objects” on page 13
You can create, configure, and delete queue managers and objects in IBM MQ Explorer by using the
Navigator view and Content view.
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
“Deleting queue managers and objects” on page 41
When you delete a queue manager or an object in IBM MQ Explorer, the queue manager or object no
longer exists on the system.
Related reference
“Listener properties” on page 389
You can set properties for all types of listeners. Some properties are specific to certain types of listener.
Process definitions
A process definition contains information about the application that starts in response to a trigger event
on a queue manager. When you enable triggering on a queue, you can create a process definition and
associate it with the queue.
Each queue can specify a different process definition, or several queues can share the same process
definition. If you create a process definition, the queue manager extracts the information from the
process definition and places it in the trigger message for the trigger monitor to use.
If you want to trigger the start of a channel, instead of an application, you do not need to create a process
definition because the transmission queue definition is used instead.
24 IBM MQ Explorer
For more information, see Process definitions.
Related concepts
“Trigger monitors” on page 30
A trigger monitor is an application that processes the trigger messages that are put on initiation queues
when a trigger event occurs.
Related tasks
“Creating and configuring queue managers and objects” on page 13
You can create, configure, and delete queue managers and objects in IBM MQ Explorer by using the
Navigator view and Content view.
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
“Deleting queue managers and objects” on page 41
When you delete a queue manager or an object in IBM MQ Explorer, the queue manager or object no
longer exists on the system.
Related reference
“Process definition properties” on page 418
You can set properties for process definitions. Some properties do not apply to all types of process
definitions. Some of the properties are specific to z/OS process definitions.
Namelists
A namelist is an IBM MQ object that contains a list of names of other objects.
Typically, namelists are used by applications such as trigger monitors, where they are used to identify a
group of queues, or with queue manager clusters to maintain a list of clusters referred to by more than
one IBM MQ object. Namelists are also used to maintain lists of authentication information objects, which
contain the authentication information about connections to LDAP servers.
For more information, see Namelists.
Related concepts
“Queue manager clusters” on page 33
A cluster is a group of two or more queue managers that are logically associated and can share
information with each other. Any queue manager can send a message to any other queue manager in
the same cluster without you needing to set up a specific channel definition, remote queue definition, or
transmission queue, because all of this information is held in the repository, to which all queue managers
in the cluster have access.
“Trigger monitors” on page 30
A trigger monitor is an application that processes the trigger messages that are put on initiation queues
when a trigger event occurs.
“Authentication information” on page 26
Authentication information objects contain connection details of servers that can be used to determine
revocation status certificates.
Related tasks
“Creating and configuring queue managers and objects” on page 13
You can create, configure, and delete queue managers and objects in IBM MQ Explorer by using the
Navigator view and Content view.
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
“Deleting queue managers and objects” on page 41
Authentication information
Authentication information objects contain connection details of servers that can be used to determine
revocation status certificates.
An authentication information object contains authentication information that is used when checking
whether a TLS certificate is revoked or not. The following table shows the IBM MQ TLS authentication
information support for different platforms:
For information about working with CRL & LDAP, see: “Working with revoked certificates” on page 27.
For information about working with OCSP, see: “Working with Online Certificate Status Protocol (OCSP)”
on page 27.
For information about controlling access at a channel level, see Channel authentication records.
Related concepts
“Namelists” on page 25
A namelist is an IBM MQ object that contains a list of names of other objects.
Related tasks
“Creating and configuring queue managers and objects” on page 13
You can create, configure, and delete queue managers and objects in IBM MQ Explorer by using the
Navigator view and Content view.
“Deleting queue managers and objects” on page 41
When you delete a queue manager or an object in IBM MQ Explorer, the queue manager or object no
longer exists on the system.
“Configuring TLS on queue managers” on page 129
After starting the IBM strmqikm (iKeyman) GUI, you can use it to manage TLS certificates. You can also
authenticate certificates by using either Certificate Revocation Lists or OCSP authentication.
Related reference
“Authentication information properties” on page 420
26 IBM MQ Explorer
You can set properties for all types of authentication information objects. Some of the properties do
not apply to all types of authentication information objects, and some properties are specific to z/OS
authentication information objects.
To check the revocation status of a digital certificate using OCSP, IBM MQ determines which OCSP
responder to contact in one of two ways:
• Using the AuthorityInfoAccess (AIA) certificate extension in the certificate to be checked.
• Using a URL specified in an authentication information object or specified by a client application.
A URL specified in an authentication information object or by a client application takes priority over a URL
in an AIA certificate extension.
The URL of the OCSP responder might lie behind a firewall; if so, reconfigure the firewall so the OCSP
responder can be accessed or set up an OCSP proxy server. Specify the name of the proxy server by using
the SSLHTTPProxyName variable in the SSL stanza. On client systems, you can also specify the name of
the proxy server by using the environment variable MQSSLPROXY.
If you are not concerned whether TLS certificates are revoked, perhaps because you are running in a test
environment, you can set OCSPCheckExtensions to NO in the SSL stanza. If you set this variable, any AIA
certificate extension is ignored. This solution is unlikely to be acceptable in a production environment,
where you probably do not want to allow access from users presenting revoked certificates.
The call to access the OCSP responder can return one of the following three outcomes:
Good
The certificate is valid.
Revoked
The certificate is revoked.
Unknown
This outcome can arise for one of three reasons:
• IBM MQ cannot access the OCSP responder.
• The OCSP responder has sent a response, but IBM MQ cannot verify the digital signature of the
response.
• The OCSP responder has sent a response that indicates that it has no revocation data for the
certificate.
By default, IBM MQ rejects a connection if it receives an OCSP response of Unknown, and issues an error
message. You can change this behavior by setting the OCSPAuthentication attribute. This is held in the
SSL stanza of the qm.ini file for AIX and Linux systems, the WebSphere registry, or the SSL stanza of the
client configuration file. It can be set using the IBM MQ Explorer on applicable platforms.
28 IBM MQ Explorer
If an outcome of Unknown is received and OCSPAuthentication is set to REQUIRED (the default value),
IBM MQ rejects the connection and issues an error message of type AMQ9716. If queue manager
SSL event messages are enabled, an SSL event message of type MQRC_CHANNEL_SSL_ERROR with
ReasonQualifier set to MQRQ_SSL_HANDSHAKE_ERROR is generated.
If an outcome of Unknown is received and OCSPAuthentication is set to OPTIONAL, IBM MQ allows the
SSL channel to start and no warnings or SSL event messages are generated.
If an outcome of Unknown is received and OCSPAuthentication is set to WARN, the SSL channel
starts but IBM MQ issues a warning message of type AMQ9717 in the error log. If queue manager
SSL event messages are enabled, an SSL event message of type MQRC_CHANNEL_SSL_WARNING with
ReasonQualifier set to MQRQ_SSL_UNKNOWN_REVOCATION is generated.
Trigger monitors
A trigger monitor is an application that processes the trigger messages that are put on initiation queues
when a trigger event occurs.
If triggering is enabled for a queue and a trigger event occurs, the queue manager sends a trigger
message to the initiation queue. The trigger monitor reads the trigger message and takes appropriate
action, based on the data in the trigger message. Normally, this action would be to start some other
application to process the queue that caused the trigger message to be generated. From the point of view
of the queue manager, there is nothing special about a trigger monitor; it is just another application that
reads messages from a queue (the initiation queue).
When you have started a trigger monitor, it just continues monitoring the specified initiation queue. You
cannot stop a trigger monitor directly. When you stop the trigger monitor's queue manager, the trigger
monitor stops too.
For more information, see Trigger monitors.
Related concepts
“Channel initiators” on page 31
A channel initiator is an application that processes the trigger messages that are put on initiation queues
when a trigger event occurs. A channel initiator is a special type of trigger monitor that starts channels
rather than applications.
Related tasks
“Starting a trigger monitor” on page 78
30 IBM MQ Explorer
To start a trigger monitor, you must first create a service that will start the trigger monitor.
Channel initiators
A channel initiator is an application that processes the trigger messages that are put on initiation queues
when a trigger event occurs. A channel initiator is a special type of trigger monitor that starts channels
rather than applications.
If triggering is enabled for a queue and a trigger event occurs, the queue manager sends a trigger
message to the initiation queue. The channel initiator processes the trigger message and starts the
channel. From the point of view of the queue manager, there is nothing special about a channel initiator; it
is just another application that reads messages from a queue (the initiation queue).
Because a channel initiator is just a special type of trigger monitor, when you have started a channel
initiator, it just continues monitoring the specified initiation queue. You cannot stop a channel initiator
directly. When you stop the channel initiator's queue manager, the channel initiator stops too.
You also cannot create or delete a channel initiator. A channel initiator is created or deleted when its
queue manager is created or deleted.
Related concepts
“Trigger monitors” on page 30
A trigger monitor is an application that processes the trigger messages that are put on initiation queues
when a trigger event occurs.
Related tasks
“Starting a channel initiator” on page 80
To start a channel initiator, you must first create a service that will start the channel initiator.
Custom services
Custom services are services that you create to run commands automatically.
Custom services are stored in the Services folder on the queue manager to which the services belong.
You can specify the command and other options that are run when the service starts and stops. You can
automate a service to start and to run the command when the queue manager starts.
An example of when you might want to create a service is for starting a trigger monitor when the queue
manager starts.
Related tasks
“Creating and configuring queue managers and objects” on page 13
You can create, configure, and delete queue managers and objects in IBM MQ Explorer by using the
Navigator view and Content view.
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
“Deleting queue managers and objects” on page 41
When you delete a queue manager or an object in IBM MQ Explorer, the queue manager or object no
longer exists on the system.
Related reference
“Service properties” on page 399
You can configure properties for custom service objects in the Service properties dialog.
Storage classes
Storage classes can exist only on z/OS queue managers. A storage class maps one or more queues to a
page set. This means that the messages on the queues are stored on the page set.
You can use storage classes to control where non-shared message data is stored for administrative, data
set space and load management, or application isolation purposes. Only queues that are not shared store
their messages on page sets. Therefore, shared queues do not use storage classes. The messages on
shared queues are stored in coupling facility structures instead.
Shared queues
A shared queue is a queue that has been defined on a queue manager in a queue sharing group and
has the queue sharing group disposition of Shared. A shared queue's object definition is stored in the
queue sharing group's shared repository on Db2®, and the messages on the shared queue are stored in a
coupling facility structure on a physical coupling facility.
All of the queue managers in the queue sharing group can access the shared queue, which means that
they can put and get messages on the shared queue without needing active channels. Because any queue
manager can access the shared queue, an application is not dependent on the availability of any one
queue manager.
All of the shared queues that belong to a queue manager are shown in the queue manager's folder. All of
the shared queues in a queue sharing group are also shown in the queue sharing group's Shared Queues
folder.
Group definitions
Group definitions is the collective term for IBM MQ objects that are defined on queue managers in a
queue sharing group and have the queue sharing group disposition of Group. Any IBM MQ object that can
be defined on a z/OS queue manager can have the queue sharing group disposition of Group. When you
create a group definition object, the definition of the object is stored in the shared repository on Db2.
IBM MQ automatically creates a copy of the object (with queue sharing group disposition Copy) for
each queue manager and stores it on the queue manager's page set zero with the queue manager's
private objects, which have disposition Private. A page set is a data set that is specially formatted for
use by IBM MQ. The messages on queues that have disposition Copy are also stored on page sets but
they should not be stored on page set zero because if page set zero gets full, IBM MQ cannot function
correctly. You can specify which page set the messages are stored on by creating one or more storage
class objects which map the queues to page sets.
32 IBM MQ Explorer
All of the group definitions that belong to a queue manager are shown in the queue manager's folder.
All of the group definitions in a queue sharing group are also shown in the queue sharing group's Group
Definitions folder.
Related concepts
“Coupling facility structures” on page 33
The coupling facility objects in IBM MQ Explorer represent coupling facility structures on a physical
coupling facility. Coupling facility structures store the messages that are on shared queues. Each coupling
facility structure used by IBM MQ is dedicated to a specific queue sharing group, but a coupling facility
can hold structures for more than one queue sharing group.
“IBM MQ queues” on page 15
A queue is a container for messages. Business applications that are connected to the queue manager that
hosts the queue can retrieve messages from the queue or can put messages on the queue.
“Storage classes” on page 31
Storage classes can exist only on z/OS queue managers. A storage class maps one or more queues to a
page set. This means that the messages on the queues are stored on the page set.
Note that sharing a queue in a cluster (a cluster queue) is different from sharing a queue
in a queue sharing group (a shared queue) on z/OS queue managers. However, on z/OS, a cluster queue
manager can also belong to a queue sharing group and can share its queue definitions with other queue
managers in the queue sharing group.
Also, a queue manager on any platform can be a member of more than one cluster at the same time.
Cluster support also allows more than one queue manager to host an instance of the same queue
(that is, a queue with the same name). This means that you can run more than one instance of an
application, each receiving messages and running independently, thus spreading the workload between
queue managers.
For more information, see Distributed queuing and clusters.
Related concepts
“Cluster repositories” on page 121
A cluster repository contains information about the cluster; for example, information about the queue
managers that are members of the cluster, and the cluster channels. Repositories are hosted by the
queue managers in the cluster.
“IBM MQ queues” on page 15
A queue is a container for messages. Business applications that are connected to the queue manager that
hosts the queue can retrieve messages from the queue or can put messages on the queue.
Procedure
1. In the Navigator view, expand the initial context that contains the JMS object (either a JMS queue or a
JMS topic), then click the Destinations folder to list the objects in the Content view.
2. In the Content view, right-click the object, then click Create MQ Queue or Create MQ Topic as
appropriate.
The New Queue or New Topic wizard opens as appropriate.
34 IBM MQ Explorer
3. In the wizard, click Select, then select the queue manager on which you want to create the new IBM
MQ object.
The queue manager's name is displayed in the Queue Manager field of the wizard.
4. Work through the wizard to define the new IBM MQ object, then click Finish.
Results
The new IBM MQ object is created and displayed under the appropriate queue manager in IBM MQ
Explorer.
What to do next
To view the new MQ object, in the Navigator view, expand the name of the queue manager on which you
created the MQ object. You can now continue to configure the IBM MQ object as necessary.
To create an MQ object and a JMS object simultaneously, follow the instructions in: “Creating an IBM MQ
object and a JMS object simultaneously” on page 35 or “Creating a JMS object and an IBM MQ object
simultaneously” on page 184.
Related tasks
“Creating and configuring queue managers and objects” on page 13
You can create, configure, and delete queue managers and objects in IBM MQ Explorer by using the
Navigator view and Content view.
“Adding a queue manager from a JMS connection factory” on page 42
You can add an existing queue manager to IBM MQ Explorer from a JMS connection factory that uses MQ
MQI client transport (not bindings transport) and that specifies the host name and port that corresponds
with the queue manager.
“Creating a JMS object and an IBM MQ object simultaneously” on page 184
When you create a new JMS object, you can optionally create a corresponding IBM MQ object of the same
type.
“Creating an IBM MQ object and a JMS object simultaneously” on page 35
When you create a new IBM MQ object, you can optionally create a corresponding JMS object of the same
type.
Procedure
• [OPTION 1] Create an IBM MQ queue and a JMS queue simultaneously.
When you create a new IBM MQ queue in IBM MQ Explorer, you can choose to launch the New JMS
Queue wizard to create a JMS queue immediately after the IBM MQ New Local Queue wizard has
finished. The New JMS Queue wizard now contains the details you entered when creating the IBM MQ
queue.
a) Select the queue manager you want to add a new IBM MQ queue to in the Navigator view, and
right-click on its Queues queue manager object folder.
b) Click New > Local Queue to open the New Local Queue wizard.
c) Type a name for your queue, then select Start wizard to create a matching JMS Queue. Work
through the wizard to create your queue.
After you have completed the New Local Queue wizard, the New Destination New JMS Queue wizard
opens, with many of the IBM MQ queue details mapped to the JMS queue.
• [OPTION 2] Create an IBM MQ topic and a JMS topic simultaneously.
When you create a new IBM MQ topic in IBM MQ Explorer, you can choose to launch the New JMS
Topic wizard to create a JMS topic immediately after the IBM MQ New Topic wizard has finished. The
New JMS Topic wizard now contains the details you entered when creating the IBM MQ topic.
a) Select the queue manager you want to add a new IBM MQ topic to in the Navigator view, and
right-click on its Topics queue manager object folder.
b) Click New > Topic to open the New Topic wizard.
c) Type a name for your topic, then select Start wizard to create a matching JMS topic. Work
through the wizard to create your topic.
Once you have completed the New Topic wizard, the New Destination New JMS Topic wizard opens,
with many of the IBM MQ topic details mapped to the JMS topic.
Related tasks
“Creating a destination” on page 183
A JMS client uses a destination object to specify the target of messages that the JMS client produces
and the source of messages that the JMS client receives. Destination objects can represent queues (for
point-to-point messaging) or topics (for publish/subscribe messaging).
“Creating an IBM MQ object from a JMS object” on page 34
You can create new IBM MQ queues and topics based on your existing JMS queues and topics. The values
of relevant properties of the JMS object are copied to the new IBM MQ object. In future, however, if you
make a change to one of the objects, the changes are not reflected in the other object.
“Creating a JMS object from an IBM MQ object” on page 186
You can create new JMS administered objects based on your existing IBM MQ objects.
Related reference
“Destination properties” on page 500
You can view and set destination properties in the Destination properties dialog. The properties that are
available in the dialog depend on the type of destination.
“Connection factory properties” on page 469
36 IBM MQ Explorer
You can view and set connection factory properties in the Connection Factory properties dialog. The
properties that are available in the dialog depend on which messaging provider the connection factory
uses.
Attention: Security policies for AMS are not manageable by IBM MQ Explorer for IBM MQ for
z/OS.
On the z/OS platform you must use CSQ0UTIL.
To configure a queue manager or object using the properties dialog, complete the following steps.
Procedure
1. In the Navigator view, click the relevant folder to list its contents in the Content view.
For example, if you want to configure a queue, click the Queues folder to list the queue manager's
queues in the Content view.
2. In the Content view, right-click the queue manager or object, then click Properties.
The properties dialog for the queue manager or object opens.
3. Edit the properties as required.
4. To apply the changes without closing the dialog, click Apply, or to close the dialog and save your
changes, click OK.
Results
You can see many of your changes immediately but some changes, for example, changing the default
location of the queue manager's TLS key repository, do not take effect until you have stopped and
restarted the queue manager.
Example
For more information about the properties of each type of object, see the following topics:
• Queue manager properties
• Queue properties
• Channel properties
• Listener properties
• Queue manager manual set properties
• Queue manager automatic set properties
• Topic properties
• Service properties
• Subscription properties
• Process definition properties
• Namelist properties
• Authentication information properties
38 IBM MQ Explorer
– One or more applications have the queue open which resolved through this definition as a queue
manager alias.
Related tasks
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
Related reference
“IBM MQ queue properties” on page 358
The properties that you can set for a queue depend on the type of queue. Different types of IBM MQ
queues have different properties. Some of the properties do not apply to all types of queue, some
properties are specific to cluster queues, and some properties are specific to z/OS queues.
Procedure
1. In the Content view, right-click the object that you want to compare, then click Compare with...
The Compare With dialog opens.
2. In the Compare With dialog, select the object to compare with:
• To compare with an object on the same queue manager, select the name of the object that you
want to compare with from the With container, and then browse for the queue manager or queue
with which to compare it.
• To compare with a queue on a different queue manager:
a. Select a queue manager from the On Queue Manager list.
b. Select the name of the object that you want to compare with from the With container.
• If you are comparing queue managers instead of queues, the option to browse for a queue is not
available.
Results
By default, the show differences only check box is selected so that only the properties that are different
are listed. To show all of the properties of each queue, clear the show differences only check box.
Related reference
“Properties” on page 308
Use this information to find out about the properties that you can view and edit, including properties
that apply to the whole IBM MQ installation and the properties of an individual IBM MQ object such as a
queue, a queue manager, or a channel.
Procedure
In the Content view, right-click the sender or server channel definition, then click Ping.
Results
If the channel is correctly defined, a message is displayed saying: IBM MQ successfully sent data
to the remote queue manager and received the data returned. (AMQ4006)
If the channel is not correctly defined, an error message is displayed describing why you could not ping
the channel.
Related tasks
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
Related reference
“Channel properties” on page 369
You can set properties for all types of channels, including client-connection channels. Some properties
are specific to certain types of channel.
Procedure
1. In the Navigator view, click the Channels folder to display the channels in the Content view.
2. In the Content view, right-click the channel, then click Purge.
Procedure
1. In the Navigator view, click the Channels folder to display the channels in the Content view.
2. In the Content view, right-click the channel, then click Start.
40 IBM MQ Explorer
3. In the Purge Channel window, optionally specify that channels associated with a particular client ID
are purged.
4. Click OK to purge the channel.
Results
The channel is purged.
Procedure
1. In the Navigator view, click the relevant folder to list its contents in the Content view. For example, if
you want to delete a queue, click the Queues folder to list the queues for the selected queue manager
in the Content view.
2. In the Content view, right-click the queue manager or object, then click Delete.
To delete multiple objects, hold down the Shift or Ctrl key, select the objects you want to delete,
right-click the selected objects, then click Delete.
If you are deleting a queue and the queue contains messages, a dialog asks if you want to clear the
messages first. You cannot delete a queue without clearing its messages first.
3. When you are prompted, click Delete to confirm that you want to delete the queue manager or object.
Results
The queue manager or object is deleted from the system and any applications that need the queue
manager or object no longer work properly.
Related tasks
“Creating and configuring queue managers and objects” on page 13
You can create, configure, and delete queue managers and objects in IBM MQ Explorer by using the
Navigator view and Content view.
“Sending test messages” on page 71
Procedure
1. In the Navigator view, click the Connection Factories folder that contains the connection factory to
display the connection factory in the Content view.
2. In the Content view, right-click the connection factory, then click Add Queue Manager.
IBM MQ Explorer tries to add the queue manager to the Queue Managers folder using the connection
details in the connection factory.
3. When prompted, click Yes.
Results
The queue manager is added to the Queue Managers folder using the connection details that are specified
in the connection factory. It is possible for the same queue manager to be shown more than once in the
Queue Managers folder if each connection uses different connection details; for example, a local queue
manager could be connected using 'localhost' as the host name, and it could also be connected using the
IP address of the host as the host name.
What to do next
If you specify the queue manager's name with a * wildcard, you will be prompted that the determined
queue manager could change each time the same connection factory is used.
If you specify the queue manager's name with a * wildcard and the connection fails, you will not be able
to add the disconnected queue manager to the explorer, as the name will be undetermined.
It is not necessary for the JMS connection factory to specify the host name and port that corresponds
with the queue manager, a client channel definition table (CCDT) can be used instead. For more
information, see Client channel definition table.
Related tasks
“Creating and configuring queue managers and objects” on page 13
You can create, configure, and delete queue managers and objects in IBM MQ Explorer by using the
Navigator view and Content view.
“Creating an IBM MQ object from a JMS object” on page 34
42 IBM MQ Explorer
You can create new IBM MQ queues and topics based on your existing JMS queues and topics. The values
of relevant properties of the JMS object are copied to the new IBM MQ object. In future, however, if you
make a change to one of the objects, the changes are not reflected in the other object.
Procedure
• [OPTION 1] View the system parameters.
When the z/OS queue manager starts, it loads its system parameter module which sets the queue
manager's initial system parameter values. When the queue manager is running, you can monitor and
administer it from IBM MQ Explorer and, therefore, view the queue manager's initial system parameter
values.
a) In the Navigator view, right-click the queue manager, then click the relevant menu item to view the
initial parameter values that you are interested in:
– To view the log archive settings, click Configuration > Archive
– To view the log settings, click Configuration > Log
– To view the connection and tracing settings, click Configuration > System
A dialog opens. In the dialog, the Initial table contains the values of the system parameters that were
loaded from the system parameter module when the queue manager started.
• [OPTION 2] Override system parameters while the queue manager is running.
While the queue manager is running, you can change and temporarily override certain system
parameter values. You can make these changes from IBM MQ Explorer.
a) In the Navigator view, right-click the queue manager, then click the relevant menu item to view the
initial parameter values that you are interested in:
– To view the log archive settings, click Configuration > Archive
44 IBM MQ Explorer
Procedure
• [OPTION 1] View the queue manager security settings
There can be none, one, or more security switches present that determine the security of the queue
manager. The switches can be set on or set off, and the setting of the switches is determined by the
presence or absence of switch profiles. In IBM MQ Explorer, you can view but not configure the setting
of the security switches.
a) In the Navigator view, right-click the queue manager, then click Configuration > Security.
The Security dialog opens. The Security Switches table displays all the security switches that are
present, and are relevant to the queue manager. The table shows whether each security switch is set
on or set off, and which profile determined this setting.
• [OPTION 2] Configure the timeout period for user IDs
If a user is authenticated to access a resource on the queue manager but then doesn't access any of
the queue manager's resources for a predetermined length of time, the user's user ID is timed out.
IBM MQ can make regular checks to determine whether a user ID has timed out. In IBM MQ Explorer,
you can configure the length of the timeout period, and the frequency of checks to determine whether
the timeout period has expired.
a) In the Navigator view, right-click the queue manager, then click Configuration > Security. The
Security dialog opens.
b) In the Security dialog, click Properties.... The Properties dialog opens.
c) In the Properties dialog, edit the parameters that you want to change.
For example, if the Security timeout value is 30 and the Security interval value is 10,
every 10 minutes IBM MQ checks user IDs and their associated resources to determine whether
any have not been used for 30 minutes. If a timed-out user ID is found, that user ID is signed off
within the queue manager. If any timed-out resource information associated with non-timed out
user IDs is found, that resource information is discarded. If you do not want to time-out user IDs,
set the Security interval value to zero. However, if the Interval value is zero, storage occupied
by user IDs and their associated resources is not freed until you issue a REFRESH SECURITY or
RVERIFY SECURITY command from the command line.
d) Click OK to close the Properties dialog.
The changes are shown in the table in the Security dialog.
Related reference
“Queue manager properties” on page 315
You can set properties for both local and remote queue managers.
You can extend the supplied set of tests to include your own custom tests so that IBM MQ Explorer can
provide feedback that is directly relevant to how you use IBM MQ. For instructions and sample custom
tests, see Adding new tests.
Related tasks
“Enabling installed plug-ins” on page 221
If a new plug-in that you install in IBM MQ Explorer is not enabled by default, you can enable it by using
the Preferences dialog.
“Running tests” on page 46
The tests in IBM MQ Explorer are run as test configurations. A test configuration contains a selection
of tests and a list of objects (or types of object) against which the tests are run when you run the test
configuration.
“Adding new tests” on page 56
You can extend the set of tests that is supplied with IBM MQ Explorer to include your own custom tests.
Running tests
The tests in IBM MQ Explorer are run as test configurations. A test configuration contains a selection
of tests and a list of objects (or types of object) against which the tests are run when you run the test
configuration.
46 IBM MQ Explorer
You can also create and edit your own test configurations to include new tests that you have written
yourself or that you have obtained from a third party. For more information, see “Creating and running
your own test configuration” on page 47.
When you have run a test configuration, you can rerun an individual test without editing the test
configuration. For more information, see “Rerunning an individual test” on page 48.
Related tasks
“Adding new tests” on page 56
You can extend the set of tests that is supplied with IBM MQ Explorer to include your own custom tests.
“Testing your object definitions for problems” on page 45
You can use the IBM MQ Explorer tests to check your object definitions for errors and potential problems.
Procedure
In the Navigator view, right-click the object or folder against which you want to run the tests, then click
Tests > Run Default Tests.
While the tests are running, click Run in Background on the progress bar to run the tests in the
background while you continue working. Alternatively, on the General page of the Preferences dialog,
select the Always run in background check box. To view the progress of the tests while they run in the
background, open the Progress view: click Window > Show View > Other then click Basic > Progress.
Results
When the test run has finished, a confirmation message is displayed. You can switch off this confirmation
message in the Preferences dialog.
The first time that you run any tests, the Test Results view opens within the IBM MQ Explorer window.
The test results are displayed in the Test Results view.
Related tasks
“Creating and running your own test configuration” on page 47
To have more control over the tests that are run or to include new tests that you have written, you can
create and edit your own test configurations.
Results
When the test run has finished, a confirmation message is displayed. You can switch off this confirmation
message in the Preferences dialog.
The first time that you run any tests, the Test Results view opens within the IBM MQ Explorer window.
The test results are displayed in the Test Results view.
Related tasks
“Adding new tests” on page 56
You can extend the set of tests that is supplied with IBM MQ Explorer to include your own custom tests.
“Running the default tests” on page 47
The default test configuration contains the tests that are appropriate for the type of object against which
you are running the test configuration.
48 IBM MQ Explorer
Procedure
To rerun an individual test: In the Test Results view, right-click the test result, then click Run This Test
Again.
The test that generated the selected test result is run again and the test results generated by that test are
updated in the Test Results view.
Related tasks
“Running tests” on page 46
The tests in IBM MQ Explorer are run as test configurations. A test configuration contains a selection
of tests and a list of objects (or types of object) against which the tests are run when you run the test
configuration.
Results
The Test Results view is refreshed to show only the test results that match the filter criteria.
Any changes you make in this dialog are applied to all views that list problems.
Related tasks
“Viewing test results” on page 49
You can view test results in the Test Results view, which shows the results of the last test configuration
run. You can filter or sort the test results that are displayed in the Test Results view.
“Sorting test results in the Test Results view” on page 50
You can sort the test results in the Test Results view by specifying which column to sort by and whether
to display the results in ascending or descending order.
Procedure
1. In the Test Results view, click the column header called Description to sort the test results in
descending order by description.
2. In the Test Results view, click the column header called Description again to sort the test results in
ascending order by description.
Related tasks
“Viewing test results” on page 49
You can view test results in the Test Results view, which shows the results of the last test configuration
run. You can filter or sort the test results that are displayed in the Test Results view.
“Filtering test results in the Test Results view” on page 49
You can filter the test results that are displayed in the Test Results view so that you can, for example,
limit the number of results that are shown at one time, filter the results to show only the errors, or show
only results that contain a specific string.
50 IBM MQ Explorer
• Channel tests
• Listener tests
• Triggering tests
• TLS tests
The tests listed in the following tables are supplied with IBM MQ Explorer to check your IBM MQ object
definitions for problems. There are other tests supplied with IBM MQ Explorer to check objects such as
JMS administered objects for example; such tests are not included in the following table.
General
The following table lists the tests that check for general problems in your IBM MQ definitions.
Clusters
The following table lists the tests that check for problems in your cluster definitions.
Queues
The following table lists the tests that check for problems in your queue definitions.
52 IBM MQ Explorer
Test Action Description
Verify that queues Verifies that all known This test verifies that all queues are get-enabled.
are get-enabled queues are not get Although it is not an error if a queue is not get-enabled,
inhibited it might be useful to check for this when trying to
identify the cause of unexpected behavior in your
applications.
Verify that queues Verifies that all known This test verifies that all queues are put-enabled.
are put-enabled queues are not put Although it is not an error if a queue is not put-enabled,
inhibited it might be useful to check for this when trying to
identify the cause of unexpected behavior in your
applications.
Verify remote Verifies remote queue This test verifies the Remote Queue Manager and
queue definitions definitions Remote Queue Name attributes of remote queue
definitions.
Verify use Verifies the usage of This test checks the value of the Transmission
of transmission transmission queues Queue attribute in remote queue definitions. The test
queue in queues in remote queue displays errors if the value is the name of a queue that
definitions does not exist or a queue of the wrong type.
Channels
The following table lists the tests that check for problems in your channel definitions.
Listeners
The following table lists the tests that check for problems in your listener definitions.
Triggering
The following table lists the tests that check for problems in your triggering configuration.
54 IBM MQ Explorer
Test Action Description
Verify process Validates process object This test validates IBM MQ process definitions. The test
definitions definitions checks that system processes that are specified in the
object's Application ID attribute exist. Where the
Application ID attribute does not give an absolute
path, the test also displays a warning if multiple system
processes with the given name can be found in the path
environment.
Verify process Verifies usage of process This test validates the Process Name attribute of
definitions of attribute of triggered local and model queues and displays errors for process
queues queues names for which an IBM MQ process object definition
cannot be found.
Verify trigger data Verifies usage of trigger This test validates the Trigger Data attribute of local
queue definitions data queue attribute of and model queues and displays errors for names for
triggered queues which a channel cannot be found.
Verify use of Verifies usage of trigger If a queue meets its trigger conditions but the queue is
triggered queues queues not currently open for input, the test displays an error.
SSL/TLS
The following table lists the tests that check for problems in your SSL/TLS configuration.
Related tasks
“Adding new tests” on page 56
56 IBM MQ Explorer
Procedure
1. Open the Plug-in Development perspective.
2. In the Package Explorer view, right-click, then click New > Plug-in Project. The New Plug-in Project
wizard opens.
3. In the Project name field, type a name for the project that contains your new tests.
4. Click Next.
5. Edit the details in the Version, the Name, and the Vendor fields, and then click Finish.
Note the value in the ID field can be different from the value that you entered in the Name field on the
previous page of the wizard. The project name is used only during development; the plugin ID is used
by Eclipse to load and identify the plugin.
The new plug-in project is displayed in the Package Explorer view and the plug-in manifest file is
automatically opened.
6. In the Plug-in Manifest editor, click the Dependencies tab. Two dependencies are already listed in the
Required Plug-ins pane.
7. Add the following plug-ins to the Required Plug-ins pane:
• com.ibm.mq.explorer.tests
• com.ibm.mq.explorer.ui
• com.ibm.mq.pcf.event
• com.ibm.mq.runtime
• org.eclipse.core.resources
If the listed plug-ins are not available, install the Eclipse Graphical Editing Framework (GEF) tools. For
more information, see “Installing IBM MQ Explorer into Eclipse environments” on page 10.
8. Save the MANIFEST.MF file.
Results
The plug-in project is ready to contain tests
Procedure
1. Ensure that the plugin.xml or MANIFEST.MF file is open in the Plug-in Manifest editor.
2. In the Plug-in Manifest editor, click the Extensions tab to display the Extensions page.
3. Click Add....
The New Extension wizard opens.
4. Highlight the com.ibm.mq.explorer.tests.Tests extension point, then click Finish.
The new tests extension is added to the All Extensions pane in the Plug-in Manifest editor.
5. Click the new test to highlight it, then enter the test's details as shown in the following table:
Results
The plug-in project is now configured to contain a new test; next you need to write the test itself.
Define a new test for each new test that you want to write.
Procedure
1. In the Extension Element Details pane, click the label of the class field, which is underlined.
The Java Attribute Editor wizard opens.
2. Ensure that only the Inherited abstract methods check box is selected, then click Finish. The Java
class file opens in the Java editor.
3. Save the Plug-in Manifest editor file. Notice that the value in the class field is automatically inserted.
4. Edit the Java source.
5. Document the test in a valid XHTML or HTML file. Save the file with the name and location that is
specified in furtherinfo attribute in the plugin.xml file. The location of the XHTML file might be
local (stored in the same plug-in as the test; for example, in a doc subfolder) or remote (stored on a
web server).
58 IBM MQ Explorer
Results
You have completed writing the test and configuring the plugin that contains the test. Next, export the
plug-in and deploy the plug-in to test it.
Write a new test for each test that you defined in the plugin.xml file.
Procedure
1. In the Package Explorer view, right-click the plugin project, com.ibm.mq.explorer.tests.samples,
then click Export.... The Export... dialog opens.
2. In the Plug-in Development perspective, click Deployable plug-ins and fragments to highlight it,
then click Next.
3. In Directory field, enter the location of the IBM MQ Explorer Tests plugin. The location is
MQ_INSTALLATION_PATH\eclipse, where MQ_INSTALLATION_PATH represents the high-level
directory in which IBM MQ is installed.
4. Select your plug-in in Available Plug-ins and Fragments, and then click Finish.
5. Restart Eclipse, and switch to the IBM MQ Explorer perspective.
Results
You have deployed your new plugin. Now you can run your new tests.
WMQTest interface
Tests written for IBM MQ Explorer must belong to a Java class that extends the provided WMQTest class.
This topic explains the interface and the operation of the provided methods.
• Test attributes - attributes for your test object
• Creating the test - the constructor for test objects
• Test structure - the beginning and end of the test
• Running the test - the main body for tests
• User preferences - accessing the preferences
• Completing the test - marking a test as complete
• Creating a test result - create test results
• Dealing with canceling - what happens if the user wants to cancel a test
• Test documentation - providing more information about the test
Test attributes
Define a test in the plug-in manifest file (plugin.xml) by using a collection of attributes. The attributes
for a test are listed in the following table.
Attribute Description
id A string that provides a unique identifier for the
test.
name A meaningful name for the test.
You specify the values of these attributes in the plugin.xml file to define the test. These attributes can also
be accessed programmatically using the WMQTest methods listed in the following table.
Method Description
getTestID() Returns the test ID.
getTestName() Returns the name of the test.
getDescription() Returns the description of the test.
getTestSet() Returns a handle for the test set object that was
created to be a parent for the test.
getFurtherInfoPath() Returns the location of the XHTML or HTML
document that contains more information about
the test.
Test structure
The WMQTest method runTest defines the body of the test, and is called to start a test running.
The end of the runTest method does not imply the end of the test; you must explicitly specify the end
of the test using the testComplete method. You can implement tests so that they get the object data
asynchronously.
The runTest method submits a request to get data about objects and the test runs from the listener
method that receives the reply. This enables the test to wait for data without you needing to implement
thread waiting; this is demonstrated in Sample 3.
If a manual wait (sleep) is needed as a part of a test, you can use the object monitor for the test object to
use the Java wait and notify methods. The threading of the test engine is implemented without using
the object monitors of individual test objects.
60 IBM MQ Explorer
Running the test
The IBM MQ Explorer Tests engine calls runTest(WMQTestEngine,
IProgressMonitor,contextObjects, treeNode) to start the test running. The main body of your
test must be here.
WMQTestEngine
The WMQTestEngine parameter provides a handle to the test engine that is running the test.
This is provided to allow tests to return results while a test is in progress using the test engine's
returnResult(WMQTestResult[], WMQTest) method.
The first parameter of this method (WMQTestResult[]) contains the results to be returned, and the
second parameter (WMQTest) must be 'this', so that the test engine knows where the results have
come from. Using the WMQTestEngine parameter to return interim results is optional - alternatively,
test results can be returned on test completion (see Completing the test).
IProgressMonitor
The IProgressMonitor parameter provides a handle to the GUI feedback monitor being used for
the current test run. This allows your test to provide both textual feedback on the task and subtasks
currently running, and a progress bar for current completion.
The handle to the Progress Monitor is cached by the default implementation of runTest, so if this
has been used, a handle to the Progress Monitor can also be accessed using the WMQTest method
getGUIMonitor().
The Progress Monitor is a core Eclipse resource. See the Eclipse API documentation on the web for
further advice on using it.
contextObjects
The contextObjects parameter provides an MQExtObject array. The parameter provides the
context of the test to be run so that the relevant check boxes are pre-selected when the user opens
the Run Tests dialog.
treeNode
The treeNode parameter records which folder or object in the Navigator view was clicked to run the
default tests or to open the Run Tests dialog.
User preferences
Tests must conform to the user preferences provided using the Eclipse Preferences dialog. Use the
following methods to access the preferences:
• PreferenceStoreManager.getIncludeHiddenQmgrsPreference() which returns true if you
include queue managers that have been hidden in IBM MQ Explorer in the test, or false if they must be
excluded.
• PreferenceStoreManager.getIncludeSysObjsPreference() which returns true if system
objects (objects which have names beginning with SYSTEM.) must be included in the test, or false
if they must be excluded.
Test documentation
You can provide additional documentation to explain the results that they return, and provide guidance on
what must be done to resolve the problem.
Provide documentation in HTML, with the location identified in the plugin.xml file for the plug-in providing
the test. For details about defining tests in XML, see “Creating a new test” on page 56.
The location of the documentation HTML file can be:
• internal - Stored in the plug-in project providing the test itself. The location must be defined in the XML
relative to the plugin.xml file itself. For example, doc/TestDoc.html
• external - Stored on a web-server, allowing maintenance of the documentation separately from the test
itself. The location must be defined as a complete URL, beginning with 'http://'.
62 IBM MQ Explorer
You can see these categories and test sets if you open the Run Tests dialog (right-click a folder in
the Navigator view, then click Tests > Run custom test configuration) and look at one of the test
configurations on the Tests page of the dialog.
You can create new categories (like the Queue manager tests category). You can also create new test
sets (like the Queues test set) in a category, and even new subsets in an existing test set.
If you create new object types and folders to display in the Navigator view of IBM MQ Explorer and you
want to create tests that verify definitions of the new object types, you can define the new object types so
that they are displayed as options on the Objects page of the Run Tests dialog.
For instructions on creating new tests in an existing test set in the Queue manager tests category, see
Creating a new test. The following instructions describe how to create new categories and test sets, and
define new object types:
• Creating a new test set in an existing category (com.ibm.mq.explorer.tests.Testset)
• Creating a new category and test set (com.ibm.mq.explorer.tests.TestCategorys)
• Defining a new object type to be tested (com.ibm.mq.explorer.tests.ContextGroup)
Do the following tasks in the Plug-in Development perspective.
Procedure
1. On the Extensions page of the plugin.xml file, add the com.ibm.mq.explorer.tests.Testset
extension to the All Extensions pane.
2. Configure the new test set according to the details in the following table:
Results
You have created a new test set in an existing category.
Procedure
1. On the Extensions page of the plugin.xml file, add the com.ibm.mq.explorer.tests.TestCategorys
extension to the All Extensions pane.
2. Configure the new category according to the details in the following table:
Results
You have created a new category.
What to do next
To create a new test set in this category:
1. Right-click the category, then click New > testset to add a new test set to the All Extensions pane.
2. Configure the new test set according to the details in the table in Creating a new test set in an existing
category. Notice that you do not set a categoryID attribute because you are creating the test set in the
category that you just created.
3. Save the plugin.xml file.
You have created a new test set in the new category.
64 IBM MQ Explorer
high-level group in the Run Tests dialog on the Objects page at the level of the supplied Queue Managers,
Clusters, and Queue Sharing Groups groups.
To define a new object type:
Procedure
1. On the Extensions page of the plugin.xml file, add the com.ibm.mq.explorer.tests.ContextGroup
extension to the All Extensions pane.
2. Configure the new group according to the details in the following table:
You have defined the new group. Next, define the criteria that is used to identify which group an object
belongs to.
3. In the All Extensions pane, right-click the group, select New, and then select the type of criteria to use
according to the information in the following table:
Results
You have defined the new group of objects for which you can run tests.
/*
* Licensed Materials - Property of IBM
*
* 63H9336
* (c) Copyright IBM Corp. 2005, 2023. All Rights Reserved.
*
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with
* IBM Corp.
*/
/**
* Sample test that is run from an additional test in the WMQ standards test tree
*/
public class WMQTestSimple extends WMQTest {
/*
* (non-Javadoc)
*
* @see
com.ibm.mq.explorer.tests.WMQTest#runTest(com.ibm.mq.explorer.tests.internal.actions.WMQTestEngi
ne,
* org.eclipse.core.runtime.IProgressMonitor, com.ibm.mq.explorer.ui.extensions.MQExtObject[],
* java.lang.String)
*/
public void runTest(WMQTestEngine callback, IProgressMonitor guimonitor,
MQExtObject[] contextObjects, TreeNode treenodeId) {
// initialise the progress bar part of the GUI used to show progress (4 stages)
guimonitor.beginTask(getTestName(), 4);
// Create a new test result and add it to our array list of results
testresults.add(new WMQTestResult(IMarker.SEVERITY_INFO, "SAMPLE: Our addition test
worked!", //$NON-NLS-1$
"Object name", getTestSubCategory())); //$NON-NLS-1$
/*
* Licensed Materials - Property of IBM
*
* 5724-H72, 5655-L82, 5724-L26, 5655R3600
*
* (c) Copyright IBM Corp. 2005, 2023.
*
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
*/
package com.ibm.mq.explorer.tests.sample;
/**
* A sample test used to check Queue Names against naming conventions. Queue names are checked
if
* they begin with any of a set range of prefixes, defined in this class. Any names which do not
* start with one of the prefixes are output in an error.
*
66 IBM MQ Explorer
* This example uses the PCF classes provide by the MS0B SupportPac. Download the SupportPac
from
* the IBM website, then include the jar file in the build path for the project.
*/
public class WMQQueueNames extends WMQTest {
/** Maintain a count of how many queue managers we are waiting for replies from. */
private static int numberOfQmgrs = 0;
/** Stores the user preference for whether system queues should be included. */
boolean includeSystemObjs = false;
/**
* Starts the test.
*
*
* @param callback handle to the test engine running the test
* @param guimonitor a handle to the object monitoring the test, provided to allow the test to
* periodically check if the user has tried to cancel the test running and provide additional
user
* feedback
* @param contextObjects context MQExtObjects passed to the test engine
* @param treenodeId the treenodeid used to launch the tests
*/
public void runTest(WMQTestEngine callback, IProgressMonitor guimonitor,
MQExtObject[] contextObjects, TreeNode treenodeId) {
try {
// get a PCF message agent to handle sending PCF inquiry to
PCFMessageAgent agent = new PCFMessageAgent(qmgr);
if (!qnameOkay) {
// if a problem was found with the name, we generate an
// error message, and add it to the collection to be
// returned
testResults.add(generateTestResult(qnames[j], qmgrName));
}
}
}
}
catch (MQException e) {
// record error details
e.printStackTrace();
}
}
/**
* Used internally to submit a INQUIRE_Q_NAMES query using PCF to the given queue manager.
*
*
* @param qmgrName name of the queue manager to submit the query to
* @param agent
* @return the PCF response from the queue manager
*/
private PCFMessage submitQueueNamesQuery(String qmgrName, PCFMessageAgent agent) {
try {
// send the message
PCFMessage[] responseMsgs = agent.send(inquireQNames);
}
catch (MQException e) {
// record error details
e.printStackTrace();
}
/**
* Used internally to check the given queue name against the collection of acceptable
prefixes.
*
*
* @param queueName queue name to check
* @return true if the queue name is okay, false otherwise
*/
private boolean checkQueueName(String queueName) {
68 IBM MQ Explorer
if ((queueName.startsWith("SYSTEM.")) || (queueName.startsWith("AMQ."))) { //$NON-NLS-1$//
$NON-NLS-2$
if (!includeSystemObjs) {
// user has requested that we do not include system
// objects in the test, so we return true to
// avoid any problems being reported for this queue
return true;
}
}
/**
* Used internally to generate a test result for the given queue name.
*
*
* @param queueName queue name which doesn't meet requirements
* @param qmgrName name of queue manager which hosts the queue
* @return the generated test result
*/
private WMQTestResult generateTestResult(String queueName, String qmgrName) {
String res = "Queue (" + queueName.trim() + ") does not begin with a known prefix"; //$NON-
NLS-1$//$NON-NLS-2$
/*
* Licensed Materials - Property of IBM
*
* 5724-H72, 5655-L82, 5724-L26, 5655R3600
*
* (c) Copyright IBM Corp. 2005, 2023.
*
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
*/
package com.ibm.mq.explorer.tests.sample;
/**
* Pseudo-code sample demonstrating an asynchronous approach to implementing a
* Test.
*/
public class QueuesTest extends WMQTest implements SomeListener {
/**
* Used to start the test.
* <p>
* @param callback handle to the test engine running the test
* @param guimonitor a handle to the object monitoring the test,
* provided to allow the test to periodically check
* if the user has tried to cancel the test running
*/
public void runTest(WMQTestEngine callback, IProgressMonitor guimonitor, MQExtObject[]
contextObjects, TreeNode treenodeId) {
// initialise the progress bar part of the GUI used to show progress of
// this test
guimonitor.beginTask(getTestName(), numqmgrs);
// send query
PseudoQueueManager qmgrHandle = pseudoGetQueueManager();
submitQmgrQuery(qmgrHandle, this, query);
// note that the runTest method is now finished, but the test is not
over!
}
/**
* Used to process results received in response to the query submitted by
* runTest.
* <p>
* @param objects data received
*/
public void dataReponseReceived(ArrayList objects) {
/**
* Analyse the given queue. If any potential problems are found, a problem
* marker is added to the testresults collection.
* <p>
* @param queue queue to analyse
*/
private void analyseQueue(PseudoQueue queue) {
// do something
/*
* Licensed Materials - Property of IBM
*
* 63H9336
* (c) Copyright IBM Corp. 2005, 2023. All Rights Reserved.
*
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with
* IBM Corp.
70 IBM MQ Explorer
*/
package com.ibm.mq.explorer.tests.sample;
/**
* List all the context objects provided to standard out
*/
public class WMQTestSimple extends WMQTest {
/*
* (non-Javadoc)
*
* @see
com.ibm.mq.explorer.tests.WMQTest#runTest(com.ibm.mq.explorer.tests.internal.actions.WMQTestEngi
ne,
* org.eclipse.core.runtime.IProgressMonitor, com.ibm.mq.explorer.ui.extensions.MQExtObject[],
* java.lang.String)
*/
public void runTest(WMQTestEngine callback, IProgressMonitor guimonitor,
MQExtObject[] contextObjects, TreeNode treenodeId) {
// Loop through all supplied MQExtObjects and output them to the console
System.out.println("Objects supplied to this test:"); //$NON-NLS-1$
for (int k = 0; k < contextObjects.length; k++) {
if (contextObjects[k] != null) {
System.out.println(contextObjects[k].getName());
}
}
Results
In the Content view, the value in the Current queue depth column for the queue is incremented by one. If
the value has not changed, click Refresh on the Content view toolbar.
Related tasks
“Sending test messages” on page 71
You can use a test message to check whether an application or a queue manager can put a message on a
queue. You can also browse messages that are already on a queue or clear messages from a queue.
“Browsing the messages on a queue” on page 72
Browsing a queue enables you to view the messages that are on the queue without getting (removing)
them from the queue.
“Clearing the messages from a queue” on page 73
You can clear messages from a queue without having to stop and restart the queue manager.
Procedure
1. In the Navigator view, click the Queues folder that contains the queue.
The queue is displayed in the Content view.
2. In the Content view, right-click the queue, then click Browse Messages...
The Message Browser dialog opens.
Results
The Message browser window displays a user-defined number of bytes from a user-defined number
of messages, with the most recent message at the end of the list. Double-click a message to view its
properties, including the data in the message. All of the messages remain on the queue.
Set the number of messages and number of bytes to be displayed in the Preferences window as
described in “Configuring IBM MQ Explorer” on page 192.
Related tasks
“Sending test messages” on page 71
You can use a test message to check whether an application or a queue manager can put a message on a
queue. You can also browse messages that are already on a queue or clear messages from a queue.
“Putting a test message on a queue” on page 71
72 IBM MQ Explorer
You can use a test message to verify whether an application or a queue manager can put a message on a
queue.
“Clearing the messages from a queue” on page 73
You can clear messages from a queue without having to stop and restart the queue manager.
Procedure
1. In the Navigator view, click the Queues folder that contains the queue.
The queue is displayed in the Content view.
2. In the Content view, right-click the queue, then click Clear Messages...
The Clear Queue dialog opens.
3. Select the method to use to clear the messages from the queue:
• If you use the CLEAR command, all of the messages are cleared from the queue. However, if the
queue is already opened exclusively by another application or if the queue contains uncommitted
messages, the command fails immediately and none of the messages are cleared.
• If you use the MQGET API call, the messages are got from the queue until no more messages are
available. However, MQGET does not recognize uncommitted messages, which means that there
could still be uncommitted messages on the queue. Also, the command might fail if the queue is
already exclusively opened by another application.
4. Click Clear.
A message is displayed to tell you whether the command was successful.
5. Click Close to close the dialog.
Results
All the messages are cleared from the queue unless there was a problem; for example, the queue
contains uncommitted messages.
Related tasks
“Sending test messages” on page 71
You can use a test message to check whether an application or a queue manager can put a message on a
queue. You can also browse messages that are already on a queue or clear messages from a queue.
“Putting a test message on a queue” on page 71
You can use a test message to verify whether an application or a queue manager can put a message on a
queue.
“Browsing the messages on a queue” on page 72
Browsing a queue enables you to view the messages that are on the queue without getting (removing)
them from the queue.
Procedure
• [OPTION 1] Start or stop an individual queue manager
a) In the Navigator view, expand the Queue Managers folder.
b) Right-click the name of the queue manager, then click Start or Stop.
c) If you chose to stop the queue manager, select Controlled or Immediate.
d) Click OK.
The icon next to the queue manager name changes to indicate that the queue manager has started or
stopped as appropriate.
• [OPTION 2] Start or stop all the queue managers in a queue manager set
Before you start or stop all the queue managers in a set, you must take the following steps:
– You must display queue manager sets as described in “Displaying queue manager sets” on page
201.
– You must define a set for the queue managers as described in “Defining manual sets” on page 202
or “Defining automatic sets” on page 203.
a) In the Navigator view, expand the Queue Managers folder.
b) Right-click the name of the set to open the menu. Click Start Local Queue Managers or Stop Local
Queue Managers.
74 IBM MQ Explorer
The icon next to the queue manager's name changes to indicate that the queue managers in the set
have started or stopped as appropriate.
Related concepts
“Queue managers” on page 14
A queue manager is a program that provides messaging services to applications. Applications that use the
Message Queue Interface (MQI) can put messages on queues and get messages from queues. The queue
manager ensures that messages are sent to the correct queue or are routed to another queue manager.
“Objects in IBM MQ Explorer” on page 13
In IBM MQ Explorer, all of the queue managers and their IBM MQ objects are organized in folders in the
Navigator view.
Reconnectable clients
IBM MQ clients can take advantage of automatic reconnection if their connection to a queue manager
is broken. This is of value when a connection breaks, or a queue manager fails. When you stop a queue
manager you have the option of enabling the automatic reconnection of clients.
There are a number of ways to code and configure an IBM MQ MQI client to make it continue to work if the
queue manager to which it is connected fails. An application program can respond to a queue manager
failure by closing queues and subscriptions and disconnecting from the failing queue manager. The client
program might then attempt to reconnect, and either wait until the queue manager is running again, or
connect to another queue manager in the same queue manager group.
To make this common procedure easier, a client program can connect to a queue manager with the option
of being automatically reconnected to another queue manager (or reconnected to this queue manager) if
the current connection fails. No application programming is required. The application program does not
have to be notified of any broken connection errors from the queue manager.
Automatic client reconnection is not supported by IBM MQ classes for Java.
As the IBM MQ administrator, you might want to signal to all client application programs, including
ones that have requested queue manager failures to be handled automatically, that you are stopping
the queue manager deliberately, and want client applications to stop, rather than have the client
applications treat the queue manager stoppage as a failure and attempt to reconnect automatically.
This is the default behavior of the Stop queue manager command, to maintain compatibility with
earlier releases of IBM MQ. However, as an option on the Stop queue manager command, you can use
the Instruct reconnectable clients to reconnect option, and the indication that the queue
manager is stopping is intercepted by a reconnectable client connection, and it starts trying to reconnect
automatically as if a failure had occurred.
Related concepts
Automatic client reconnection
Procedure
• Start a channel manually.
a) In the Navigator view, click the Channels folder to display the channels in the Content view.
b) In the Content view, right-click the channel, then click Start.
The channel starts. The icon next to the channel changes to show that the channel is running.
• Stop a channel.
a) In the Navigator view, click the Channels folder to display the channels in the Content view.
b) In the Content view, right-click the channel, then click Stop....
The Stop Channel dialog opens.
c) Select how IBM MQ stops the channel:
– Accept the default values (do not select the check boxes) to end the channel after the current
batch of messages has finished processing (on Multiplatforms), or to end the channel after the
current message (on z/OS). For a receiving channel, if there is no batch in progress, the channel
waits for either the next batch or the next heartbeat (if heartbeats are being used) before
stopping. For server-connection channels, the channel stops when the connection ends.
– Select the Force interruption of current message batch check box to terminate the
transmission of any current batch; the channel's thread or process is not terminated. This is
likely to result in in-doubt channels. For server-connection channels, the current connection is
broken.
– Select the Allow process/thread termination check box if you select the Force interruption of
current message batch check box and you want to terminate the channel thread or process.
d) If the channel definition is a responder channel, multiple queue managers or remote connections
can be using the same responder channel. You can, therefore, filter which channels are stopped:
select the relevant check box then type the name of the queue manager or remote connection.
e) Select the state that the channel will change to when it stops:
– Click Stopped to stop the channel but keep the process or thread running; the channel is still
active and consuming resources.
– Click Inactive to stop the channel, including stopping the process or thread; the channel is
inactive and is not consuming resources.
The channel stops running. The icon next to the channel changes to show that the channel is no longer
running.
Related concepts
“Listeners” on page 24
A listener is an IBM MQ process that listens for connections to the queue manager.
“Channel initiators” on page 31
A channel initiator is an application that processes the trigger messages that are put on initiation queues
when a trigger event occurs. A channel initiator is a special type of trigger monitor that starts channels
rather than applications.
“Channels” on page 20
76 IBM MQ Explorer
IBM MQ can use three different types of channels: a message channel, an MQI channel, and an AMQP
channel.
Procedure
1. In the Navigator view, click the Listeners folder to display the listeners in the Content view.
2. In the Content view, right-click the listener, then click Start or Stop.
Results
The listener starts or stops as appropriate.
Listeners on the z/OS platform are not listener objects and do not behave in the same way
as listener objects. When listeners on the z/OS platform are stopped, they are no longer associated with
the z/OS queue manager.
Related concepts
“Listeners” on page 24
A listener is an IBM MQ process that listens for connections to the queue manager.
“Channels” on page 20
IBM MQ can use three different types of channels: a message channel, an MQI channel, and an AMQP
channel.
Related tasks
“Starting and stopping a channel” on page 75
The way in which a channel is started depends on whether it is a caller channel or a responder channel.
When you stop a channel, you can choose whether to stop the channel after the current batch of
messages has finished processing, or force the channel to shut down before the current message batch
has finished processing.
“Creating and configuring queue managers and objects” on page 13
You can create, configure, and delete queue managers and objects in IBM MQ Explorer by using the
Navigator view and Content view.
Procedure
In the Navigator view, right-click the queue manager, then click Start Command Server or Stop
Command Server.
Procedure
1. In the Navigator view, click the Services folder to display the services in the Content view.
2. In the Content view, right-click the service, then click Start or Stop.
Results
The service starts or stops as appropriate. The icon next to the service changes to show whether the
service is running.
Related concepts
“Custom services” on page 31
Custom services are services that you create to run commands automatically.
“Trigger monitors” on page 30
A trigger monitor is an application that processes the trigger messages that are put on initiation queues
when a trigger event occurs.
78 IBM MQ Explorer
Procedure
1. In the Navigator view, expand the queue manager on which you want to start the trigger monitor
service.
2. Right-click the queue manager's Services folder, then click New... > Service. The New Service dialog
opens.
3. In the New Service dialog, type a name for the service, for example, TriggerMonitor, then click
Next. You can now configure the new service.
4. Optional: In the Description field, type a description of the service, for example, A trigger
monitor for queue manager QM1.
5. In the Service control field, configure how the service starts and stops:
• To start and stop the service automatically when the queue manager starts and stops, click Queue
Manager
• To start the service automatically when the queue manager starts but not to stop when the queue
manager stops, click Queue Manager Start
• To configure the service so that you must manually start and stop it, click Manual.
6. In the Start Command field, type the full path to the runmqtrm command.
• Type: MQ_INSTALLATION_PATH\bin\runmqtrm where MQ_INSTALLATION_PATH is replaced by
the high-level directory in which IBM MQ is installed.
7. If the queue manager is not the default queue manager, in the Start args field, type -m
queue_manager_name where queue_manager_name is the name of the queue manager.
8. If you want to use a queue other than SYSTEM.DEFAULT.INITATION.QUEUE as the initiation queue, in
the Start args field, type -q initq_name where initq_name is the name of the queue.
9. In the Service Type field, select the type of service to run:
• If you select Command, you can run multiple instances of the service but you cannot view the
status of the service in IBM MQ Explorer.
• If you select Server, you can run only one instance of the service but you can view the status of the
service in IBM MQ Explorer.
10. Click Finish.
The new service is created on the selected queue manager.
11. Start the service.
For instructions, see “Starting and stopping a custom service” on page 78.
Results
The service starts and runs the runmqtrm command, which starts the trigger monitor on the queue
manager.
When you have started a trigger monitor, it just continues monitoring the specified initiation queue. You
cannot stop a trigger monitor directly. When you stop the trigger monitor's queue manager, the trigger
monitor stops too.
Related concepts
“Trigger monitors” on page 30
Procedure
1. In the Navigator view, expand the queue manager, QM1, that you want to start the channel initiator
on.
2. Right-click the queue manager's Services folder, then click New... > Service. The New Service dialog
opens.
3. In the New Service dialog, type a name for the service, for example, ChannelInitiator, then click
Next. You can now configure the new service, ChannelInitiator.
4. Optional: In the Description field, type a description of the ChannelInitiator service, for example, A
channel initiator for queue manager QM1.
5. In the Service control field, configure how the service starts and stops:
• To start and stop the service automatically when the queue manager starts and stops, click Queue
Manager
• To start the service automatically when the queue manager starts but not to stop when the queue
manager stops, click Queue Manager Start
• To configure the service so that you must manually start and stop it, click Manual.
6. In the Start Command field, type the full path to the runmqchi command.
• Type: MQ_INSTALLATION_PATH\bin\runmqchi where MQ_INSTALLATION_PATH is replaced by
the high-level directory in which IBM MQ is installed.
7. If QM1 is not the default queue manager, in the Start args field, type -m QM1
8. If you want to use a queue other than SYSTEM.CHANNEL.INITQ as the initiation queue, in the Start
args field, type -q initq_name where initq_name is the name of the queue.
9. In the Service Type field, select Command.
10. Click Finish.
The new service, ChannelInitiator, is created on the selected queue manager, QM1.
11. Start the service.
For instructions, see “Starting and stopping a custom service” on page 78.
Results
The service, ChannelInitiator, starts and runs the runmqchi command, which starts the channel initiator
on the queue manager, QM1.
Related concepts
“Trigger monitors” on page 30
80 IBM MQ Explorer
A trigger monitor is an application that processes the trigger messages that are put on initiation queues
when a trigger event occurs.
“Channel initiators” on page 31
A channel initiator is an application that processes the trigger messages that are put on initiation queues
when a trigger event occurs. A channel initiator is a special type of trigger monitor that starts channels
rather than applications.
82 IBM MQ Explorer
4. Connect using an existing connection. Connect to a remote queue manager using and existing
connection that has been made by another queue manager.
You can also show remote cluster queue managers in the Queue Managers folder so that you can
administer them from IBM MQ Explorer. For more information, see Administering remote cluster queue
managers.
If IBM MQ Explorer cannot connect to the remote queue manager for any reason (for example, the remote
queue manager is not running), a dialog is displayed asking if you want to add the queue manager anyway.
Click Yes and the queue manager is displayed in the Queue Managers folder but none of its details are
available until it connects.
IBM MQ Explorer cannot connect to queue managers that are running on IBM MQ platforms that do not
support remote administration. For more information about which IBM MQ platforms are supported, see
Administering remote queue managers.
Automatic client reconnect is not supported by IBM MQ classes for Java.
For more detailed information about CCDTs, see Client channel definition table.
Procedure
• [OPTION 1] Create a connection manually
Before you can create the connection, you must know the following information about the remote
queue manager:
– The name of the queue manager.
– The name of the computer that hosts the queue manager.
– The port number of the queue manager's listener.
– The name of the server-connection channel on the queue manager that IBM MQ Explorer uses to
connect to the queue manager. If you have enabled the queue manager for remote administration,
the SYSTEM.ADMIN.SVRCONN channel is available. Otherwise, use SYSTEM.DEF.SVRCONN, a client
channel definition table, or a server-connection channel that you have created and named.
a) Right-click on Queue Managers in the Navigator view, then click Add Remote Queue Manager
The Add Queue Manager wizard opens enabling you to create a connection.
b) In the Queue manager name field, type the name of the queue manager to which you want to
connect.
c) Ensure that Connect directly is selected, then click Next.
d) Ensure that Specify connection details is selected, then type the following details:
– In the Host name or IP address field, type the name of the computer that hosts the remote
queue manager; Use one of the following formats:
- The short host name, for example, joho The remote computer must be in the same domain as
your local computer.
- The fully qualified host name, for example, joho.example.com Use this if the remote
computer is in a different domain to your local computer.
- The IP address, for example 127.0.0.1
– In the Port number field, type the port number; for example, 1416
– In the Server-connection channel field, type the name of the channel to use
To change the defaults that are used, see “Specifying the default values used to connect to remote
queue managers” on page 223
e) Optional: Select the Autoreconnect check box to configure IBM MQ Explorer to automatically
reconnect to the queue manager if the connection is lost.
f) Optional: Change the frequency with which IBM MQ Explorer refreshes its information about the
queue manager. To prevent IBM MQ Explorer automatically refreshing its information about the
84 IBM MQ Explorer
d) Ensure that Specify connection details is selected, then type the following details:
– In the Host name or IP address field, type the name of the computer that hosts the remote
queue manager; Use one of the following formats:
- The short host name, for example, joho The remote computer must be in the same domain as
your local computer.
- The fully qualified host name, for example, joho.example.com Use this if the remote
computer is in a different domain to your local computer.
- The IP address, for example 127.0.0.1.
– In the Port number field, type the port number; for example, 1416.
– In the Server-connection channel field, type the name of the channel to use.
To change the defaults that are used, see “Specifying the default values used to connect to remote
queue managers” on page 223.
e) Optional: Select the Autoreconnect check box to configure IBM MQ Explorer to automatically
reconnect to the queue manager if the connection is lost.
f) Optional: Change the frequency with which IBM MQ Explorer refreshes its information about the
queue manager. To prevent IBM MQ Explorer automatically refreshing its information about the
queue manager, click No queue manager refresh interval; to specify a different refresh interval,
click Specify queue manager refresh interval, then type the number of seconds that you want IBM
MQ Explorer to wait before refreshing its information about the queue manager.
g) Click Next.
At this point in the wizard, you can select the optional security parameters on the new pages of the
wizard. All the security parameters are optional and you are not required to enable any of them if
you do not want to, however, you must select Enable SSL stores to access the Enable SSL options
parameters:
1. Optional. Select Enable security exit and type your security exit details into the fields. The remote
server conn channel must also have a security exit defined. Click Next.
2. Optional. Select Enable user identification and type your required user identification details in the
field. If you want to set the optional password, type your password details in the field. Optional: The
remote server conn channel can also have a security exit defined. Click Next.
3. Optional. Select Enable SSL stores to specify TLS certificate key repository details. The remote
server conn channel must also have TLS enabled. To specify certificate stores choose either one or
both of the following options.
– Optional. Click Browse in the Selected Certificate Store section of the dialog to locate the
certificate store file. If you want to set the optional password, click Enter password... to open
the Password details dialog where you must type your password details in the fields.
– Optional. Click Browse in the Personal certificate Store section of the dialog to locate your
personal certificate store file. You must set a password when defining a personal certificate
store; click Enter password... to open the Password details dialog where you must type your
password details in the fields.
Click Next.
4. Optional. Select Enable SSL options. Select the TLS options you require, and click Finish to create
the TLS-enabled connection and close the wizard. You must have previously selected Enable SSL
stores to access the Enable SSL options parameters.
Passwords used by the IBM MQ Explorer to connect to resources, for example, opening TLS stores or
connecting to queue managers, can be stored in a file. The location of the file can be changed to a
remote or removable device. For more information, see: “Passwords preferences” on page 163.
IBM MQ Explorer now connects to the remote queue manager using a TLS-secured connection, and
the queue manager is shown in the Queue Managers folder in the Navigator view.
• [OPTION 4] Connect using an existing connection
86 IBM MQ Explorer
Procedure
1. If you want to secure connections that use the client channel definition table, configure the queue
manager for using TLS-enabled connections.
2. Create a server-connection channel on the queue manager.
3. If you are using TLS, configure the server-connection channel to use TLS.
4. Create a client-connection channel, with the same name as the server-connection channel, on the
queue manager.
5. If you are using TLS, configure the client-connection channel to use TLS.
If you have configured the server-connection channel to use TLS, you must also configure the client-
connection channel to match.
6. Move the queue manager's client channel definition table to the computer from which you want to
connect to the queue manager (the computer on which IBM MQ Explorer is installed). For example, use
FTP to transfer the file between the two computers.
Results
Your new client channel definition table is now available for IBM MQ Explorer to use to connect to the
remote queue manager.
Related tasks
“Configuring TLS channels” on page 131
To configure TLS channels, you use the SSL page of the Channel properties dialog to define the cipher
specification to be used. You can optionally configure a channel to accept only certificates with attributes
in the distinguished name of the owner that match given values. You can also optionally configure a queue
manager channel so that the queue manager refuses the connection if the initiating party does not send
its own personal certificate.
“Creating and configuring queue managers and objects” on page 13
You can create, configure, and delete queue managers and objects in IBM MQ Explorer by using the
Navigator view and Content view.
Procedure
1. In IBM MQ Explorer, click Window > Preferences.
The Preferences dialog opens.
2. Expand MQ Explorer.
3. Expand Client Connections. The default security settings dialogs are now accessible.
4. Select SSL Key Repositories to display the SSL Key Repositories pane.
5. In the Trusted Certificate Store field, browse for the location of the TrustStore on the computer, and
in Personal Certificate Store field, browse for the location of the KeyStore on the computer.
The TrustStore and KeyStore contain the TLS certificates that are used with connections using client
channel definition tables. It is possible that the TrustStore and KeyStore are in the same location on
your computer.
Results
IBM MQ Explorer can now use the TLS certificates in the TrustStore and KeyStore to connect to remote
queue managers with an TLS-enabled connection.
Related tasks
“Showing a remote queue manager” on page 82
If you want to administer a remote queue manager, you must connect IBM MQ Explorer to the remote
queue manager so that the queue manager is displayed in the Navigator view. You can create a
connection manually, or using a client channel definition table. You can also create a new security-
enabled connection, or connect using an existing connection.
“Creating a client channel definition table” on page 86
You can create a client channel definition table for a queue manager to make it easier to connect
instances of IBM MQ Explorer to the queue manager.
Related reference
“Default security preferences” on page 161
A security exit can be defined for all client connections in the same IBM MQ Explorer. This is known as a
default security exit and the preferences for the security exit are described here.
Procedure
• [OPTION 1] Hide queue managers using Navigator: Method 1.
a) In the Navigator view, select a queue manager. Hold down the Ctrl key to select more than one
queue manager.
b) To hide the selected queue managers, right-click then choose Hide.
The selected queue managers are no longer displayed in the Queue Managers folder. If the queue
managers you have hidden are members of one or more queue manager Sets, then those queue
managers are not displayed in those Sets.
• [OPTION 2] Hide queue managers using Navigator: Method 2.
a) In the Navigator view, right-click the Queue Managers folder, then click Show/Hide Queue
Managers.
88 IBM MQ Explorer
The Show/Hide Queue Managers dialog opens. A list of the visible queue managers is displayed in
the Shown Queue Managers table of the Show/Hide Queue Managers dialog.
b) In the Shown Queue Managers table, select one or more queue managers then click Hide. The
selected queue managers are now listed in the Hidden Queue Managers table.
c) Click Close.
The selected queue managers are no longer displayed in the Queue Managers folder. If the queue
managers you have hidden are members of one or more queue manager Sets, then those queue
managers are not displayed in those Sets.
• [OPTION 3] Hide queue managers using Sets.
You can also hide from view any queue managers that are grouped in a queue manager Set. This
enables you to restrict the queue managers that are displayed in the Set and Queue Managers folder if
you have been working with many queue managers in IBM MQ Explorer.
Before you can hide all the queue managers in a Set, you must complete the following steps:
1. You must display the queue manager sets as described in “Displaying queue manager sets” on
page 201.
2. You must define a set for the queue managers as described in “Defining manual sets” on page 202
or “Defining automatic sets” on page 203.
a) In the Navigator view, right-click the Set, then click Hide All Queue Managers.
The queue managers in the set are no longer displayed in the Set folder.
When you hide the queue managers in a Set, the queue managers are then hidden in every Set
(including the All Set) not just the Set you selected.
Related tasks
“Showing hidden queue managers” on page 89
You can show queue managers that have previously been hidden from the Navigator view. You can restore
all hidden queue managers together, or restore a specific queue manager. You can also show hidden
queue managers that are grouped in a queue manager Set.
“Removing a queue manager” on page 90
You can remove a queue manager from IBM MQ Explorer if you no longer want to administer it in IBM MQ
Explorer.
Procedure
• [OPTION 1] Show all hidden queue managers.
a) In the Navigator view, right-click the Queue Managers folder, then click Show All Hidden Queue
Managers
Procedure
1. In the Navigator view, right-click the Queue Managers folder, then click Show/Hide Queue
Managers....
The Show/Hide Queue Managers dialog opens.
2. If the queue manager is currently shown in the Queue Managers folder, in the Shown Queue
Managers table, hide the queue manager so that the queue manager is displayed in the Hidden Queue
Managers table.
For more information, see Hiding queue managers.
3. In the Hidden Queue Managers table, click the name of the queue manager, then click Remove...
90 IBM MQ Explorer
4. When prompted, click Yes to confirm that you want to remove the queue manager from IBM MQ
Explorer.
Results
When you remove a queue manager from IBM MQ Explorer, the queue manager still exists on its host
computer but you cannot administer it in IBM MQ Explorer until you add it to the Queue Managers folder
again.
Related tasks
“Administering remote queue managers” on page 92
In IBM MQ Explorer, you can enable IBM MQ queue managers on a remote computer for remote
administration.
“Hiding queue managers” on page 88
You can hide from view any queue manager that is displayed in the Navigator view. If you hide a queue
manager that is a member of one or more queue manager Sets, the queue manager is not displayed in any
of those Sets.
“Showing hidden queue managers” on page 89
You can show queue managers that have previously been hidden from the Navigator view. You can restore
all hidden queue managers together, or restore a specific queue manager. You can also show hidden
queue managers that are grouped in a queue manager Set.
Procedure
1. To connect IBM MQ Explorer to a queue manager: In the Navigator view, right-click the queue
manager, then click Connect or Disconnect.
IBM MQ Explorer connects or disconnects the queue manager. The color of the queue manager's icon
changes to yellow when connected, or gray when disconnected.
Disconnected queue managers remain in the Queue Managers folder. If you want to remove a queue
manager completely from IBM MQ Explorer, see “Removing a queue manager” on page 90.
2. If you have queue manager Sets enabled, then you can connect and disconnect all the queue
managers in a Set: In the Navigator view, right-click the set, then click Connect Queue Managers
or Disconnect Queue Managers.
All queue managers will be connected or disconnected depending on the option you selected.
Procedure
• To configure a queue manager so that IBM MQ Explorer automatically reconnects to it, perform one of
the following tasks:
• For a remote queue manager, when you add the queue manager to IBM MQ Explorer, you can select
the Automatically connect to this queue manager at startup or if the connection is lost check
box in the Show/Hide Queue Managers wizard.
• For local queue managers, and remote queue managers that are already shown in the Queue
Managers folder, in the Navigator view, right-click the queue manager, then click Autoreconnect. A
check mark is placed next to the menu item to indicate that IBM MQ Explorer is set to automatically
reconnect to the queue manager if the connection is lost.
What to do next
To configure the queue manager so that IBM MQ Explorer does not automatically reconnect to it, right-
click the queue manager, then click Autoreconnect. The check mark next to the menu item is removed.
Related tasks
“Connecting or disconnecting a queue manager” on page 91
If you want to administer a queue manager in IBM MQ Explorer, you must connect IBM MQ Explorer to the
queue manager.
92 IBM MQ Explorer
For more information about operating systems and command levels, see System Requirements for IBM
MQ on the external IBM website.
To find out what command level any IBM MQ queue manager supports, display the properties of the
queue manager and check the CommandLevel (CMDLEVEL) property.
You cannot start, stop, create, or delete a remote queue manager from IBM MQ Explorer.
To administer a queue manager on Computer A from IBM MQ Explorer on Computer B:
Procedure
1. On Computer A, show the queue manager in IBM MQ Explorer.
2. On Computer A, start the queue manager.
3. To use the SYSTEM.ADMIN.SVRCONN server connection channel on Computer A to connect to the
queue manager, enable the queue manager for remote administration.
4. On Computer B, show the remote queue manager in IBM MQ Explorer.
Results
You can administer the queue manager on Computer A from IBM MQ Explorer on Computer B.
Procedure
1. Ensure that there is a running command server.
2. Create a server-connection channel to allow remote administration of the queue manager over TCP/IP.
3. Create a listener to accept incoming network connections.
4. Ensure that the listener is running.
Any TCP/IP listener and any server-connection channel can be used for this administration.
You must enable the IBM MQ queue manager for remote administration using the default
SYSTEM.ADMIN.SVRCONN server connection channel.
You can enable remote administration on a queue manager on Windows or Linux (x86 and x86-64
platforms) computers using IBM MQ Explorer. On other platforms, you must configure the queue manager
from the command line.
For more information, see Administering remote IBM MQ objects or Authority to administer IBM MQ on
UNIX and Windows systems.
Procedure
1. Right-click the queue manager in the Navigator view, then click Remote Administration.... The
Remote Administration dialog opens. IBM MQ checks whether the SYSTEM.ADMIN.SVRCONN server
connection channel exists, and checks whether there is a listener created and running. The results are
displayed in the Remote Administration dialogue.
2. Click Create to create a SYSTEM.ADMIN.SVRCONN channel if one does not exist. The
SYSTEM.ADMIN.SVRCONN channel is created.
3. Click Create to create a LISTENER.TCP listener if one does not exist. The LISTENER.TCP listener is
created.
4. Click Close to close the dialog.
For more information, see Authority to administer IBM MQ on UNIX and Windows systems.
Procedure
1. In the Create Queue Manager wizard, select the following options:
a) Create server connection channel
b) Create listener configured for TCP/IP
2. Type a port number in the Listen on port number field. The port number must not be in use by another
running queue manager hosted on the same computer.
When the queue manager is created, it is configured to use the SYSTEM.ADMIN.SVRCONN server
connection channel for remote administration.
For more information, see Administering remote IBM MQ objects or Authority to administer IBM MQ on
UNIX and Windows systems.
94 IBM MQ Explorer
Maintaining intercommunications along message channels
You might sometimes need to take action in order to maintain intercommunications along message
channels. For example you might need to resolve an in-doubt channel by either backing out or committing
the messages, or reset channel synchronization if the message counts at the two ends of the channel
are not in synchronization. You can also configure channels to reduce the possibility of a sending channel
being put in doubt and made unavailable.
Procedure
1. In the Content view, right-click the channel definition that was not re-created, then click Reset The
Reset dialog opens.
2. In the Reset dialog, type the sequence number to which you want to reset the channel definition:
• If the other end of the channel has been deleted and then re-created, type 0.
• If the channel is a sender or server channel, type any number from 0 to the value defined in
the Sequence number wrap attribute of the channel (the default value is 999,999,999). The new
Results
The two ends of the channel have the same message count and so are synchronized.
For more information, see Distributed queueing and clusters.
Related tasks
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
“Maintaining intercommunications along message channels” on page 95
You might sometimes need to take action in order to maintain intercommunications along message
channels. For example you might need to resolve an in-doubt channel by either backing out or committing
the messages, or reset channel synchronization if the message counts at the two ends of the channel
are not in synchronization. You can also configure channels to reduce the possibility of a sending channel
being put in doubt and made unavailable.
Related reference
“Channel properties” on page 369
You can set properties for all types of channels, including client-connection channels. Some properties
are specific to certain types of channel.
Procedure
1. Find out the last committed Logical Unit of Work ID (LUWID) for each end of the channel:
a) In the Content view, right-click the channel definition at one end of the channel, then click Status...
The Status dialog for that channel definition opens.
b) In the Status dialog, look for the value in the Last LUWID column. This value shows the ID of the
last logical unit of work that was committed by the channel. Make a note of the value.
c) Repeat Steps 1 and 2 for the channel definition at the other end of the channel.
2. In the Content view, right-click the sending end of the channel, then click Resolve... The Resolve
dialog opens.
3. In the Resolve dialog, select the method with which to resolve the channel:
96 IBM MQ Explorer
• If the LUWID at the sending end of the channel is the same as the LUWID at the receiving end of
the channel, click Commit to commit the messages and discard the messages from the transmission
queue.
• If the LUWID at the sending end of the channel is different from the LUWID at the receiving end of
the channel, click Back out to back out the unit of work and retain the messages to the transmission
queue so that the messages can be re-sent.
Results
The channel is no longer in doubt and the transmission queue can be used by a different channel to
re-send the messages.
For more information, see Distributed queueing and clusters.
Related tasks
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
“Maintaining intercommunications along message channels” on page 95
You might sometimes need to take action in order to maintain intercommunications along message
channels. For example you might need to resolve an in-doubt channel by either backing out or committing
the messages, or reset channel synchronization if the message counts at the two ends of the channel
are not in synchronization. You can also configure channels to reduce the possibility of a sending channel
being put in doubt and made unavailable.
Related reference
“Channel properties” on page 369
You can set properties for all types of channels, including client-connection channels. Some properties
are specific to certain types of channel.
Procedure
1. Open the sending channel properties dialog.
2. On the Extended page, type the number of seconds that the sending end of the channel waits for a
response from the receiving end of the channel.
Results
Whenever the channel is ready to commit a logical unit of work, the sending end of the channel sends a
heartbeat to the receiving end of the channel to check that the receiving end of the channel is still active.
For more information, see Distributed queueing and clusters.
Related tasks
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
“Maintaining intercommunications along message channels” on page 95
You might sometimes need to take action in order to maintain intercommunications along message
channels. For example you might need to resolve an in-doubt channel by either backing out or committing
the messages, or reset channel synchronization if the message counts at the two ends of the channel
are not in synchronization. You can also configure channels to reduce the possibility of a sending channel
being put in doubt and made unavailable.
Related reference
“Channel properties” on page 369
You can set properties for all types of channels, including client-connection channels. Some properties
are specific to certain types of channel.
Procedure
• “Publishers and subscribers” on page 98
• Configuring publish/subscribe messaging for IBM WebSphere MQ 7.0 and later queue managers.
98 IBM MQ Explorer
Related concepts
“Topics” on page 16
A topic identifies what a publication is about. A topic is a character string that describes the subject of the
information that is published in a Publish/Subscribe message. As a subscriber, you can specify a topic or
range of topics by using wildcards to receive the information that you require.
“Publications” on page 19
Publications are messages that are sent by an application to the Publish/Subscribe Engine. The Publish/
Subscribe Engine then sends the messages on to any applications that have subscribed to receive the
messages.
Related tasks
“Configuring publish/subscribe for IBM MQ queue managers” on page 99
In IBM MQ Explorer, you can configure IBM MQ queue managers as Publish/Subscribe Engines to route
messages between publishing applications and subscribing applications. To test your configurations, you
can register as a subscriber, and send and receive test publications if you are authorized to do so.
Procedure
• “Creating a new topic” on page 100
• “Creating a new cluster topic” on page 101
• “Viewing the topic status” on page 102
• “Sending and receiving test publications on a topic object folder” on page 103
• “Sending and receiving test publications for specific topics” on page 104
• “Viewing topic status for publishers” on page 105
• “Viewing topic status for subscribers” on page 106
• “Creating a new subscription” on page 107
• “Viewing a list of subscribers” on page 108
• “Refreshing proxy subscriptions” on page 108
• “Creating a new Multicast communication information object” on page 109
Procedure
1. Expand the queue manager that hosts the Publish/Subscribe Engine to display the object-folders in
the Navigator view.
2. Right-click Topics, then click New > Topic.
Results
The New Topic wizard opens. Work though the wizard to create a new topic.
What to do next
For information about topic names, topic strings and topic wildcards, refer to the following links.
Related concepts
“Topics” on page 16
A topic identifies what a publication is about. A topic is a character string that describes the subject of the
information that is published in a Publish/Subscribe message. As a subscriber, you can specify a topic or
range of topics by using wildcards to receive the information that you require.
Related tasks
“Viewing the topic status” on page 102
Procedure
1. Expand the cluster queue manager in which you want to create a new cluster topic.
2. In the navigation pane, select Topics.
A list of existing topics is displayed in the main pane.
3. Either select an existing topic, or create a new topic.
• To select an existing topic, double-click the topic in the main pane.
• To create a new topic, right-click Topics in the navigation pane, then select New > Topic. For more
information, see “Creating a new topic” on page 100.
4. In the properties pane, click Cluster to open the Cluster properties page.
5. Type the name of the cluster you want the topic to belong to in the Cluster topic field.
6. Optional: For IBM MQ 8.0 and later versions, select the routing mechanism from the Cluster route
drop-down list.
The choices are as follows:
Direct
Messages published on one queue manager are sent directly from that queue manager to every
subscription on any other queue manager in the cluster.
Topic host
Messages published on one queue manager are sent from there to a queue manager that hosts the
definition of the topic. That topic host queue manager routes the message on to every subscription
on any other queue manager in the cluster.
7. Click Apply to save the change.
Results
The topic has now become a cluster topic.
Procedure
1. In the Navigator view, expand the queue manager that hosts the Publish/Subscribe Engine, then click
the Topics folder. The existing topics on the Publish/Subscribe Engine are shown in the Content view.
2. In the Content view, right-click the topic that you want to view the status for, then click Status.
Results
The Status dialog opens. One pane of the Status dialog shows the Topic String tree structure. You can
expand and collapse the topic string to navigate the tree structure and display individual topic status.
What to do next
For information about topic names, topic strings, and topic properties, refer to the topics linked at the end
of this topic.
Related concepts
“Topics” on page 16
A topic identifies what a publication is about. A topic is a character string that describes the subject of the
information that is published in a Publish/Subscribe message. As a subscriber, you can specify a topic or
range of topics by using wildcards to receive the information that you require.
Related tasks
“Creating a new topic” on page 100
A topic identifies what a publication is about. A topic is a character string that describes the subject of the
information that is published in a publish/subscribe message.
Related reference
“Topic properties” on page 391
An IBM MQ topic is an IBM MQ object that identifies what a publication is about. You can set properties
for topics. Some topic properties are specific to z/OS topics. Also, there are some properties that you can
alter only while you are creating a topic. You cannot modify these properties after the IBM MQ topic has
been created.
“Topic status attributes” on page 532
Procedure
1. Subscribe to the topic that you want to test:
a) In the Navigator view, expand the queue manager that hosts the Publish/Subscribe Engine.
b) Right-click the Topics folder, then click Test Subscription....
The Subscribe application opens.
c) Type a topic string in the Topic String field. The topic string must be the same name as the
publisher.
2. Publish a message to the same topic:
a) In the Navigator view, expand the queue manager that hosts the Publish/Subscribe Engine.
b) Right-click the Topics folder, then click Test Publication....
The Publish Test Message application opens.
c) In the Topic field, type the name of the topic on which you want to publish the message.
You or another publisher can already be registered to publish on the topic, or you can enter a new
topic string. When you publish the message, you are automatically registered as a publisher on the
topic.
d) In the Message data field, type a message to send in the publication.
For example, type Hello, world!
e) Click Publish message to send the message to the Pub/Sub Engine.
The subscriber receives the message (the publication).
3. Start another instance of the Subscribe application.
The second Subscribe application does not receive the message that was published by the Publish
Test Message application because it was not subscribing to the topic at the time that the publication
was sent to the Publish/Subscribe Engine.
4. Unsubscribe the second Subscribe instance from the topic.
a) In the second Subscribe application, click Unsubscribe.
The second Subscribe application can no longer receive publications on that topic. The first
Subscribe application can still receive publications on that topic.
5. Publish a retained publication to the topic.
a) In the Publish Test Message application, select the Retained message check box.
b) Change the text in the Message data field.
For example, type Hi, I'm home.
c) Click Publish message.
Results
You have now published and subscribed to test publications, including retained publications.
Related concepts
“Publications” on page 19
Publications are messages that are sent by an application to the Publish/Subscribe Engine. The Publish/
Subscribe Engine then sends the messages on to any applications that have subscribed to receive the
messages.
“Topics” on page 16
A topic identifies what a publication is about. A topic is a character string that describes the subject of the
information that is published in a Publish/Subscribe message. As a subscriber, you can specify a topic or
range of topics by using wildcards to receive the information that you require.
Procedure
1. Subscribe to the topic that you want to test:
a) In the Navigator view, expand the queue manager that hosts the Publish/Subscribe Engine.
b) Click the Topics folder.
All the topics display in the Content view.
c) Right-click a specific topic in the Content view, then click Test Subscription....
The Subscribe application opens.
2. Publish a message to the same topic:
a) In the Navigator view, expand the queue manager that hosts the Publish/Subscribe Engine.
b) Click the Topics folder.
All the topics display in the Content view.
c) Right-click the a specific topic in the Content view, then click Test Publication....
The Publish Test Message application opens.
d) In the Message data field, type a message to send in the publication.
For example, type Hello, world!
e) Click Publish message to send the message to the Publish/Subscribe Engine.
Results
You have now published and subscribed to test publications, including retained publications on a specific
topic.
Related concepts
“Publications” on page 19
Publications are messages that are sent by an application to the Publish/Subscribe Engine. The Publish/
Subscribe Engine then sends the messages on to any applications that have subscribed to receive the
messages.
“Topics” on page 16
A topic identifies what a publication is about. A topic is a character string that describes the subject of the
information that is published in a Publish/Subscribe message. As a subscriber, you can specify a topic or
range of topics by using wildcards to receive the information that you require.
Procedure
1. In the Navigator view, expand the queue manager that hosts the Publish/Subscribe Engine, then click
the Topics folder.
Results
The Status dialog opens displaying the status of the topic object publisher.
What to do next
You can edit the way the information is presented in the Status dialog. For more information, see the
following links.
Related concepts
“Topics” on page 16
A topic identifies what a publication is about. A topic is a character string that describes the subject of the
information that is published in a Publish/Subscribe message. As a subscriber, you can specify a topic or
range of topics by using wildcards to receive the information that you require.
“Define schemes to change the order of columns in tables” on page 217
When object data is displayed in IBM MQ Explorer in tables, you can customized the order of the columns
in the tables.
Related tasks
“Viewing topic status for subscribers” on page 106
Each topic can have many properties and values associated with it. When a topic has been assigned as a
subscriber, you can view its status, and edit the scheme to display the status information.
“Creating a scheme” on page 218
You can create schemes for most of the tables of data in IBM MQ Explorer.
“Editing an existing scheme” on page 219
You can edit any schemes that you created previously and you can also edit the schemes that are supplied
with IBM MQ Explorer; for example, the Standard for Queues scheme. After modifying the layout of
the status table, you can reset the width of the columns to their default values.
“Copying an existing scheme” on page 220
If there already exists a scheme that is similar to a scheme that you want to create, you can copy the
existing scheme and then edit it as required.
“Filtering the objects displayed in tables” on page 193
When object data is displayed in IBM MQ Explorer in tables, you can filter the data so that only the objects
in which you are interested are displayed.
Procedure
1. In the Navigator view, expand the queue manager that hosts the Publish/Subscribe Engine, then click
the Topics folder.
The existing topics on the Publish/Subscribe Engine are shown in the Content view.
Results
The Status dialog opens displaying the status of the topic object subscriber.
What to do next
You can edit the way the information is presented in the Status dialog. For more information, see the
following links.
Related concepts
“Topics” on page 16
A topic identifies what a publication is about. A topic is a character string that describes the subject of the
information that is published in a Publish/Subscribe message. As a subscriber, you can specify a topic or
range of topics by using wildcards to receive the information that you require.
“Define schemes to change the order of columns in tables” on page 217
When object data is displayed in IBM MQ Explorer in tables, you can customized the order of the columns
in the tables.
Related tasks
“Viewing topic status for publishers” on page 105
Each topic can have many properties and values associated with it. When a topic has been assigned as a
publisher, you can view its status, and edit the scheme to display the status information.
“Creating a scheme” on page 218
You can create schemes for most of the tables of data in IBM MQ Explorer.
“Editing an existing scheme” on page 219
You can edit any schemes that you created previously and you can also edit the schemes that are supplied
with IBM MQ Explorer; for example, the Standard for Queues scheme. After modifying the layout of
the status table, you can reset the width of the columns to their default values.
“Copying an existing scheme” on page 220
If there already exists a scheme that is similar to a scheme that you want to create, you can copy the
existing scheme and then edit it as required.
“Filtering the objects displayed in tables” on page 193
When object data is displayed in IBM MQ Explorer in tables, you can filter the data so that only the objects
in which you are interested are displayed.
Procedure
1. In the Navigator view, expand the queue manager that you want to create a new subscription on.
2. Right-click the Subscriptions object-folder, then click New > Subscription....
Results
The New Subscription wizard opens. You can now work through the wizard to create a new subscription.
Related concepts
“Topics” on page 16
Procedure
In the Navigator view, expand the queue manager that hosts the Publish/Subscribe Engine which you
want to view the subscribers of, then click the Subscriptions object-folder.
Results
The existing subscriptions on the Publish/Subscribe Engine are shown in the Content view.
Related concepts
“Topics” on page 16
A topic identifies what a publication is about. A topic is a character string that describes the subject of the
information that is published in a Publish/Subscribe message. As a subscriber, you can specify a topic or
range of topics by using wildcards to receive the information that you require.
Related reference
“IBM MQ Explorer Content view” on page 293
The Content view in IBM MQ Explorer displays information about objects and properties.
“IBM MQ Explorer Navigator view” on page 285
The Navigator view in IBM MQ Explorer displays all of the IBM MQ objects that you can administer and
monitor in IBM MQ Explorer.
Procedure
1. In the Navigator view, select the queue manager that you want refresh the proxy subscriptions of.
2. Right-click the queue manager, then click Publish/Subscribe > Refresh Proxy Subscriptions.
Results
The Refresh proxy subscriptions dialog opens. You can now click Yes to refresh the proxy subscriptions,
or click No to close the dialog.
Related concepts
“Subscriptions” on page 19
A subscription is a record that contains the information about the topic or topics that the subscriber
is interested in and wants to receive information about. Thus, the subscription information determines
which publications get forwarded to the subscriber. Subscribers can receive information from many
different publishers, and the information they receive can also be sent to other subscribers.
“Topics” on page 16
A topic identifies what a publication is about. A topic is a character string that describes the subject of the
information that is published in a Publish/Subscribe message. As a subscriber, you can specify a topic or
range of topics by using wildcards to receive the information that you require.
Related tasks
“Configuring publish/subscribe for IBM MQ queue managers” on page 99
In IBM MQ Explorer, you can configure IBM MQ queue managers as Publish/Subscribe Engines to route
messages between publishing applications and subscribing applications. To test your configurations, you
can register as a subscriber, and send and receive test publications if you are authorized to do so.
Related reference
“IBM MQ Explorer Navigator view” on page 285
The Navigator view in IBM MQ Explorer displays all of the IBM MQ objects that you can administer and
monitor in IBM MQ Explorer.
Procedure
1. Expand the queue manager that you want to host the multicast communication information object on
to display the object-folders in the Navigator view.
2. Right-click Communication Information, then click New > Multicast Communication Information.
Results
The Communication Information wizard opens. Work though the wizard to create a new communication
information object.
Related reference
“Multicast Communication Information object properties” on page 428
You can set properties for Multicast communication information objects.
Procedure
1. In the Navigator view, right-click the Queue Manager Clusters folder, then click New... The Create
Cluster wizard opens.
2. Work through the pages in the wizard to enter the following information about the new cluster:
a) Page 1: The name of the new cluster. This name must be unique in your organization.
b) Page 2: The name of a queue manager that will have a full repository of information about the
cluster. The queue manager must already exist; click Add queue manager to MQ Explorer if the
queue manager is not already known to IBM MQ Explorer.
c) Page 3: The name of a second queue manager that will have a full repository of information about
the cluster. The queue manager must already exist; click Add queue manager to MQ Explorer if the
queue manager is not already known to IBM MQ Explorer.
d) Page 4: The connection name of the first full repository queue manager. The format of the
connection name depends on the transport protocol that the queue manager uses. For example, if
the queue manager uses TCP/IP, you can use the format computer_name(port_number) where
computer_name is the name of the computer that hosts the queue manager, and port_number is
the port number on which the queue manager listens for connections.
3. Click Finish to create the cluster.
Results
The new cluster is displayed in the Queue Manager Clusters folder. The cluster's full repositories are
shown in its Full Repositories folder.
Procedure
1. In the Navigator view, right-click the cluster, then click Add queue manager to cluster The Create
Cluster wizard opens.
2. Work through the pages in the wizard to enter the following information about the queue manager:
a) Page 1: The name of the queue manager. The queue manager must already exist; click Add queue
manager to MQ Explorer if the queue manager is not already known to IBM MQ Explorer.
b) Page 2: Whether the queue manager will be a full repository or a partial repository for the cluster.
c) Page 3: The connection name of the queue manager. The format of the connection name depends
on the transport protocol that the queue manager uses. For example, if the queue manager uses
TCP/IP, you can use the format computer_name(port_number) where computer_name is the
name or IP address of the computer that hosts the queue manager, and port_number is the port
number on which the queue manager listens for connections.
Results
The queue manager is added to the cluster as a full repository or a partial repository. The queue manager
is displayed in the Full Repository folder or the Partial Repository folder for the cluster.
For more information, see Distributed queuing and clusters and Administering IBM MQ using MQSC
commands.
Related concepts
“Queue manager clusters” on page 33
A cluster is a group of two or more queue managers that are logically associated and can share
information with each other. Any queue manager can send a message to any other queue manager in
the same cluster without you needing to set up a specific channel definition, remote queue definition, or
transmission queue, because all of this information is held in the repository, to which all queue managers
in the cluster have access.
“Cluster repositories” on page 121
A cluster repository contains information about the cluster; for example, information about the queue
managers that are members of the cluster, and the cluster channels. Repositories are hosted by the
queue managers in the cluster.
Related tasks
“Creating a queue manager cluster” on page 115
IBM MQ Explorer treats queue manager clusters as objects so that you can create and administer them
like other MQ objects.
Procedure
1. In the Navigator view (in the Queue Manager Clusters folder), expand the cluster from which the
queue manager is currently suspended.
Results
The queue manager is removed from the cluster and the queue manager's properties are updated.
Related tasks
“Suspending the cluster membership of a queue manager” on page 118
If a queue manager is a member of a cluster but you want to temporarily prevent the queue manager
sharing its cluster queues and exchanging messages using the cluster, you can use IBM MQ Explorer
to suspend the queue manager from the cluster. You can later easily resume the queue manager's
membership of the cluster.
“Adding a queue manager to a cluster” on page 116
You can use IBM MQ Explorer to add a queue manager to a cluster as either a full repository or a partial
repository.
“Creating and configuring a queue manager cluster” on page 114
A cluster is a group of two or more queue managers that are logically associated and can share
information with each other. You can use the wizards and properties dialogs in IBM MQ Explorer to create
and configure queue manager clusters.
Removing a queue manager from a cluster: best practice
Removing a queue manager from a cluster: alternative method
Procedure
In the Navigator view (in the Queue Manager Clusters folder), right-click the queue manager, then click
Resume cluster membership...
Results
The queue manager is an active member of the cluster again and any decoration is removed from the
queue manager's icon to show this.
Related tasks
“Suspending the cluster membership of a queue manager” on page 118
If a queue manager is a member of a cluster but you want to temporarily prevent the queue manager
sharing its cluster queues and exchanging messages using the cluster, you can use IBM MQ Explorer
to suspend the queue manager from the cluster. You can later easily resume the queue manager's
membership of the cluster.
“Creating and configuring a queue manager cluster” on page 114
A cluster is a group of two or more queue managers that are logically associated and can share
information with each other. You can use the wizards and properties dialogs in IBM MQ Explorer to create
and configure queue manager clusters.
Procedure
1. In the Navigator view (in the Queue Manager Clusters folder), right-click the queue manager, the click
Refresh cluster membership... The Refresh Cluster Queue Managers dialog opens.
2. Select the scope of the refresh:
Results
The queue manager's information about the cluster, or clusters, is refreshed.
For more information, see Distributed queuing and clusters.
Related concepts
Clustering: Using REFRESH CLUSTER best practices
Related tasks
“Creating and configuring a queue manager cluster” on page 114
A cluster is a group of two or more queue managers that are logically associated and can share
information with each other. You can use the wizards and properties dialogs in IBM MQ Explorer to create
and configure queue manager clusters.
Procedure
1. In the Navigator view, click the cluster. The Content view displays the name of the full repository
queue manager that is currently the information source.
2. In the Content view, click Select... A dialog opens.
3. From the list, select a full repository queue manager, then click Finish.
Cluster repositories
A cluster repository contains information about the cluster; for example, information about the queue
managers that are members of the cluster, and the cluster channels. Repositories are hosted by the
queue managers in the cluster.
Normally, to ensure availability, two queue managers (on different computers) host full repositories,
which contain a complete set of information about the cluster and its resources. The two queue managers
exchange messages to keep their repositories synchronized. All the other queue managers in the cluster
host partial repositories, which contain an incomplete set of information about the cluster and its
resources.
A queue manager's partial repository contains only information about the queue managers with which
the queue manager needs to exchange messages. The queue manager requests updates from the full
repositories so that if the information changes, the full repository queue managers sends them the new
information. For much of the time a queue manager's partial repository has all the information it needs to
perform within the cluster. When a queue manager needs some additional information, it makes inquiries
of the full repository and updates its partial repository.
Two special types of channel are used by each queue manager for this purpose, one each of cluster-
sender (CLUSSDR) and cluster-receiver (CLUSRCVR).
DHCP
If a computer uses DHCP (dynamic allocation of IP address), you are recommended to define the
repository's Connection name attribute using the computer's name instead of the computer's IP
address. This is because the connection name is used to find the repository. If the computer's IP address
is used and the IP address subsequently changes, other queue managers will no longer be able to find
the repository. This still applies even if all the queue managers in the cluster are on the same computer,
because the IP address is still used to find the repository.
Related concepts
“Queue manager clusters” on page 33
A cluster is a group of two or more queue managers that are logically associated and can share
information with each other. Any queue manager can send a message to any other queue manager in
the same cluster without you needing to set up a specific channel definition, remote queue definition, or
transmission queue, because all of this information is held in the repository, to which all queue managers
in the cluster have access.
“Channels” on page 20
Making a queue manager a full repository for more than one cluster
A queue manager can be a full repository for more than one cluster at the same time.
Procedure
1. Create a new namelist for the queue manager.
2. Open the new namelist's Properties dialog and edit the namelist:
a) On the General page of the Properties dialog, in the Names field, click Edit. The Edit Names dialog
opens.
b) Click Add The Add to Names dialog opens.
c) In the Add to Names dialog, type the name of a cluster for which you want the queue manager to
be a full repository, then click OK.
d) Add the name of each cluster for which you want the queue manager to be a full repository.
e) In the Edit Names dialog, click OK to return to the Properties dialog.
f) Click OK to apply the changes and close the Properties dialog.
3. Open the queue manager's Properties dialog and specify the namelist:
a) On the Repository page of the Properties dialog, click Repository for a list a clusters, then type
the name of the namelist in the field.
b) Click OK to apply the changes and close the Properties dialog.
Results
The queue manager is added to the Full Repository folder of the clusters that are listed in the namelist.
Any of the clusters that were not previously shown in the Queue Manager Clusters folder are shown now.
Related concepts
“Namelists” on page 25
A namelist is an IBM MQ object that contains a list of names of other objects.
Related tasks
“Creating and configuring queue managers and objects” on page 13
You can create, configure, and delete queue managers and objects in IBM MQ Explorer by using the
Navigator view and Content view.
“Configuring queue managers and objects” on page 37
Procedure
1. In the Navigator view, click the queue manager's Queues folder. The queue manager's queues are
displayed in the Content view.
2. In the Content view, right-click the queue that you want to share, then click Properties... The queue's
Properties dialog opens.
3. On the Cluster page of the Properties dialog, click Shared in cluster, then type the name of the cluster
in which you want to share the queue. If the queue is already shared in a cluster or if you want to
share the queue in more than one cluster, click Shared in a list of clusters, then type the name of the
namelist that contains the list of clusters.
4. Click OK to apply the changes.
Results
The queue is now available to all the queue managers in the cluster or clusters in which the queue is
shared.
Related concepts
“Namelists” on page 25
A namelist is an IBM MQ object that contains a list of names of other objects.
“Queue manager clusters” on page 33
A cluster is a group of two or more queue managers that are logically associated and can share
information with each other. Any queue manager can send a message to any other queue manager in
the same cluster without you needing to set up a specific channel definition, remote queue definition, or
transmission queue, because all of this information is held in the repository, to which all queue managers
in the cluster have access.
Related tasks
“Creating a queue manager cluster” on page 115
IBM MQ Explorer treats queue manager clusters as objects so that you can create and administer them
like other MQ objects.
“Adding a queue manager to a cluster” on page 116
You can use IBM MQ Explorer to add a queue manager to a cluster as either a full repository or a partial
repository.
“Resuming the cluster membership of a queue manager” on page 119
Results
The queue manager is added to the Queue Managers folder and you can now administer it like any other
remote queue manager.
“Connecting to a remote cluster queue manager” on page 124
You can connect IBM MQ Explorer to a remote queue manager by using the cluster information source as
an intermediary queue manager.
“Specifying a different cluster information source for IBM MQ Explorer ” on page 120
You can change the full repository queue manager from which IBM MQ Explorer obtains information about
which queue managers belong to a cluster.
“Administering remote queue managers” on page 92
In IBM MQ Explorer, you can enable IBM MQ queue managers on a remote computer for remote
administration.
“Queue manager clusters” on page 33
A cluster is a group of two or more queue managers that are logically associated and can share
information with each other. Any queue manager can send a message to any other queue manager in
the same cluster without you needing to set up a specific channel definition, remote queue definition, or
transmission queue, because all of this information is held in the repository, to which all queue managers
in the cluster have access.
Procedure
1. When a queue manager connects to another queue manager, the two carry out a standard TLS
exchange of certificates, and carry out validation checks. If the validation is successful, the connection
is established. To achieve this, you must configure both of your queue managers, and the channels that
they will use, with appropriate certificate settings.
2. When messages are sent from one queue manager to another queue manager along a channel,
the data is generally encrypted using a session key that has been established during the certificate
exchange. To achieve this you must configure the channels that you will use with appropriate
CipherSpecs.
Results
Sequence Details
A typical sequence for a simple TLS connection between queue managers QM1 and QM2 is as follows:
1. QM1 connects to QM2.
2. The personal certificate that is used by QM2 is sent to QM1.
3. QM1 authenticates the personal certificate against the chain of certificate authority certificates.
4. QM1 optionally checks for certificate revocation if Online Certificate Status Protocol (OCSP) is
supported on the server platform. For more information on OCSP see: “Working with Online Certificate
Status Protocol (OCSP)” on page 27.
5. QM1 optionally checks the personal certificate against the Certificate Revocation List (CRL). For more
information see: “Configuring TLS on queue managers” on page 129.
6. QM1 optionally applies a filter to only accept personal certificates that meet any defined peer names.
For more information see: “Configuring TLS channels” on page 131.
7. QM1 (if all is well) accepts the personal certificate from QM2.
Procedure
1. Manage the digital certificates that are used by the queue manager. For more information, see
Managing SSL certificates.
2. Configure the queue manager for TLS-enabled messaging. For more information, see Configuring SSL
on queue managers.
3. Configure channels to support secure messaging using TLS. For more information, see Configuring SSL
channels.
Results
Setting up TLS on an IBM MQ MQI client
To set up TLS on an IBM MQ client, for each client that uses TLS-enabled connections:
1. Manage the digital certificates that are used by the client. For more information, see Managing SSL
certificates.
2. Configure the client for TLS-enabled messaging. For more information, see Configuring SSL on IBM MQ
clients.
Procedure
1. Create a key database file in the location that is specified in the queue manager's Key repository
attribute.
2. Request and obtain from a Certificate Authority (CA) a personal certificate with the correct label and its
full chain of CA certificates back to the Root certificate.
3. Add all the certificates, in the correct order, to the key repository of the queue manager using
strmqikm.
Results
For instructions on how to use strmqikm, and for more information about security, see Securing.
Related tasks
“Invoking the IBM strmqikm (iKeyman) GUI” on page 128
To manage your TLS certificates using the IBM the strmqikm (iKeyman) GUI, you must first open
strmqikm from IBM MQ Explorer.
“Configuring TLS security for IBM MQ” on page 127
To configure TLS security, you set up TLS on each queue manager and each client that uses TLS-enabled
connections.
Related reference
“Queue manager properties” on page 315
You can set properties for both local and remote queue managers.
Procedure
1. Start IBM MQ Explorer.
2. In the Navigator view, right-click IBM MQ, then click Manage SSL Certificates...
Procedure
• [OPTION 1] Create the queue manager key repository
The key repository is where certificates used by the queue manager are stored. On AIX, Linux, and
Windows platforms, the key repository is known as the key database file.
Before you can store the queue manager certificates in the key repository, you must ensure that a key
database file exists in this location.
a) Find the location of the queue manager key repository.
This is specified in the queue manager's Key Repository attribute.
b) If you need to create the key database file, do this using the strmqikm GUI.
For more information, see “Invoking the IBM strmqikm (iKeyman) GUI” on page 128.
c) In the strmqikm GUI, ensure that the queue manager key repository contains all the Certificate
Authority (CA) certificates that might be required to validate certificates that are received from
other queue managers.
• [OPTION 2] Change the queue manager key repository location
In certain circumstances you might want to change the key repository location; for example, to use a
single location that is shared by all queue managers on one operating system.
To change a queue manager key repository location:
a) Change the key repository location in the queue manager properties:
On AIX, Linux, and Windows, IBM MQ TLS support checks for revoked certificates using
OCSP (Online Certificate Status Protocol) or using CRLs and ARLs on LDAP (Lightweight Directory
Access Protocol) servers. OCSP is the preferred method. IBM MQ classes for Java and IBM MQ classes
for JMS cannot use the OCSP information in a client channel definition table file. However, you can
configure OCSP as described in Revoked certificates and OCSP.
IBM i and z/OS do not support OCSP checking, but they do allow the
generation of client channel definition tables (CCDTs) containing OCSP information.
For more information about CCDTs and OCSP, see Client channel definition table.
To set up a connection to an OCSP server, complete the following steps.
a) In IBM MQ Explorer, expand the queue manager.
b) Create an authentication information object of type OCSP.
For more information, see “Creating and configuring queue managers and objects” on page 13.
c) Repeat the previous step to create as many OCSP authentication information objects as you need.
d) Create a namelist and add to the namelist the names of the OCSP authentication information
objects that you created in Steps 2 and 3.
Results
Use the SSL page of the Channel properties dialog for the following tasks.
Setting message security
TLS-enabled messaging offers two methods of ensuring message security:
• Encryption ensures that if the message is intercepted, it is unreadable.
• Hash functions ensure that if the message is altered, this is detected.
The combination of these methods is called the cipher specification, or CipherSpec. The same CipherSpec
must be set for both ends of a channel, otherwise TLS-enabled messaging fails. For more information, see
Securing.
On the SSL page of the Properties dialog, do one of the following:
• From the Standard cipher field, select a standard cipher.
• If you are an advanced user and you are administering a queue manager on a z/OS or IBM i platform
that includes new CipherSpecs that are not the IBM MQ predefined list, enter a platform-specific value
for a CipherSpec in the Custom ciphers field.
Filtering certificates on their owner's name
Certificates contain the distinguished name of the owner of the certificate. You can optionally configure
the channel to accept only certificates with attributes in the distinguished name of the owner that match
given values. To do this, select the Accept only certificates with Distinguished Names matching these
values check box.
The attribute names that IBM MQ can filter are listed in the following table:
In the Accept only certificates with Distinguished Names matching these values field, you can use
the wildcard character (*) at the beginning or the end of the attribute value in place of any number of
characters. For example, to accept only certificates from any person with a name ending with Smith
working for IBM in GB, type:
Procedure
• [OPTION 1] Manage the IBM MQ client certificates
Use the IBM strmqikm GUI to manage your TLS certificates. For more information, see “Invoking the
IBM strmqikm (iKeyman) GUI” on page 128.
a) Find the location of the client key repository.
Type the following command to examine the MQSSLKEYR environment variable:
echo %MQSSLKEYR%
Procedure
1. In the Navigator view, right-click the queue manager, then click Object Authorities > Manage Create
Authorities... The Manage Create Authorities dialog opens.
2. Windows queue managers only: if you are granting the authority to an individual user, click the Users
tab.
3. Click New... The Add Authorities dialog opens.
4. Enter the name of the group or user, as appropriate.
5. Select the check boxes for the objects for which you want to grant the Create authority, then click OK.
Results
An authority record for the group or user is added to the table and the Create authorities that you granted
are shown.
If the group or user already has Create authorities for some of the objects on the queue manager, select
the existing authority record and edit it. If you add a new authority record for a user or group that already
has an authority record on the object, you are prompted to confirm that you want to overwrite the existing
authority record.
Related concepts
“Users and groups (entities) in the authorization service” on page 149
In the authorization service, authorities are granted to users (also known as principals when the user
name is fully qualified with the domain name) or groups of users for accessing IBM MQ objects. Users and
groups are collectively known as entities in the authorization service. You grant a set of authorities to an
entity by creating an authority record.
“Authorities you can set on IBM MQ objects” on page 152
You can set authorities for users and groups accessing different IBM MQ objects.
Related tasks
“Granting authorities on a queue manager” on page 138
Procedure
1. In the Navigator view, right-click the queue manager, then click Object Authorities > Add Role Based
Authorities... The Add Role Based Authorities dialog opens.
2. Windows queue managers only: if you are granting the authority to an individual user, click User and
enter the user name.
3. If you are granting the authority to a group, click Group and enter the group name.
4. Select the appropriate radio button to grant read only access or full administrative access.
5. If you want to allow the user or group to browse messages on the queues hosted by the queue
manager, select the Permit reading of messages on queues check box.
6. Equivalent commands to grant the requested authorities are displayed in the Command preview pane.
You can copy one or more commands and paste them into a script or onto the command line.
7. Click OK.
Results
The requested authorities are granted to the user or group.
Note: On IBM i, you might also need to change access authorities to allow the user to issue the
commands you have generated. Do this using the GRTOBJAUT command.
Related concepts
“Users and groups (entities) in the authorization service” on page 149
In the authorization service, authorities are granted to users (also known as principals when the user
name is fully qualified with the domain name) or groups of users for accessing IBM MQ objects. Users and
groups are collectively known as entities in the authorization service. You grant a set of authorities to an
entity by creating an authority record.
Related tasks
“Granting authorities on a specific object” on page 139
A user must have the correct authorities to perform operations on objects; for example, to browse the
messages on a queue.
“Granting authorities on multiple objects” on page 140
Procedure
1. In the Navigator view, right-click the queue manager, then click Object Authorities > Manage Queue
Manager Authority Records... The Manage Authority Records dialog opens.
2. Windows queue managers only: if you are granting the authority to an individual user, click the Users
tab.
3. Click New... The Add Authorities dialog opens.
4. Enter the name of the group or user, as appropriate.
5. Select the check boxes for the authorities that you want to grant, then click OK.
Results
An authority record for the group or user is added to the table and the authorities that you granted are
shown.
If the user or group already has some authorities on the queue manager, select the existing authority
record and edit it. If you add a new authority record for a user or group that already has an authority
record on the object, you are prompted to confirm that you want to overwrite the existing authority record.
Related concepts
“Users and groups (entities) in the authorization service” on page 149
In the authorization service, authorities are granted to users (also known as principals when the user
name is fully qualified with the domain name) or groups of users for accessing IBM MQ objects. Users and
groups are collectively known as entities in the authorization service. You grant a set of authorities to an
entity by creating an authority record.
“Authorities you can set on IBM MQ objects” on page 152
You can set authorities for users and groups accessing different IBM MQ objects.
Related tasks
“Granting authorities on a specific object” on page 139
A user must have the correct authorities to perform operations on objects; for example, to browse the
messages on a queue.
“Granting authorities on multiple objects” on page 140
Procedure
1. In the Content view, right-click the object, then click Object Authorities > Manage Authority Records.
The Manage Authority Records dialog opens.
2. Expand the Specific Profiles folder. Only one profile is displayed because only one specific profile can
match one object. If you open the Manage Authority Records dialog from a folder in the Navigator view,
a specific profile for each of the objects in the folder is displayed in the Specific Profiles folder.
3. Click the profile that is displayed in the Specific Profiles folder. The authority records that have been
granted on the object are displayed.
4. Windows queue managers only: if you are granting the authority to an individual user, click the Users
tab.
5. Click New... The Add Authorities dialog opens.
6. Enter the name of the group or user, as appropriate.
7. Select the check boxes for the authorities that you want to grant on the object, then click OK.
Results
An authority record for the user or group is added to the table and the authorities that you granted are
shown in the authority record.
If the user or group already has some authorities for the object, select the existing authority record and
edit it. If you add a new authority record for a user or group that already has an authority record on the
object, you are prompted to confirm that you want to overwrite the existing authority record.
Related concepts
“Generic and specific profiles” on page 150
When you manage authorities for a folder of objects (for example, the Queues folder) using the Manage
Authority Records dialog, you grant authorities against profiles instead of granting authorities on specific
objects.
“Users and groups (entities) in the authorization service” on page 149
In the authorization service, authorities are granted to users (also known as principals when the user
name is fully qualified with the domain name) or groups of users for accessing IBM MQ objects. Users and
groups are collectively known as entities in the authorization service. You grant a set of authorities to an
entity by creating an authority record.
“Authorities you can set on IBM MQ objects” on page 152
You can set authorities for users and groups accessing different IBM MQ objects.
Related tasks
“Granting authorities on multiple objects” on page 140
Procedure
1. In the Navigator view, on the queue manager that hosts the objects, right-click the folder that contains
the objects, then click Object Authorities > Manage Authority Records.... The Manage Authority
Records dialog opens.
2. You can use an existing generic profile or create a new generic profile:
• If there is an existing generic profile that matches the objects, expand the Generic Profiles folder,
click the generic profile, then click New > User Authority... or New > Group Authority.... The Add
Authorities dialog opens.
• If there is no existing generic profile that matches the objects, right-click the Generic Profiles
folder, then clickNew > User Authority Using New Profile... or New > Group Authority Using New
Profile.... The Add Using Generic Profile dialog opens.
3. Enter the name of the user or group..
4. Type a name for the profile using wildcard characters. The name of the profile must match the names
of all of the objects to which you want the profile to apply.
5. Select the check boxes for the authorities that you want to grant on the objects, then click OK.
Results
An authority record for the user or group is added to the table and the authorities that you granted are
shown.
If the user or group already has some authorities for the object, select the existing authority record and
edit it. If you add a new authority record for a user or group that already has an authority record on the
object, you are prompted to confirm that you want to overwrite the existing authority record.
Related concepts
“Generic and specific profiles” on page 150
When you manage authorities for a folder of objects (for example, the Queues folder) using the Manage
Authority Records dialog, you grant authorities against profiles instead of granting authorities on specific
objects.
“Users and groups (entities) in the authorization service” on page 149
In the authorization service, authorities are granted to users (also known as principals when the user
name is fully qualified with the domain name) or groups of users for accessing IBM MQ objects. Users and
groups are collectively known as entities in the authorization service. You grant a set of authorities to an
entity by creating an authority record.
“Authorities you can set on IBM MQ objects” on page 152
Procedure
1. In the Navigator view, right-click the queue manager, then click Object Authorities > Manage Queue
Manager Authority Records... The Manage Authority Records dialog opens.
2. Highlight the record for the user or group to which you want to add the Connect authority, then click
Edit... The Edit Authorities dialog opens.
3. Select the Connect check box, then click OK.
Results
The user now has Connect access to the queue manager. When the user accesses the queue manager's
objects, the authorities that you have granted to the user take effect.
Related concepts
“Authorities you can set on IBM MQ objects” on page 152
You can set authorities for users and groups accessing different IBM MQ objects.
Related tasks
“Granting authorities on a queue manager” on page 138
To perform an operation on a queue manager, the user must have authority to perform that particular
operation on the queue manager.
“Granting authorities on a specific object” on page 139
A user must have the correct authorities to perform operations on objects; for example, to browse the
messages on a queue.
“Granting authorities on multiple objects” on page 140
A user must have the correct authorities to perform operations on objects; for example, to browse the
messages on a queue. You can grant the same set of authorities to multiple objects on a queue manager
by using generic profiles.
“Granting the Create authority” on page 136
Procedure
1. In the Content view, right-click the object on which the two groups or users have authorities, then click
Object Authorities > Manage Authority Records... The Manage Authority Records dialog opens.
2. Click the profile (generic profile or specific profile) that matches the objects on which the two groups
or users have authorities. The authority records associated with the profile are displayed.
3. Click the authority record of one of the groups or users, then click Compare The Compare Authority
Records dialog opens.
4. Enter the name of the group or user with which you want to compare authorities, then click Compare.
The two groups or users and their authorities are displayed in the table.
5. Optional: To show only the authorities that are set differently, select the Show differences only
check box. The authorities that are the same for both groups or users are hidden so that you can
see the differences more easily. In the following figure, the Compare Authority Records dialog shows
that the only differences between the authority records of the user called User500 and the group
called AppDev6 are that the Browse, Get, Inquire, and Set authorities have been granted explicitly to
AppDev6 but not to User500.
Procedure
1. Display the accumulated authorities for a user or group on an object. For more information, see Finding
the accumulated authorities of an entity on an object.
2. Click the accumulated authorities row of the table to highlight it, then click Compare The Compare
Accumulated Authorities dialog opens.
3. Enter the name and type of the entity with which you want to compare the accumulated authorities,
then click Compare. The two sets of accumulated authorities are displayed in the table.
4. Optional: Select the Show accumulated differences only check box to show only the authorities that
are different. For example, in the following figure, the Compare Accumulated Authority Records dialog
shows that in the comparison between the user called User500 and the group called mqm, the only
difference is that mqm has the Put authority but User500 does not.
Results
The dialog displays the accumulated authorities and the authority records that contribute to the
accumulated authorities. You cannot edit the authority records from this dialog.
Procedure
1. In the Navigator view, right-click the queue manager, then click Object Authorities > Find Authorities.
The Find Authorities dialog opens.
2. Select the type of information that you want to display:
• To view the authorities that have been explicitly granted to the group or user, click Authority
records.
• To view the authorities that have accumulated for the group or user, click Accumulated authorities.
3. In the Entity type field, select the entity for whom you are finding the authorities:
• To view the authorities for a specific user, click A user. If Authority records is selected, this option is
available on Windows queue managers only.
• To view the authorities for a specific group of users, click A group.
• To view the authorities for a group or a user of a particular name, click A user or a group. This option
is available on Windows queue managers only.
• To view the authorities for all users, click All users. This option is available on Windows queue
managers only.
• To view the authorities for all groups, click All groups.
• To view the authorities for all entities, click All users and groups. This option is available on
Windows queue managers only.
4. In the Entity name field, type the name of the entity.
5. In the Object type field, select the type of object on which the authorities were granted.
6. In the Profile type field, select the type of profile that the object's name must match:
• To find authorities on a specific object, click Specific profile.
• To find authorities on multiple objects, click Generic profile. The generic profile must already exist.
7. In the Profile name field, enter the name of the profile that the object name must match.
8. Click Find.
Procedure
1. In the Content view, right-click the object, then click Object Authorities > Find Accumulated
Authorities... The Find Accumulated Authorities dialog opens.
2. Select the type of entity and type the name of the entity. The table displays the entity's accumulated
authorities and the authority records that contribute to them.
3. Look down the column of the authority (for example, the Put column) to determine which authority
record has caused the entity to have that accumulated authority.
Results
When you have determined which authority records have contributed to the group or user's accumulated
authorities, you can edit one or more of the authority records to change the accumulated authorities (be
aware that changes you make could be inherited by other groups or users as well).
Accumulated authorities
Accumulated authorities are the total authorities that a user or group has to perform an operation on an
object.
A user can be granted authorities on an object from the following sources:
• An authority record that has been created on the object for the user (Windows only).
• An authority record that has been created on the object for a group to which the user belongs.
• An authority record that has been created for the user against a generic profile that matches the object
(Windows only).
• An authority record that has been created for a group to which the user belongs against a generic profile
that matches the object.
If a user is granted an authority (for example, the authority to put messages on a queue called Q1) from
just one of these sources, the user has that authority, even if authority records from other sources do not
grant that authority. For example, the following figure shows that the user called User500, who belongs
to group AppDev6, does not have authority to put messages on Q1 because the Put authority has not
been granted to User500 or to AppDev6. User500, however, does have authority to get messages from Q1
because the Get authority has been granted to AppDev6 so User500 inherits the Get authority.
In the figure, the first row of the table in the Find Accumulated Authorities dialog shows the accumulated
authorities of User500. The next two rows show the authority records that contribute to the accumulated
authorities. In the scenario shown in the figure, the authority record for User500 does not contain the Put
and Get authorities; the authority record for AppDev6, however, contains the Get authority. Therefore, the
accumulated authorities for User500 show that User500 has Get authority but not Put authority on queue
Q1.
Authority records
An authority record is the set of authorities that have been granted to a particular user or group of users
(entities) on a named object.
On objects on Windows, you can create authority records for individual users and for groups of users. On
AIX, Linux, and IBM i, you can create authority records only for groups of users; if you grant authorities to
an individual user, the authorization service creates or updates the authority record for the user's primary
group so that the same authorities are granted to all the users in the group.
To be able to perform operations on an object or a queue manager, an entity (a user or a group) must
have an authority record that contains the authorities to perform those operations. For example, for a user
called User337 to be able to put messages on queue Q1, User337 or a group to which User337 belongs
must have an authority record that contains the Put authority.
You can grant authorities on single objects by creating an authority record against a specific profile, or you
can grant authorities on multiple objects by creating an authority record against a generic profile. Because
you can create authority records for individual users and for groups, and you can create authority records
against generic profiles which can apply to multiple objects, the authorities that an individual user has on
a particular object can accumulate from several sources.
Related concepts
“Accumulated authorities” on page 148
Accumulated authorities are the total authorities that a user or group has to perform an operation on an
object.
“Generic and specific profiles” on page 150
When you manage authorities for a folder of objects (for example, the Queues folder) using the Manage
Authority Records dialog, you grant authorities against profiles instead of granting authorities on specific
objects.
Related tasks
“Determining why an entity has certain authorities” on page 147
An entity's authorities can accumulate from several sources so it is useful to be able to find out which
authority records contributed to an entity's accumulated authorities.
The users and groups that are displayed in IBM MQ Explorer are defined in the operating system that
hosts the queue manager and objects. You cannot, therefore, create or delete entities from within the IBM
MQ Explorer itself. If you make a change to an entity while IBM MQ Explorer is running, you must refresh
the authorization service to pick up the changes; for more information, see Refreshing authorization
service information .
Entities can be granted authorities explicitly and also by inheritance. For more information about how
entities can inherit authorities, see Accumulated authorities.
On Windows, delete the authority records corresponding to a particular Windows user account before
deleting that user account. It is impossible to remove the authority records after removing the Windows
user account.
Related concepts
“Authority records” on page 149
An authority record is the set of authorities that have been granted to a particular user or group of users
(entities) on a named object.
“Accumulated authorities” on page 148
Accumulated authorities are the total authorities that a user or group has to perform an operation on an
object.
Generic profiles
A generic profile is a profile that you have created to associate with more than one object of the same
type. You can grant authorities to a set of objects at the same time by creating an authority record against
the generic profile. For example, to grant group AppDev6 the authority to put messages on any queue with
a name that starts with Q.STOCKS., grant the authority using a generic profile that is named Q.STOCKS.*
For more information about wildcards, see Wildcards used in generic profiles.
Objects with names that match the profile name do not have to exist when the command is issued.
Related concepts
“Users and groups (entities) in the authorization service” on page 149
In the authorization service, authorities are granted to users (also known as principals when the user
name is fully qualified with the domain name) or groups of users for accessing IBM MQ objects. Users and
groups are collectively known as entities in the authorization service. You grant a set of authorities to an
entity by creating an authority record.
Related tasks
“Granting authorities on a specific object” on page 139
A user must have the correct authorities to perform operations on objects; for example, to browse the
messages on a queue.
“Granting authorities on multiple objects” on page 140
A user must have the correct authorities to perform operations on objects; for example, to browse the
messages on a queue. You can grant the same set of authorities to multiple objects on a queue manager
by using generic profiles.
Related reference
“Wildcards used in generic profiles” on page 158
You can use some wildcard characters in generic profiles.
Related tasks
“Granting authorities on a queue manager” on page 138
To perform an operation on a queue manager, the user must have authority to perform that particular
operation on the queue manager.
“Granting authorities on a specific object” on page 139
A user must have the correct authorities to perform operations on objects; for example, to browse the
messages on a queue.
“Granting authorities on multiple objects” on page 140
A user must have the correct authorities to perform operations on objects; for example, to browse the
messages on a queue. You can grant the same set of authorities to multiple objects on a queue manager
by using generic profiles.
Related tasks
“Granting authorities on a queue manager” on page 138
To perform an operation on a queue manager, the user must have authority to perform that particular
operation on the queue manager.
“Granting authorities on a specific object” on page 139
A user must have the correct authorities to perform operations on objects; for example, to browse the
messages on a queue.
“Granting authorities on multiple objects” on page 140
Note that wildcard characters must use quotation marks on systems that expand them. In general, AIX
and Linux platforms require double quotation marks around generic profiles, whereas Windows platforms
do not.
For other platforms, refer to your product documentation.
Related concepts
“Generic and specific profiles” on page 150
When you manage authorities for a folder of objects (for example, the Queues folder) using the Manage
Authority Records dialog, you grant authorities against profiles instead of granting authorities on specific
objects.
Related tasks
“Granting authorities on multiple objects” on page 140
setmqaut -m QM_A -n Q1 -t queue -p user@domain +browse +chg +clr +dlt +dsp +put +inq +get
+passall +passid +set +setall +setid
setmqaut -m QM_A -n Q1 -t queue -g mqm +browse +chg +clr +dlt +dsp +put +inq +get +passall
+passid +set +setall +setid
You can export different subsets of object authorities. Complete any of the following tasks:
1. Export all object authorities for a queue manager and its objects
2. Export all Create authorities for a queue manager
3. Export authorities by object type
Procedure
• [OPTION 1] Export all object authorities for a queue manager and its objects
a) In the Navigator view, right-click the queue manager, then click Object Authorities > Save All. A
dialog opens.
b) Type a name for the text file and save the authorities.
All of the object authorities for the queue manager and its objects are saved in the text file.
• [OPTION 2] Export all Create authorities for a queue manager
a) In the Navigator view, right-click the queue manager, then click Object Authorities > Manage the
Create Authorities.
The Manage Create Authorities dialog opens. For more information about the managing Create
authorities, see Granting the Create authority.
b) Click Save As.
A dialog opens.
c) Type a name for the text file and save the authorities.
All of the Create authorities for the queue manager are saved in the text file.
• [OPTION 3] Export authorities by object type
a) In the Navigator view, right-click the queue manager, then click Object Authorities > Find
Authorities The Find Authorities dialog opens.
b) Enter the search parameters as required, then click Find; for more information, see Finding the
authorities of a user or group.
c) Click Save As A dialog opens.
d) Type a name for the text file and save the authorities.
All of the object authorities from the records that were found are saved in the text file.
Related tasks
“Exporting and importing settings” on page 224
Procedure
1. Click Window > Preferences.
The Preferences dialog opens.
2. Expand MQ Explorer.
3. Expand Client Connections.
The default security settings dialogs are now accessible.
4. Configure the security settings as required.
What to do next
The default security exit has now been configured. All new client connections in the same IBM MQ
Explorer now use the settings you have configured as a default. The settings can be overridden when
adding a new remote queue manager.
Related tasks
“Configuring the client security details for a queue manager set” on page 160
The client security details and security exit can be defined for all the client-connected queue managers in
a queue manager set.
Related reference
“Default security preferences” on page 161
A security exit can be defined for all client connections in the same IBM MQ Explorer. This is known as a
default security exit and the preferences for the security exit are described here.
“Passwords preferences” on page 163
You can store passwords to a file so that you do not have to enter them every time you want to connect to
resources.
Procedure
1. Right-click the queue manager set you want to define the security details for.
2. Click Edit Security Settings...
The Set Connection Details wizard opens, and you can set the security exit details, user ID and
password details, TLS certificate store details, and enable the default TLS options. User ID and
password details are also applicable to any local queue managers that are part of the set.
3. Select the security options that you want from each page of the wizard.
4. Select the queue managers that you want to apply the new security settings to. Click Finish to apply
the changes and close the Set Connection Details dialog.
What to do next
The security details are configured for the selected queue manager set. All the queue managers that you
selected in the queue manager set are configured with the new security details. The security configuration
applies to all instances of the same queue managers in different queue manager sets.
The changes will not be applied until the next time the queue manager is connected.
Related tasks
“Configuring a default security exit” on page 160
A security exit can be defined for all client connections in the same IBM MQ Explorer. This is known as a
default security exit.
Related reference
“Default security preferences” on page 161
A security exit can be defined for all client connections in the same IBM MQ Explorer. This is known as a
default security exit and the preferences for the security exit are described here.
“Passwords preferences” on page 163
You can store passwords to a file so that you do not have to enter them every time you want to connect to
resources.
Security Exit
Select Enable default security exit to set the default security exit for all client connections in the same
IBM MQ Explorer. The security exit for all the client-connected queue managers in a set can be changed.
The security exit can be overridden if you define a new security exit when you add a new remote queue
manager.
Item Description
Exit Specifies the name of the exit program to be run by the security exit. Exit name can be
name up to 1024 characters long and is case sensitive. Exit name can be a fully qualified java
class name found in the directory or jar file. Exit name can be a C exit, of the format:
dll_name(function_name). The default path for exits is always used to locate C exits, you
cannot specify the location of the exit library in this entry field unless no default path is set.
in Specifies the directory for the security exit (Java exits only).
directory
in jar Specifies the jar file for the security exit (Java exits only).
Exit data Exit data can be up to 32 characters long. If no value has been defined for that attribute,
this field is all blanks.
SSL/TLS Options
Select Enable default SSL options to enable the default SSL/TLS options for all client connections in the
same IBM MQ Explorer. The SSL/TLS options for all client-connected queue managers in a set can be
changed. The SSL/TLS options can be overridden when you add a new remote queue manager.
Item Description
SSL The CipherSpec identifies the combination of encryption algorithm and hash function used
CipherSp by an SSL/TLS connection. A CipherSpec forms part of a CipherSuite, which identifies the
ec key exchange and authentication mechanism as well as the encryption and hash function
algorithms.
The size of the key used during the handshake can depend on the digital certificate you use,
but some of the CipherSpecs supported by IBM MQ include a specification of the handshake
key size. Note that larger handshake key sizes provide stronger authentication. With smaller
key sizes, the handshake is faster.
For more information, see CipherSpecs and CipherSuites.
SSL FIPS Select Yes to use only FIPS-certified cipher suites. If you select Yes, then all TLS connections
required must use FIPS-certified cipher suites.
SSL Type the number of bytes, from 0 to 999 999 999, that are sent and received within a TLS
reset conversation before the secret key is renegotiated. A value of 0 means that the secret key
count is never renegotiated. The number of bytes includes control information that is sent by the
message channel agent (MCA). If the value of this attribute is greater than 0 and the value of
the Heartbeat interval attribute in the Channel properties is greater than 0, the secret key is
also renegotiated before message data is sent or received following a channel heartbeat.
Peer The Distinguished Name (DN) of the queue manager to be used by TLS. The peer name
name is set to indicate that connections will only be allowed where the server is successfully
authenticated as a specific DN.
Passwords preferences
You can store passwords to a file so that you do not have to enter them every time you want to connect to
resources.
Passwords used by the IBM MQ Explorer to connect to resources (for example: opening TLS stores or
connecting to queue managers), can be stored in a file. The password file can be stored locally, to a
remote device, or to a removable device.
To open the Passwords preference panel:
1. Click Window > Preferences. The Preferences dialog opens.
2. Expand MQ Explorer.
3. Select Passwords to display the Passwords panel.
Item Description
Do not save Passwords are not stored to a file. This is the default value.
passwords
Save Passwords are saved to the file you specify. Select Save passwords to file and click
passwords Browse to select a location for the encrypted password file
to file
Use default You must use a key to open a password store. This is the default value.
key
User You must use a key to open a password store. Select User defined key then click Change
defined key to enter your password. The password must contain a minimum of 8 characters.
Related tasks
“Configuring a default security exit” on page 160
A security exit can be defined for all client connections in the same IBM MQ Explorer. This is known as a
default security exit.
“Configuring the client security details for a queue manager set” on page 160
Template (ApiExitTemplate)
One set of definitions per computer. When a queue manager is created, the API exits defined here, if
any, are copied into the newly created queue manager as local exits. Configure template API exits in
the IBM MQ properties dialog.
Local (ApiExitLocal)
One set of definitions per queue manager. When the queue manager starts, any API exits that are
defined override the common exits if their Name attributes are the same, and if the override has been
specified. When a common API exit is overridden, none of the fields in the common definition are
saved, even if the optional Data attribute has an assigned value. Configure local API exits in the queue
manager's properties dialog.
When you configure API exits in the IBM MQ and queue manager properties dialogs, the attribute values
are added to the ApiExitCommon, ApiExitTemplate, and ApiExitLocal stanzas in the configuration
files or the Windows registry.
Procedure
• [OPTION 1] Configure an API exit in IBM MQ Explorer.
a) Open the relevant properties dialog:
b) On the Exits page, click Add.... The Add API Exit dialog opens.
c) Type the required information into the fields of the Add API Exit dialog.
d) Click OK to create the exit and close the Add API Exit dialog.
The properties of the new API exit are displayed in the table on the Exits page.
• [OPTION 2] Override a common API exit with a local API exit.
When a local API exit is defined on a queue manager with the same name as a common exit, the
common exit is overridden. That is, the common exit is not called; instead, the overriding local exit
is called. To prevent accidental overriding, the user interface makes you take deliberate actions to
configure an override; for example, you cannot add a new exit with the same name as an existing exit,
and you cannot change the name of an exit to be the same as an existing exit. However, you might
want to add a local API exit to a queue manager so that the common API exit is not used and the local
API exit is used instead. In this case, you need to override the common API exit with the local API exit.
a) Open the Exits page of the queue manager properties dialog.
b) Click the common exit that you want to override in the Local API Exits table.
c) Click Override.
The Edit API Exit dialog opens with the name of the common API exit displayed.
d) Type the details of the local API exit in the Edit API Exit dialog, and click OK to save the changes.
The local exit now overrides the common exit that has the same name.
“Configuring queue managers and objects” on page 37
Configuring IBM MQ
Procedure
1. Log in to the operating system with a user name that has Administrator authority on Windows, or root
authority on Linux.
2. Add the users user name to the mqm group.
Results
On Windows, the security token that the IBM MQ Explorer queries for authority when it starts, contains
the user name and authority information and is cached by Windows. If changes are made to a user name
authorization, that user must log off and on again for the changes to take effect when IBM MQ Explorer is
restarted.
Procedure
1. In the Navigator view, right-click the queue manager for which you want to refresh the entity
information, then click Security > Refresh Authorization Service.
2. When prompted, click Yes.
Results
The entity information for the queue manager and all of its objects is refreshed in the authorization
service.
Ensure that you refresh the entity information for each queue manager that is affected by the changes
that you made to the entity.
Related concepts
“Users and groups (entities) in the authorization service” on page 149
In the authorization service, authorities are granted to users (also known as principals when the user
name is fully qualified with the domain name) or groups of users for accessing IBM MQ objects. Users and
groups are collectively known as entities in the authorization service. You grant a set of authorities to an
entity by creating an authority record.
Related tasks
“Refreshing TLS security” on page 168
Procedure
1. In the Navigator view, right-click the queue manager for which you want to refresh the connection
authentication configuration, then click Security > Refresh Connection Authentication.
2. When prompted, click Yes.
Results
The configuration for connection authentication is picked up by the queue manager and will be used to
determine whether connection authentication should be applied to any subsequent connections to the
queue manager.
Related tasks
“Refreshing the authorization service information on Multiplatforms” on page 167
On Multiplatforms, if you make a change to an entity, you must refresh the entity information in the
authorization service. You must do this for each queue manager that is affected by the changes that you
make to the entity.
“Refreshing ESM classes (z/OS only)” on page 170
IBM MQ for z/OS does not perform any authority checks itself; instead, it routes requests for authority
checks to an external security manager (ESM).
“Refreshing TLS security” on page 168
You can make changes to the key repository without restarting a channel. However, the copy of the key
repository that is held in memory while a channel is running will not be affected. When you refresh the
cached copy of the key repository, the TLS channels that are currently running on the queue manager are
updated with the new information.
Procedure
1. In the Navigator view, right-click the queue manager for which you want to refresh the cached copy of
the key repository, then click Security > Refresh SSL.
2. When prompted, click Yes.
Results
The TLS channels that are currently running on the queue manager are updated with the new information.
The queue manager FIPS configuration (SSLFipsRequired) is also refreshed by this command on AIX,
Linux, and Windows.
Related tasks
“Securing channels with TLS” on page 126
The TLS (Transport Layer Security) protocol enables queue managers to communicate securely with other
queue managers, or clients.
“Refreshing the authorization service information on Multiplatforms” on page 167
On Multiplatforms, if you make a change to an entity, you must refresh the entity information in the
authorization service. You must do this for each queue manager that is affected by the changes that you
make to the entity.
“Refreshing ESM classes (z/OS only)” on page 170
IBM MQ for z/OS does not perform any authority checks itself; instead, it routes requests for authority
checks to an external security manager (ESM).
“Refreshing the connection authentication configuration” on page 168
Procedure
1. In the Navigator view, right-click the queue manager for which you want to refresh the classes, then, to
refresh all of the classes, click Security > Refresh ESM Classes > ALL. Alternatively, instead of clicking
ALL, click the type of class that you want to refresh:
2. When prompted, click Yes.
Results
The classes that you selected are refreshed: the profiles are deleted from the in-storage table and must
be retrieved directly from RACF next time they are needed.
Related tasks
“Refreshing the authorization service information on Multiplatforms” on page 167
On Multiplatforms, if you make a change to an entity, you must refresh the entity information in the
authorization service. You must do this for each queue manager that is affected by the changes that you
make to the entity.
“Refreshing TLS security” on page 168
You can make changes to the key repository without restarting a channel. However, the copy of the key
repository that is held in memory while a channel is running will not be affected. When you refresh the
cached copy of the key repository, the TLS channels that are currently running on the queue manager are
updated with the new information.
“Refreshing the connection authentication configuration” on page 168
Procedure
• [OPTION 1] View the status of an object
a) In the Content view, right-click the object, then click Status...
b) If you are viewing a channel definition's status, click Channel Status to view the current status of
the channel, or Saved Status to view the saved status of the channel.
c) The Status dialog for the object opens, displaying the status information that you requested.
• [OPTION 2] View the status of all objects of a specific type for a selected queue manager
a) In the Explorer view, right-click the folder of objects (for example Queues) for a selected queue
manager, then click Status....
A new Content view is displayed in a separate window.
b) The status of all the objects in the object-folder are displayed in the new Content view window.
• [OPTION 3] View the status of multiple instances of the same receiver channel
Different applications can use different instances of the same receiver channel at the same time. It is
possible for these different instances to have different statuses.
There are two ways to view the status of multiple channel instances in the IBM MQ Explorer:
a) In the Content view, right-click the channel, then click Status... You can view the current status of
the channel (click Channel Status) or the saved status of the channel (click Saved Status).
All the statuses for the individual instances are aggregated into a single status displayed in the
Content view.
b) In the Navigator view, right-click the channels folder of your selected queue manager, then click
Status. You can view the current status of the channel (click Channel Status) or the saved status of
the channel (click Saved Status).
A new Content view is opened in a separate window. The status of all the objects in the folder are
displayed in the new Content view window. All of the channel instances and the individual statuses
are displayed in the Content view.
The aggregated status displayed is dependent on the number of instances and their different statuses,
as follows:
– There are no channel instances: Status is shown as Inactive.
– There is a single channel instance: Status is shown as the actual status of the channel.
– There are more than 1 instances, all with the same status: Status is shown as the actual status of
the channels.
– There are more than 1 instances, with mixed statuses: Status is shown as Mixed.
Procedure
1. In the Navigator view, right-click the queue manager, then click Application Connections. The
Application Connections dialog opens.
2. In the Application Connections dialog, the first table lists the applications that are currently
connected to the queue manager.
3. Click an application to display, in the second table, a list of the objects on the queue manager that the
application is accessing.
4. Optional: Close a connection:
a) Click the name of the application, then click Close Connection.
b) When you are prompted, click Yes to confirm that you want to close the connection.
The connection between the application and the queue manager is closed.
Results
If you closed a connection, the application that used that connection can no longer access the queue
manager's objects.
Procedure
1. Connect to the JNDI namespace. For more information, see Adding an initial context.
2. Create and configure the administered objects that are stored in the JNDI namespace. For more
information, see Creating a connection factory and Creating a destination.
Results
For more information about programming JMS applications and configuring IBM MQ classes for JMS, see
Using IBM MQ classes for JMS.
Related concepts
“JMS connection factories” on page 175
A connection factory is an object that a JMS client (a JMS program that uses the JMS API) uses to create a
connection with a JNDI provider (a messaging provider such as IBM MQ).
“JMS destinations (queues and topics)” on page 177
JMS contexts
A context is a set of bindings that associates names with objects stored in a naming and directory service.
JMS clients (Java applications that use the JMS API) use contexts to look up the names of the JMS
objects in the naming and directory service. Every context has a naming convention associated with it.
For more information about LDAP naming considerations, see Configuring the JMS administration tool.
Initial contexts
For each location in the naming and directory service, you need to specify an initial context to give a
starting point from which the JMS client can resolve the names of the objects in that location of the
naming and directory service. JMS clients access the objects in the naming and directory service through
the Java Naming Directory Interface (JNDI); the location in the naming and directory service that is
defined by the context is known as the JNDI namespace.
When you specify an initial context in IBM MQ Explorer, the full contents of the JNDI namespace are
displayed but, in IBM MQ Explorer, you can edit only the IBM MQ classes for JMS objects that are stored
there. All of the initial contexts that you add to IBM MQ Explorer are displayed in the Navigator view in the
JMS Administered Objects folder, as shown in the following figure.
In the figure, File System Initial Context is the initial context for a location in the
local filesystem: C:/JMSAdmin/JMSAdmin1 and LDAP Initial Context is the initial context
for a location on an LDAP server, on a computer called hiss with the distinguished name
cn=JMSData,dc=ibm,dc=uk.
When you have added the initial context to IBM MQ Explorer, you can create connection factory objects,
destination objects, and subcontexts in the JNDI namespace.
Subcontexts
A subcontext is a subdivision of a JNDI namespace and can contain connection factories and destinations
as well as other subcontexts. A subcontext is not an object in its own right; it is merely an extension of
the naming convention for the objects in the subcontext. You can create multiple subcontexts in a single
context.
In the following figure, the subcontext called A Subcontext is bound to the initial context called
File System Initial Context. In the file system where the context and subcontext are stored,
the subcontext is a sub-directory of the initial context; other JNDI implementations, such as LDAP, might
store subcontexts differently.
When you define a connection factory, you select the messaging provider that is used as the JMS provider
(for example, IBM MQ or Real-time); a connection factory can create connections only to that messaging
provider. For the JMS client to create connections to a different messaging provider, you must create a
new connection factory and specify the messaging provider. Real-time transport is not available in IBM
MQ 8.0. If you are using IBM MQ 8.0 you can define Real-time transport, but it fails when an attempt is
made to create a connection.
When you create a destination object, you must specify whether the destination is a JMS queue (in
the point-to-point messaging domain) or a JMS topic (in the publish/subscribe messaging domain); you
cannot change the domain after the destination has been created. You must also configure the destination
with the name of the queue or topic that the destination represents. An advantage of using JMS is that you
can change the name of the queue or topic that the JMS client uses by changing the value of a property in
the destination definition and you do not update the JMS client itself.
For more information, see Using IBM MQ classes for JMS and Publish/subscribe messaging.
Related concepts
“IBM MQ queues” on page 15
Procedure
1. In the Navigator view, right-click the JMS Administered Objects folder, then click Add Initial Context
The Add Initial Context wizard opens.
Results
The initial context is added to the JMS Administered Objects folder in the Navigator view. If IBM MQ
Explorer is connected to the initial context, you can now create connection factory objects, destination
objects, and subcontexts in the initial context.
Related concepts
“JMS contexts” on page 174
A context is a set of bindings that associates names with objects stored in a naming and directory service.
Related tasks
“Connecting and disconnecting an initial context” on page 180
You can connect or disconnect IBM MQ Explorer to an initial context that is displayed in the JMS
Administered Objects folder. You can also configure each initial context so that IBM MQ Explorer
automatically reconnects to it the next time that you close and restart IBM MQ Explorer.
“Removing an initial context” on page 181
Procedure
• [OPTION 1] Connect or disconnect an initial context that is displayed in the JMS Administered Objects
folder.
a) If the JNDI namespace is on a different computer to IBM MQ Explorer, ensure that the naming and
directory service is available.
b) In the Navigator view, right-click the initial context, then click Connect or Disconnect as required.
c) If the JNDI service provider requires authentication (for example, LDAP), enter your authentication
details when prompted.
IBM MQ Explorer connects or disconnects the initial context. The color of the initial context's icon
changes to show its status: gray if it is disconnected; blue if it is connected.
If you disconnect an initial context that is configured so that IBM MQ Explorer automatically
reconnects to it, the next time that you close and restart IBM MQ Explorer, the initial context is
reconnected.
If you want to remove the initial context completely from IBM MQ Explorer, see Removing an initial
context.
• [OPTION 2] Enable or cancel automatic reconnection to an initial context.
You can configure each initial context so that IBM MQ Explorer automatically reconnects to it the
next time that you close and restart IBM MQ Explorer. If you do not configure an initial context to
automatically reconnect, when you close and restart IBM MQ Explorer, it is not reconnected.
Related concepts
“JMS contexts” on page 174
A context is a set of bindings that associates names with objects stored in a naming and directory service.
Related tasks
“Adding an initial context” on page 178
To create and configure JMS objects in IBM MQ Explorer, you must add an initial context to define the root
of the JNDI namespace in which the JMS objects are stored in the naming and directory service.
“Removing an initial context” on page 181
If you no longer want to access and administer JMS objects in a particular JNDI namespace, you can
remove the initial context that defines the root of the JNDI namespace from the JMS Administered
Objects folder in IBM MQ Explorer.
Procedure
1. In the Navigator view, right-click the initial context, then click Remove
2. When prompted, click Yes.
Results
The initial context is removed from the JMS Administered Objects folder in IBM MQ Explorer. The JNDI
namespace is not deleted from the naming and directory service so you can add the initial context to IBM
MQ Explorer again later.
Related concepts
“JMS contexts” on page 174
Procedure
1. In the Navigator view, expand the JMS Administered Objects folder, then expand the initial context
(and subcontexts, if necessary) for the JNDI namespace in which the connection factory will be stored.
2. Right-click the Connection Factories folder, then click New > Connection Factory.... The New
Connection Factory wizard opens.
3. In the wizard, type a name for the connection factory and select the messaging provider to which the
JMS client will use the connection factory to connect, then click Next:
• If you are using point-to-point messaging or if you are using the IBM MQ Publish/Subscribe broker,
click IBM MQ.
4. Select the type of connection factory that you want to create:
• Click Connection Factory if the JMS application will use both point-to-point messaging and publish/
subscribe messaging, especially if you want the JMS application to perform both types of messaging
under the same transaction.
• Click Queue Connection Factory if the JMS application will use only point-to-point messaging.
• Click Topic Connection Factory if the JMS application will use only publish/subscribe messaging.
5. Optional: To support XA transactions, select the Support XA transactions check box. XA transactions
are not supported if you are using Real-time as the messaging provider.
6. Click Next.
7. Select the type of transport that will be used by the connections that are created by the connection
factory, then click Next:
• If the JMS client that uses the connection factory is on a different computer from the queue
manager, click MQ Client. This means that the connection uses TCP/IP. If you select MQ Client
and you selected the Support XA transactions check box on the previous page of the wizard, you
must install the Java Extended Transaction Support component of IBM MQ.
• If the JMS application using the connection factory runs on the same computer as the queue
manager, you can click MQ Client (see the previous option for more information) or you can click
Bindings, which means that the JMS client connects directly to the queue manager.
Results
The new connection factory is displayed in the Content view of the Connection Factories folder.
Related concepts
“JMS connection factories” on page 175
A connection factory is an object that a JMS client (a JMS program that uses the JMS API) uses to create a
connection with a JNDI provider (a messaging provider such as IBM MQ).
Related tasks
“Creating a destination” on page 183
A JMS client uses a destination object to specify the target of messages that the JMS client produces
and the source of messages that the JMS client receives. Destination objects can represent queues (for
point-to-point messaging) or topics (for publish/subscribe messaging).
“Creating a subcontext” on page 188
A subcontext is a subdivision of a JNDI namespace and can contain connection factories and destinations
as well as other subcontexts. You can create subcontexts within initial contexts or within other
subcontexts.
“Changing the transport type used for connections” on page 187
You can change the transport type that a JMS client uses to connect to a JMS provider. You might also
need to change any properties and settings that are required by the new transport type.
“Deleting an administered object” on page 190
When you delete an administered object in IBM MQ Explorer, the administered object no longer exists in
the JNDI namespace in the naming and directory service.
“Renaming an administered object” on page 189
When you have created an administered object (connection factories and destinations), you can
subsequently rename it in IBM MQ Explorer.
Creating a destination
A JMS client uses a destination object to specify the target of messages that the JMS client produces
and the source of messages that the JMS client receives. Destination objects can represent queues (for
point-to-point messaging) or topics (for publish/subscribe messaging).
Results
The new destination is displayed in the Content view of the Destinations folder.
Related concepts
“JMS destinations (queues and topics)” on page 177
A JMS destination is an object (a JMS queue or a JMS topic) that represents the target of messages that
the client produces and the source of messages that the client consumes. In point-to-point messaging,
destinations represent queues; in publish/subscribe messaging, destinations represent topics.
Related tasks
“Creating a connection factory” on page 182
A JMS client (a Java application that uses the JMS API) uses connection factories to create connections to
the JMS provider (a messaging provider such as IBM MQ).
“Creating a subcontext” on page 188
A subcontext is a subdivision of a JNDI namespace and can contain connection factories and destinations
as well as other subcontexts. You can create subcontexts within initial contexts or within other
subcontexts.
“Deleting an administered object” on page 190
When you delete an administered object in IBM MQ Explorer, the administered object no longer exists in
the JNDI namespace in the naming and directory service.
“Renaming an administered object” on page 189
When you have created an administered object (connection factories and destinations), you can
subsequently rename it in IBM MQ Explorer.
“Creating a JMS object from an IBM MQ object” on page 186
You can create new JMS administered objects based on your existing IBM MQ objects.
Procedure
• [OPTION 1] Create a JMS queue and an IBM MQ queue simultaneously.
When you create a new JMS queue in IBM MQ Explorer, you can choose to launch the IBM MQ New
Local Queue wizard to create an IBM MQ queue immediately after the New JMS Destination wizard
has finished. The New Local Queue wizard now contains the details you entered when creating the
JMS queue.
a) Select the JMS Initial Context you want to add a new JMS queue to in the Navigator view, and
right-click on its Destinations initial context object folder.
b) Click New > Destination to open the New Destination wizard.
c) Type a name for your queue, then select Queue in the Type field.
d) Select Start wizard to create a matching MQ Queue. Continue through the wizard to create your
queue.
After you have completed the New Destination wizard, the New MQ Queue wizard opens, with many
of the JMS queue details mapped to the IBM MQ queue.
• [OPTION 2] Create a JMS topic and an IBM MQ topic simultaneously.
When you create a new JMS topic in IBM MQ Explorer, you can choose to launch the IBM MQ New
Topic wizard to create an IBM MQ topic immediately after the New JMS Destination wizard has
finished. The New Topic wizard now contains the details you entered when creating the JMS topic.
a) Select the JMS Initial Context you want to add a new JMS topic to in the Navigator view, and
right-click on its Destinations initial context object folder.
b) Click New > Destination to open the New Destination wizard.
c) Type a name for your topic, then select Topic in the Type field.
d) Select Start wizard to create a matching MQ Topic. Continue through the wizard to create your
topic.
After you have completed the New Destination wizard, the New Topic wizard opens, with many of the
JMS topic details mapped to the IBM MQ topic.
Related tasks
“Creating a destination” on page 183
A JMS client uses a destination object to specify the target of messages that the JMS client produces
and the source of messages that the JMS client receives. Destination objects can represent queues (for
point-to-point messaging) or topics (for publish/subscribe messaging).
“Creating and configuring queue managers and objects” on page 13
You can create, configure, and delete queue managers and objects in IBM MQ Explorer by using the
Navigator view and Content view.
“Creating an IBM MQ object from a JMS object” on page 34
Procedure
1. In the Navigator view, expand the queue manager that hosts the IBM MQ object (either an IBM MQ
queue or IBM MQ topic), then click the Queues or Topics folder as appropriate to list the objects in the
Content view.
2. In the Content view, right-click the object, then click Create JMS Queue or Create JMS Topic as
appropriate.
The New Destination wizard opens.
3. In the wizard, click Select, then select the JMS context in which you want to create the new JMS
object.
The JMS context's name is displayed in the JMS Context field of the wizard.
4. Work through the wizard to define the new JMS object, then click Finish.
Results
The new JMS administered object is created and displayed under the appropriate JMS context in IBM MQ
Explorer.
What to do next
You can now continue to configure the JMS object as necessary.
To create a JMS object and an IBM MQ object simultaneously, follow the instructions in: “Creating a JMS
object and an IBM MQ object simultaneously” on page 184 or “Creating an IBM MQ object and a JMS
object simultaneously” on page 35
Related tasks
“Creating a destination” on page 183
Procedure
1. In the Navigator view, right-click the relevant object folder, then open the New wizard.
For example, right-click the Connection Factories folder, then click New > Connection Factory.
2. Select the options that you require until you get to page of the wizard on which you can choose to
create the object with attributes like an existing object.
3. Select the Create with attributes like an existing object check box.
4. Click Select The Select the Like Object dialog opens. The dialog lists all of the objects in the JNDI
namespace that match the selections you have already made in the wizard. For example, if you are
creating a connection factory, the dialog lists all the connection factories that use the same transport
type, messaging provider, and connection factory class as the one you are creating.
5. Click the object that you want to base the new object on, then click OK.
6. Click Finish to create the object.
Results
The new object is created with the same attributes as the existing object that you specified.
Procedure
1. In the Navigator view, click the Connection Factories folder that contains the connection factory for
which you want to change the transport type. The connection factory is displayed in the Content view.
2. In the Content view, right-click the connection factory, then click Switch Transport.
Results
The next time that a connection factory creates a connection for the JMS client, the connection uses the
new type of transport.
Related concepts
“Messaging providers for IBM MQ classes for JMS” on page 178
A JMS client (a Java application that uses the JMS API) uses a connection factory to create a connection
with the JMS provider. The messaging provider that is used as the JMS provider determines which types
of transport are available to use for the connection.
“JMS connection factories” on page 175
A connection factory is an object that a JMS client (a JMS program that uses the JMS API) uses to create a
connection with a JNDI provider (a messaging provider such as IBM MQ).
Related tasks
“Creating a connection factory” on page 182
A JMS client (a Java application that uses the JMS API) uses connection factories to create connections to
the JMS provider (a messaging provider such as IBM MQ).
Creating a subcontext
A subcontext is a subdivision of a JNDI namespace and can contain connection factories and destinations
as well as other subcontexts. You can create subcontexts within initial contexts or within other
subcontexts.
Procedure
1. In the Navigator view, right-click the initial context or subcontext in which you want to create the new
subcontext, then click New > Subcontext... The New Subcontext dialog opens.
2. Type a name for the new subcontext, then click OK.
Results
The new subcontext is displayed in the Navigator view, under the initial context or subcontext in which
you created it.
Related concepts
“JMS contexts” on page 174
Procedure
1. In the Content view, right-click the object that you want to rename, then click Rename The Rename
Object dialog opens.
2. Type a new name for the object, then click OK.
Results
The renamed object is displayed in the Content view.
Related concepts
“JMS connection factories” on page 175
A connection factory is an object that a JMS client (a JMS program that uses the JMS API) uses to create a
connection with a JNDI provider (a messaging provider such as IBM MQ).
“JMS destinations (queues and topics)” on page 177
A JMS destination is an object (a JMS queue or a JMS topic) that represents the target of messages that
the client produces and the source of messages that the client consumes. In point-to-point messaging,
destinations represent queues; in publish/subscribe messaging, destinations represent topics.
“JMS contexts” on page 174
A context is a set of bindings that associates names with objects stored in a naming and directory service.
Related tasks
“Renaming a context” on page 189
You can rename a subcontext, provided that you have first deleted from the subcontext any objects that
are stored in the subcontext.
Renaming a context
You can rename a subcontext, provided that you have first deleted from the subcontext any objects that
are stored in the subcontext.
Results
The subcontext is renamed.
Related concepts
“JMS connection factories” on page 175
A connection factory is an object that a JMS client (a JMS program that uses the JMS API) uses to create a
connection with a JNDI provider (a messaging provider such as IBM MQ).
“JMS destinations (queues and topics)” on page 177
A JMS destination is an object (a JMS queue or a JMS topic) that represents the target of messages that
the client produces and the source of messages that the client consumes. In point-to-point messaging,
destinations represent queues; in publish/subscribe messaging, destinations represent topics.
“JMS contexts” on page 174
A context is a set of bindings that associates names with objects stored in a naming and directory service.
Related tasks
“Renaming an administered object” on page 189
When you have created an administered object (connection factories and destinations), you can
subsequently rename it in IBM MQ Explorer.
Procedure
1. In the Content view, right-click the administered object, then click Delete
2. When you are prompted, click Delete to confirm that you want to delete the administered object.
Results
The administered object is deleted from the JNDI namespace as well as from IBM MQ Explorer.
Related concepts
“JMS connection factories” on page 175
Deleting a subcontext
When you delete a subcontext in IBM MQ Explorer, the subcontext no longer exists in the JNDI
namespace.
Procedure
1. Delete from the subcontext any objects that are stored in the subcontext, including IBM MQ classes for
JMS connection factories and destinations, other subcontexts, and any other objects that are shown in
the Content view of the initial context.
2. Refresh the Content view of the subcontext so that IBM MQ Explorer has up-to-date information about
the content of the JNDI namespace.
3. In the Navigator view, right-click the subcontext, then click Delete...
If the Delete... menu item is not available, there are still objects in the subcontext; the objects might
not be displayed in IBM MQ Explorer; refresh the Content view to ensure that IBM MQ Explorer has
up-to-date information about the content of the JNDI namespace.
4. When you are prompted, click Delete to confirm that you want to delete the subcontext.
Results
The subcontext is deleted from the JNDI namespace as well as from IBM MQ Explorer.
Related concepts
“JMS contexts” on page 174
A context is a set of bindings that associates names with objects stored in a naming and directory service.
“JMS connection factories” on page 175
A connection factory is an object that a JMS client (a JMS program that uses the JMS API) uses to create a
connection with a JNDI provider (a messaging provider such as IBM MQ).
“JMS destinations (queues and topics)” on page 177
A JMS destination is an object (a JMS queue or a JMS topic) that represents the target of messages that
the client produces and the source of messages that the client consumes. In point-to-point messaging,
destinations represent queues; in publish/subscribe messaging, destinations represent topics.
Related tasks
“Deleting an administered object” on page 190
Table 5. Options for configuring the settings for IBM MQ Explorer preferences
Type of setting Configuration task Where to find more information
Authorization Displaying object authority settings as “Displaying object authority settings as
service text text” on page 226
Client connections Remote queue managers; specifying “Specifying the default values used to
default values that are used to connect connect to remote queue managers” on
to remote queue managers page 223
TLS Key Repositories; specifying the “Specifying the default location and
default location and default password of default password of TLS certificates” on
TLS certificates page 87
TLS Options; specifying default security “Default security preferences” on page
preferences 161
Security exit; configuring a default “Configuring a default security exit” on
security exit page 160
User identification; enabling default user “Users and groups (entities) in the
identification authorization service” on page 149
Display settings Changing the colors “Changing the colors” on page 221
Defining schemes and filters from the Filtering the objects displayed in the
relevant content view Content view
Setting the order of columns in tables Changing the order of columns in tables
and the objects that are displayed
Changing the refresh frequency of queue “Changing the refresh frequency of
manager information queue manager information” on page
222
Displaying object authority settings as “Displaying object authority settings as
text text” on page 226
Enable Plug-ins Enabling installed plug-ins “Enabling installed plug-ins” on page
221
Managed File Configuring managed file transfer “Configuring Managed File Transfer
Transfer preferences” on page 299
Messages Configuring messages “Configuring message preferences” on
page 300
You can export and import the customizations that you make in IBM MQ Explorer. For more information,
see Exporting and importing settings in MQ Explorer.
Related tasks
“Configuring IBM MQ using IBM MQ Explorer” on page 12
In the Navigator view, you can use the Properties dialog to configure certain IBM MQ properties that
apply to the whole installation. If necessary, you can also configure the properties of individual queue
managers.
Related reference
“Accessibility in IBM MQ Explorer” on page 279
Accessibility features help a user who has a physical disability, such as restricted mobility or limited
vision, to use software products successfully.
Procedure
1. In the Content view or dialog that contains the table, click the small arrow next to the current filter
name. A menu is displayed.
2. If you want to apply one of the other supplied filters, in the menu, click the name of the filter. The
menu closes and the filter is applied to the table.
Results
The selected filter is applied to the selected folder.
Related concepts
“Define schemes to change the order of columns in tables” on page 217
When object data is displayed in IBM MQ Explorer in tables, you can customized the order of the columns
in the tables.
Creating a filter
Procedure
1. In the Content view or dialog that contains the table, click the small arrow next to the current filter
name. A menu is displayed.
2. From the menu, click Manage Filters. The Manage Filters dialog opens displaying the filters that
already exist for the object type.
3. In the Manage Filters dialog, click Add The Add Filter dialog opens.
4. In the Add Filter dialog, in the Filter Name field, type a name for the filter; for example, Queues
containing more than 50 messages
5. Following the Filter Name field, are the Includes objects where fields, in which you can enter the
criteria to add to the new filter. For example, if you are creating a filter for queues, the fields are
labeled Includes Queues where. Enter the following information:
a) The first row of fields allows you to filter on the name of the object. By default, the third field
contains an asterisk (*) so that all objects, regardless of their names, are included in the filter. For
example, to include only the queues that start with jupiter, type jupiter*
b) Queues and channels only: The next row of fields allows you to filter on the type of the object. By
default, the filter includes all types of the object. For example, to include only local queues, select
Local Queue.
c) Optional: You can enter another criteria to the filter based on the value of an attribute of the
objects. Select the check box labeled - and - so that you can edit the fields. For example, to include
only queues that contain more than 50 messages, in the first field, select the attribute Current
queue depth; in the second field, select Greater than; in the third field, type 50.
6. Optional: To automatically apply an existing column scheme when the filter is applied, select the
check box labeled Automatically apply a Column Scheme when this filter is applied, then select the
column scheme from the list.
7. Click OK. The Add Filter dialog closes. The new filter is displayed in the Manage Filters dialog with
any other available filters.
Results
You can now apply the filter to the table.
Related concepts
“Define schemes to change the order of columns in tables” on page 217
When object data is displayed in IBM MQ Explorer in tables, you can customized the order of the columns
in the tables.
Related tasks
“Filtering the objects displayed in tables” on page 193
When object data is displayed in IBM MQ Explorer in tables, you can filter the data so that only the objects
in which you are interested are displayed.
“Editing an existing filter” on page 195
You can edit any filters that you created previously and you can also edit the filters that are supplied with
IBM MQ Explorer; for example, the Default for Queues filter.
“Copying an existing filter” on page 196
Procedure
• [OPTION 1] Edit the current filter
a) In the Content view or dialog that contains the table, click the small arrow next to the current filter
name.
A menu is displayed.
b) From the menu, click Edit Current Filter.
The Edit Filter dialog opens.
c) In the Edit Filter dialog, make your changes, then click OK. For more information about the fields in
the dialog, see: “Creating a filter” on page 194.
The changes to the filter are automatically applied to any tables that are using that filter.
• [OPTION 2] Edit a non-current filter
a) In the Content view or dialog that contains the table, click the small arrow next to the current filter
name.
A menu is displayed.
b) From the menu, click Manage Filters.
The Manage Filters dialog opens displaying the filters that exist for the object type.
c) In the Manager Filters dialog, click the filter that you want to edit, then click Edit.
The Edit Filter dialog opens.
d) In the Edit Filter dialog, add, remove, or change the criteria that are set for the filter, then click OK.
For more information about the fields in the dialog, see: “Creating a filter” on page 194.
e) Click OK to close the Manage Filters dialog.
Procedure
1. Make sure that the type of object for which you are creating a filter is displayed in the Content view,
then click the small arrow next to the current filter name. A menu is displayed.
2. In the Select Filter dialog, click Manage Filters... The Manage Filters dialog opens displaying the filters
that exist for the object type.
3. In the Manage Filters dialog, click the filter that you want to copy, then click Copy As... The Copy Filter
dialog opens.
4. In the Copy Filter dialog, type a name for the new filter, then click OK.
5. In the Manage Filters dialog, click Edit... The Edit Filter dialog opens.
6. In the Edit Filter dialog, add, remove, or change the criteria that are set for the filter, then click OK. For
more information about the fields in the dialog, see Creating a filter.
7. Click OK to close the Manage Filters dialog.
Results
The new filter is available to apply in the Select Filter dialog.
Related tasks
“Filtering the objects displayed in tables” on page 193
When object data is displayed in IBM MQ Explorer in tables, you can filter the data so that only the objects
in which you are interested are displayed.
“Creating a filter” on page 194
“Editing an existing filter” on page 195
You can edit any filters that you created previously and you can also edit the filters that are supplied with
IBM MQ Explorer; for example, the Default for Queues filter.
“Copying an existing filter” on page 196
Note: The IBM MQ Explorer Service Definition Wizard, which was introduced in IBM
WebSphere MQ 7.0, is deprecated for IBM MQ 8.0.
Procedure
1. Right-click on Service Definition Repositories to open the menu, then click Add Repository to open
the Add New Service Definition Repository dialog.
2. Type a name for the new repository and click Finish to close the dialog and create the new repository.
Related tasks
“Deleting a service definition repository” on page 198
Deleting a service definition repository also deletes any service definitions contained within it.
“Creating a new service definition” on page 198
The service definition wizard simplifies the process of creating service definitions and is integrated into
the IBM MQ Explorer. The service definition wizard is deprecated in IBM MQ 8.0
“Deleting service definitions” on page 199
Procedure
1. Right-click on the repository you want to delete to open the menu, then click Remove.
A confirmation dialog opens.
2. Click Delete to permanently delete the repository and all its stored service definitions.
The confirmation dialog closes and the repository is deleted. It might take a few seconds for the
change to be updated in the Navigator view.
Related tasks
“Adding a service definition repository” on page 197
Use this information to create a new service definition repository.
“Creating a new service definition” on page 198
The service definition wizard simplifies the process of creating service definitions and is integrated into
the IBM MQ Explorer. The service definition wizard is deprecated in IBM MQ 8.0
“Deleting service definitions” on page 199
Deleting a service definition is permanent. When you delete a service definition, the service definition
cannot be recovered.
Procedure
1. Right-click the repository that you want to define a new service definition in to open the menu.
2. Click New > New Service Definition to open the New Service Definition wizard. As you work through
the wizard, you can press F1 for context sensitive help (Ctrl + F1 on Linux installations)
Results
A new service definition is created inside the selected repository. You can create more than one service
definition inside each repository.
What to do next
Service definition names must be unique within each repository, but can be reused in other repositories.
Related tasks
“Deleting service definitions” on page 199
Deleting a service definition is permanent. When you delete a service definition, the service definition
cannot be recovered.
“Adding a service definition repository” on page 197
Use this information to create a new service definition repository.
“Deleting a service definition repository” on page 198
Deleting a service definition repository also deletes any service definitions contained within it.
Procedure
1. Select the service definition repository which holds the service definition that you want to delete.
2. In the Content view, right-click on the service definition that you want to delete to open the context
menu, then click Delete.
A confirmation dialog opens.
3. Click Delete to permanently delete the service definition.
The confirmation dialog closes and the service definition is deleted. It might take a few seconds for the
change to be updated in the Content view.
Related tasks
“Creating a new service definition” on page 198
The service definition wizard simplifies the process of creating service definitions and is integrated into
the IBM MQ Explorer. The service definition wizard is deprecated in IBM MQ 8.0
“Adding a service definition repository” on page 197
Procedure
1. In the Navigator view, select the service definition repository which holds the service definition that
you want to view
2. In the Content view, right-click the service definition that you want to view to open the menu, then
click View.
By default, the WSDL service definition file opens in a new view next to the Navigator view.
Related tasks
“Creating a new service definition” on page 198
The service definition wizard simplifies the process of creating service definitions and is integrated into
the IBM MQ Explorer. The service definition wizard is deprecated in IBM MQ 8.0
“Deleting service definitions” on page 199
Deleting a service definition is permanent. When you delete a service definition, the service definition
cannot be recovered.
Related reference
“IBM MQ service definition properties” on page 401
You can set properties and attributes for service definitions while creating a new service definition, or
when editing an existing service definition.
Procedure
1. In the Navigator view, select the service definition repository which holds the service definition that
you want to export.
2. In the Content view, right-click the service definition that you want to export to open the menu, then
click Export.
A dialog opens to specify the name and location of the exported file.
Related tasks
“Creating a new service definition” on page 198
The service definition wizard simplifies the process of creating service definitions and is integrated into
the IBM MQ Explorer. The service definition wizard is deprecated in IBM MQ 8.0
“Deleting service definitions” on page 199
Deleting a service definition is permanent. When you delete a service definition, the service definition
cannot be recovered.
Related reference
“IBM MQ service definition properties” on page 401
Procedure
1. In the Navigator view, right-click the Queue Managers folder, then click Sets > New Set... The New
Set wizard opens.
2. Type a valid name for your new queue manager set. The name of the set is not constrained by the
normal MQ object naming rules. The name must, however, be different from the names of any existing
set.
3. Click Manual to add queue managers manually.
4. Select one of the following options:
• Click Finish to create an empty set, or
• Click Next to add queue managers to the new set.
5. On the manual selection pane, select the check box next to the corresponding queue manager name to
add the queue manager to your new set. You can add multiple queue managers.
6. Click Finish to create your set and close the wizard.
Results
The new manual queue manager set is displayed in the Navigator view.
Procedure
1. In the Navigator view, right-click the Queue Managers folder, then click Sets > New Set... The New
Set wizard opens.
2. Type a valid name for your new queue manager set. The name of the set is not constrained by the
normal MQ object naming rules. The name must, however, be different from the names of any existing
set.
3. Click Automatic to add queue managers using automatic filters and click Next.
4. Select the filter you want to use from the Available Filters pane, and click Add->. The filter will be
removed from the Available Filters pane and placed in the Selected Filters pane. To select multiple
filters, for example Platform = Unix and Command level = 500, use one of the following
options:
• Select matches ALL the selected filters to add an AND statement to the filter, for example
Platform = Unix -AND- Command level = 500. The wizard will not allow you to continue
if you have selected conflicting filters, for example Platform = Unix -AND- Platform =
Windows is not allowed.
• Select matches ANY of the selected filters to add an OR statement to the filter, for example
Platform = Unix -OR- Command level = 500
Results
The new automatic queue manager set is displayed in the Navigator view.
What to do next
You can create new filters to add or remove queue managers, as well as copy, edit and delete filters as
described in: “Managing filters for automatic sets” on page 204
Related tasks
“Creating and configuring a queue manager set” on page 201
Queue manager sets enable you to group queue managers in folders, and enable you to make actions to
all the queue managers in the set. This enables you to subdivide your queue managers, for example into
'test' and 'production' sets, or into sets based on the operating system of the platform.
“Displaying queue manager sets” on page 201
Before you can work with queue manager sets, you must first display the sets in IBM MQ Explorer.
Although the queue manager sets still exist when the sets are hidden, you are unable to manage them.
“Defining manual sets” on page 202
You can define manual queue manager sets that do not contain any queue managers, and add queue
managers when required.
“Defining automatic sets” on page 203
You can define queue manager sets that automatically include relevant queue managers.
“Managing filters for automatic sets” on page 204
You use filters to define which queue managers are grouped in a set. You can add, edit, copy and delete
filters to configure automatic queue manager sets.
“Adding and removing queue managers manually” on page 206
When you have created a manual queue manager set, you can manually add and remove queue
managers.
“Adding and removing queue managers automatically” on page 207
You can define filters to automatically manage the membership of your queue manager sets.
Procedure
1. [OPTION 1] Add a new filter
a) Open the Manage Filters window, as described at the beginning of this topic.
b) In the Manage Filters window, click Add...
The Add Filter window opens.
c) In the Add Filter window, in the Filter Name field, type a name for the filter; for example, Queues
containing more than 50 messages
d) In the Includes queue managers where fields, you can enter the criteria to add to the new filter.
For example, enter the following information:
i) The first row of fields allows you to filter on the name of the queue manager. By default, the third
field contains an asterisk (*) so that all queue managers, regardless of their names, are included
in the filter. For example, to include only the queues that start with jupiter, type jupiter*
ii) Optional: You can enter another criteria to the filter based on the value of an attribute of the
objects. Select the check box labeled - AND- so that you can edit the fields. For example,
to include only queue manager that have a Description field of Payroll, select the attribute
Payroll; in the second field, select equal to; in the third field, type Payroll.
e) Optional: To automatically apply an existing column scheme when the filter is applied, select the
check box labeled Automatically apply a Column Scheme when this filter is applied, then select
the column scheme from the list.
f) Click OK.
The Add Filter window closes. The new filter is displayed in the Manage Filters window with any
other available filters.
g) In the Manage Filters window, click OK.
The Manage Filters window closes.
Your new filter is added to the list of available filters.
2. [OPTION 2] Edit a filter
a) Open the Manage Filters window, as described at the beginning of this topic.
b) In the Manage Filters window, click Edit...
The Edit Filter dialog opens.
c) In the Edit Filter dialog, add, remove, or change the criteria that are set for the filter, then click OK.
For more information about the fields in the dialog, see Add a new filter.
d) Click OK to close the Manage Filters window.
The changes to the filter are automatically applied to any tables that are using that filter. MQ Explorer
might take several seconds to apply the filters to the queue managers.
3. [OPTION 3] Copy a filter
To create a filter that is similar to an existing one, you can copy the existing filter and then edit it as
required. You can copy any filter that you have created previously and you can also copy the filters that
are supplied with IBM MQ Explorer; for example, the Command level = 500 filter.
a) Open the Manage Filters window, as described at the beginning of this topic.
b) In the Manage Filters window, select the filter you want to copy, then click Copy As...
The Copy Filter dialog opens.
c) In the Copy Filter dialog, type a name for the new filter, then click OK.
The copied filter name cannot be the same as an existing filter.
Procedure
• To add or remove queue managers using the first method:
a) Right-click the set that you want to modify.
The All set membership cannot be modified.
b) Click Set Membership... to open the Set Membership dialog.
Results
If you added queue managers to a set or removed queue managers from the set, then the new set
membership is shown in the Navigator view.
Related tasks
“Creating and configuring a queue manager set” on page 201
Queue manager sets enable you to group queue managers in folders, and enable you to make actions to
all the queue managers in the set. This enables you to subdivide your queue managers, for example into
'test' and 'production' sets, or into sets based on the operating system of the platform.
“Displaying queue manager sets” on page 201
Before you can work with queue manager sets, you must first display the sets in IBM MQ Explorer.
Although the queue manager sets still exist when the sets are hidden, you are unable to manage them.
“Defining manual sets” on page 202
You can define manual queue manager sets that do not contain any queue managers, and add queue
managers when required.
“Defining automatic sets” on page 203
You can define queue manager sets that automatically include relevant queue managers.
“Managing filters for automatic sets” on page 204
You use filters to define which queue managers are grouped in a set. You can add, edit, copy and delete
filters to configure automatic queue manager sets.
“Adding and removing queue managers manually” on page 206
When you have created a manual queue manager set, you can manually add and remove queue
managers.
“Adding and removing queue managers automatically” on page 207
You can define filters to automatically manage the membership of your queue manager sets.
Procedure
1. Right-click the set that you want to modify. The All set membership cannot be modified.
2. Click Edit Set... to open the Edit Set dialog. The current filters are displayed, allowing you to add or
remove them (you can also edit, copy and delete them as described in: “Managing filters for automatic
sets” on page 204).
3. Click OK to save your changes and close the window.
Results
If your changes to the filter added queue managers to the set or removed queue managers from the set,
then the new set membership is shown in the Navigator view.
What to do next
Related tasks
“Creating and configuring a queue manager set” on page 201
Queue manager sets enable you to group queue managers in folders, and enable you to make actions to
all the queue managers in the set. This enables you to subdivide your queue managers, for example into
'test' and 'production' sets, or into sets based on the operating system of the platform.
“Displaying queue manager sets” on page 201
Before you can work with queue manager sets, you must first display the sets in IBM MQ Explorer.
Although the queue manager sets still exist when the sets are hidden, you are unable to manage them.
“Defining manual sets” on page 202
You can define manual queue manager sets that do not contain any queue managers, and add queue
managers when required.
“Defining automatic sets” on page 203
You can define queue manager sets that automatically include relevant queue managers.
“Managing filters for automatic sets” on page 204
You use filters to define which queue managers are grouped in a set. You can add, edit, copy and delete
filters to configure automatic queue manager sets.
“Adding and removing queue managers manually” on page 206
When you have created a manual queue manager set, you can manually add and remove queue
managers.
Object Description
Set Name Enter a valid name for your queue manager set. The name of the set is not constrained
by the normal IBM MQ object naming rules concerning characters, but is constrained by
the IBM MQ object naming rules for length. The set name must be different from the
names of any existing set.
matches ANY Select matches ANY of the selected filters to add an OR statement to the filter, for
of the selected example: Platform = Unix -OR- Command level = 500.
filters
OR statements cannot be mixed with AND statements in the filter. For example, you
cannot have: Platform = Unix -OR- Platform = Windows -AND- Command
level = 500
Add-> Select the filter in the Available Filters pane that you want to add and click Add->.
The filter is removed from the Available Filters pane and placed in the Selected Filters
pane.
<-Remove Select the filter in the Selected Filters pane that you want to remove, and click
<-Remove. The filter is removed from the Selected Filters pane and placed back in
the Available Filters pane.
Manage Click Manage Filters... to open the Manage Filters window. The process of managing
Filters... filters is explained here: “Managing filters for automatic sets” on page 204.
Related tasks
“Editing the properties of an automatic set” on page 210
You can edit the properties of an existing automatic set.
“Creating and configuring a queue manager set” on page 201
Queue manager sets enable you to group queue managers in folders, and enable you to make actions to
all the queue managers in the set. This enables you to subdivide your queue managers, for example into
'test' and 'production' sets, or into sets based on the operating system of the platform.
“Defining automatic sets” on page 203
You can define queue manager sets that automatically include relevant queue managers.
“Managing filters for automatic sets” on page 204
You use filters to define which queue managers are grouped in a set. You can add, edit, copy and delete
filters to configure automatic queue manager sets.
“Adding and removing queue managers automatically” on page 207
You can define filters to automatically manage the membership of your queue manager sets.
Object Description
Set Name Enter a valid name for your queue manager set. The name of the set is not constrained
by the normal IBM MQ object naming rules concerning characters, but is constrained by
the IBM MQ object naming rules for length. The set name must be different from the
names of any existing set.
Procedure
1. Right-click the automatic set you want to edit.
2. Click Edit Set... to open the Edit Set dialog.
Results
The Edit Set dialog is now open, and you can edit the properties of the automatic set.
What to do next
To open the Edit Set dialog using the second method:
1. Right-click Queue Managers
2. Click Sets > Manage Sets to open the Manage Sets dialog.
3. Select the automatic set you want to edit the properties of.
4. Click Edit... to open the Edit Set dialog for automatic sets.
The Edit Set dialog is now open, and you can edit the properties of the automatic set.
Related tasks
“Creating and configuring a queue manager set” on page 201
Queue manager sets enable you to group queue managers in folders, and enable you to make actions to
all the queue managers in the set. This enables you to subdivide your queue managers, for example into
'test' and 'production' sets, or into sets based on the operating system of the platform.
“Defining automatic sets” on page 203
You can define queue manager sets that automatically include relevant queue managers.
“Managing filters for automatic sets” on page 204
You use filters to define which queue managers are grouped in a set. You can add, edit, copy and delete
filters to configure automatic queue manager sets.
“Adding and removing queue managers automatically” on page 207
Procedure
1. Right-click the manual set you want to edit.
2. Click Edit Set... to open the Edit Set dialog.
Results
The Edit Set dialog is now open, and you can edit the properties of the manual set.
What to do next
To open the Edit Set dialog using the second method:
1. Right-click Queue Managers
2. Click Sets > Manage Sets to open the Manage Sets dialog.
3. Select the manual set you want to edit the properties of.
4. Click Edit... to open the Edit Set dialog for manual sets.
The Edit Set dialog is now open, and you can edit the properties of the manual set.
Related tasks
“Creating and configuring a queue manager set” on page 201
Queue manager sets enable you to group queue managers in folders, and enable you to make actions to
all the queue managers in the set. This enables you to subdivide your queue managers, for example into
'test' and 'production' sets, or into sets based on the operating system of the platform.
“Defining manual sets” on page 202
You can define manual queue manager sets that do not contain any queue managers, and add queue
managers when required.
“Adding and removing queue managers manually” on page 206
When you have created a manual queue manager set, you can manually add and remove queue
managers.
Related reference
“Properties of manual sets” on page 209
A manual queue manager set has only one property that you can edit.
Rem Click Remove... to remove the selected set. You will be prompted to confirm or cancel your
ove request.
Related tasks
“Creating and configuring a queue manager set” on page 201
Queue manager sets enable you to group queue managers in folders, and enable you to make actions to
all the queue managers in the set. This enables you to subdivide your queue managers, for example into
'test' and 'production' sets, or into sets based on the operating system of the platform.
“Displaying queue manager sets” on page 201
Before you can work with queue manager sets, you must first display the sets in IBM MQ Explorer.
Although the queue manager sets still exist when the sets are hidden, you are unable to manage them.
“Defining manual sets” on page 202
You can define manual queue manager sets that do not contain any queue managers, and add queue
managers when required.
“Adding and removing queue managers manually” on page 206
When you have created a manual queue manager set, you can manually add and remove queue
managers.
“Dragging queue managers” on page 215
Queue managers can be dragged into sets, as well as dragged out of sets.
Procedure
1. In the Navigator view, right-click the Queue Managers folder, then click Sets > Manage Sets....
The Manage Sets window is opened.
Results
You have successfully copied a set, the Navigator view is updated with the new set (This might take a few
seconds if there are many queue managers in the set).
Related tasks
“Creating and configuring a queue manager set” on page 201
Queue manager sets enable you to group queue managers in folders, and enable you to make actions to
all the queue managers in the set. This enables you to subdivide your queue managers, for example into
'test' and 'production' sets, or into sets based on the operating system of the platform.
“Displaying queue manager sets” on page 201
Before you can work with queue manager sets, you must first display the sets in IBM MQ Explorer.
Although the queue manager sets still exist when the sets are hidden, you are unable to manage them.
“Defining manual sets” on page 202
You can define manual queue manager sets that do not contain any queue managers, and add queue
managers when required.
“Defining automatic sets” on page 203
You can define queue manager sets that automatically include relevant queue managers.
“Managing filters for automatic sets” on page 204
You use filters to define which queue managers are grouped in a set. You can add, edit, copy and delete
filters to configure automatic queue manager sets.
“Adding and removing queue managers manually” on page 206
When you have created a manual queue manager set, you can manually add and remove queue
managers.
“Adding and removing queue managers automatically” on page 207
You can define filters to automatically manage the membership of your queue manager sets.
Deleting a set
Deleting a queue manager set deletes the set itself, but not the queue managers within the set.
Results
You have successfully removed a set, the Navigator view is updated with the new information (This might
take a few seconds if there are many queue managers in the set).
Related tasks
“Creating and configuring a queue manager set” on page 201
Procedure
1. In the Navigator view, right-click the set you want to copy the queue managers from, then click Copy
to set....
The Copy to set dialog opens.
2. Select the check box next to the corresponding set name to add the queue managers to. You can select
multiple sets.
3. Optional: You can click Manage Sets... to define or remove a set as is described in: “Adding and
removing queue managers manually” on page 206
4. Click OK to close the Copy to set dialog.
Results
You have successfully copied the contents of one set to another. The navigator view is updated with the
new information (This might take a few seconds if there are many queue managers in the set).
Related tasks
“Creating and configuring a queue manager set” on page 201
Procedure
• Drag a queue manager from the All set into a manual set to add it to that manual set. The queue
manager will not be removed from the All set.
• Drag a queue manager from a manual set into the All set to remove it from the manual set.
• Drag a queue manager from a manual set into a second manual set. The queue manager will be added
to the second manual set and removed from the first.
• Drag a queue manager from an automatic set into a manual set to add it to the manual set. The queue
manager will not be removed from the automatic set.
• Drag a queue manager from a manual set into a second manual set while holding down the Ctrl key.
The queue manager will be added to the second manual set and remain in the first.
Example
What to do next
Queue managers cannot be dragged into an automatic set from another set. Queue managers cannot be
dragged from an automatic set into the All set, for example: You cannot remove a queue manager from an
automatic set by dragging it.
Related tasks
“Creating and configuring a queue manager set” on page 201
Procedure
• [OPTION 1] Export queue manager sets
a) In the Navigator view, right-click IBM MQ, then click Export MQ Explorer settings...
The Export dialog opens.
b) Select Sets from the check boxes.
c) Enter the file name and location for the compressed file that is created to store the exported queue
manager sets.
d) Click OK.
A compressed file that contains the exported queue manager sets is created. The compressed file
contains the settings in XML files.
When you are exporting manual queue manager sets, a list of the names of the queue managers that
are members of the set, and the QMID of the queue managers, is exported. When you are exporting
automatic queue manager sets, a list of identifiers for filters that queue managers must match, and
whether queue managers must match any or all of the filters, is exported.
• [OPTION 2] Import queue manager sets
a) In the Navigator view, right-click IBM MQ, then click Import MQ Explorer settings...
The Import dialog opens.
b) Browse for the compressed file that contains the queue manager sets.
c) Select Sets to import the settings. If the compressed file does not contain any exported queue
manager set information, the check box associated with sets is unavailable.
d) Click OK.
IBM MQ Explorer supplies and applies standard schemes. Because IBM MQ for z/OS for
queue managers and objects can have slightly different attributes, each object scheme has settings
for the object on Multiplatform queue managers and for z/OS queue managers. The standard schemes
include all the attributes for objects of that type. For example, the Standard for Queues scheme
includes all the attributes for queues on Multiplatforms and z/OS platforms so that you can be sure that
you can see all the attributes for the queues that are listed.
To apply an existing scheme to a table:
1. In the Content view, or dialog that contains the table, click the small arrow next to the current scheme
name. A menu is displayed.
2. From the menu, click Select Scheme The Select Scheme dialog opens.
3. In the Select Scheme dialog, click the scheme that you want to apply. The attributes that the scheme
will display are listed in the dialog.
4. Click OK.
The selected scheme is applied to the folder of objects.
Related tasks
“Creating a scheme” on page 218
You can create schemes for most of the tables of data in IBM MQ Explorer.
“Editing an existing scheme” on page 219
You can edit any schemes that you created previously and you can also edit the schemes that are supplied
with IBM MQ Explorer; for example, the Standard for Queues scheme. After modifying the layout of
the status table, you can reset the width of the columns to their default values.
“Copying an existing scheme” on page 220
Creating a scheme
You can create schemes for most of the tables of data in IBM MQ Explorer.
The following instructions use an example of creating a scheme for queues so that only
the Queue name, Queue type, and Current queue depth attributes are displayed for queues on
Multiplatforms.
The same attributes plus QSG disposition are displayed for queues on z/OS.
You can easily adapt the instructions to create schemes for other types of object too.
To create a scheme, complete the following steps.
Procedure
1. In the Content view or dialog that contains the table, click the small arrow next to the current filter
name. A menu is displayed.
2. From the menu, click Manage Schemes The Manage Schemes dialog opens displaying schemes that
already exist for the object type.
3. In the Manage Schemes dialog, click Add The Add Scheme dialog opens.
4. In the Add Scheme dialog, in the Scheme Name field, type a name for the scheme; for example,
Monitoring the depth of my queues By default, all of the attributes are included in the
scheme.
5. Edit the scheme as required for distributed objects and for z/OS objects. For example:
a) On the Distributed page, click Remove All. All the attributes in the Displayed attributes list are
removed.
b) In the Available attributes list, click Queue name, then click Add. The Queue name attribute is
added to the Displayed attributes list.
c) Repeat step 6 for the Queue type and Current queue depth attributes.
d) Click the z/OS tab to change to the z/OS page.
e) On the z/OS page, click Copy Distributed to z/OS. The changes that you made on the Distributed
page are copied to the z/OS page.
f) In the Available attributes list, click QSG disposition, then click Add. The QSG disposition
attribute is added to the Displayed attributes list.
6. Click OK. The Add Scheme dialog closes. The new scheme is displayed in the Manage Schemes dialog
along with the other available schemes.
7. Click OK to close the Manage Schemes dialog.
Results
You can now apply the scheme to a table of data.
Procedure
• [OPTION 1] Edit the current scheme
a) Make sure that the type of object for which you are creating a scheme is displayed in the Content
view, then, in the Content view, click the small arrow next to the current scheme name. A menu is
displayed.
b) From the menu, click Edit Current Scheme. The Edit Scheme dialog opens.
c) In the Edit Scheme dialog, make the changes, then click OK. For more information about the
dialog, see Creating a scheme.
• [OPTION 2] Edit a non-current scheme
a) Make sure that the type of object for which you are creating a scheme is displayed in the Content
view.
b) In the Content view, click the small arrow next to the current scheme name.
A menu is displayed.
c) From the menu, click Manage Schemes.
The Manage Schemes dialog opens, displaying the schemes that exist for the object type.
d) In the Manage Schemes dialog, click the scheme that you want to edit, then click Edit.
The Edit Scheme dialog opens.
e) In the Edit Scheme dialog, add or remove attributes from the scheme as required, then click OK.
For more information about the dialog, see Creating a scheme.
f) Click OK to close the Manage Schemes dialog.
The changes to the scheme are automatically applied to any tables that are using that scheme.
• [OPTION 3] Reset the status table
Procedure
1. Make sure that the type of object for which you are creating a filter is displayed in the Content view,
then, in the Content view, click the small arrow next to the current filter name. A menu is displayed.
2. From the menu, click Manage Schemes The Manage Schemes dialog opens displaying the schemes
that already exist for the object.
3. In the Manage Schemes dialog, click the scheme that you want to copy, then click Copy As The Copy
Scheme dialog opens.
4. In the Copy Scheme dialog, type a name for the new scheme, then click OK.
5. In the Manage Schemes dialog, click Edit The Edit Scheme dialog opens.
6. In the Edit Scheme dialog, add or remove attributes from the scheme as required, then click OK.
7. Click OK to close the Manage Schemes dialog.
Results
You can now apply the scheme to a table of data.
Related concepts
“Define schemes to change the order of columns in tables” on page 217
When object data is displayed in IBM MQ Explorer in tables, you can customized the order of the columns
in the tables.
Related tasks
“Editing an existing scheme” on page 219
Procedure
1. Open the Preferences dialog: Window > Preferences
2. In navigation tree of the Preferences dialog, expand MQ Explorer, then click Colors.
3. On the Colors page, click the palette button for the feature that you want to change. The palette button
in the Content View section of the page controls the color of cells that are not applicable (cells that are
colored gray by default); the palette buttons in the Command Details section of the page control the
color of the text and background in the command windows that are displayed in the Details window
when you create, delete, start, and stop a queue manager in IBM MQ Explorer.
4. In the palette, click the color that you want to use (or define a custom color), then click OK.
5. Click OK to close the Preferences dialog.
Results
The color that you selected is used.
Related tasks
“Configuring IBM MQ Explorer” on page 192
Use this information to help you to configure your IBM MQ Explorer installation.
Related reference
“Accessibility in IBM MQ Explorer” on page 279
Accessibility features help a user who has a physical disability, such as restricted mobility or limited
vision, to use software products successfully.
Results
The plug-in is now enabled in IBM MQ Explorer. Any folders or menu items for example, that are related to
the plug-in are now available in IBM MQ Explorer.
You can also disable plug-ins that you do not use. For example, if you do not use clustering in your
messaging networks, you can clear the check box next to the Cluster Component plugin. The Cluster
Component plugin remains installed on your computer so that you can enable it in future. Because the
plug-in is still installed on your computer, the help that is associated with clustering is still available in the
help system and in the context-sensitive help.
Procedure
1. In the Navigator view, right-click the queue manager, then click Connection Details > Set Refresh
Interval The Automatic Refresh dialog opens.
2. In the Automatic Refresh dialog, edit the value in the Interval field.
3. Optional: To reset the automatic refresh rate to the default value, click Apply Default.
4. Click OK to save the new refresh rate.
Results
The information about the queue manager is now automatically refreshed at the new rate.
Procedure
1. Click Window > Preferences to open the Preferences dialog.
2. On the MQ Explorer page, in the Default Queue Manager Refresh Intervals fields, type the refresh
interval, in seconds, then click OK.
Results
All new queue managers that are added to IBM MQ Explorer are now refreshed at the new rate.
Procedure
1. In the Navigator view, right-click the queue manager, then click Connection Details > Set Refresh
Interval The Automatic Refresh dialog opens.
2. In the Automatic Refresh dialog, clear the check box, then click OK.
Results
The information about the queue manager is no longer refreshed automatically. To refresh the information
about the queue manager, click Refresh on the menu in the Content view.
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 you want to connect to the remote queue manager.
a) In IBM MQ Explorer, click Window > Preferences.
The Preferences dialog opens.
b) Expand MQ Explorer.
c) Expand Client Connections.
d) Select Remote Queue Managers to display the Remote Queue Managers pane.
Exporting settings
Results
A compressed file that contains the exported settings is created. The compressed file contains the
settings in XML files.
For information about exporting queue manager sets, see: “Importing and exporting queue manager sets”
on page 216.
Importing settings
Procedure
1. In the Navigator view, right-click IBM MQ, then click Import MQ Explorer settings... The Import dialog
opens.
2. Browse for the compressed file that contains the settings.
3. Select the types of settings that you want to import into IBM MQ Explorer. If the compressed file does
not contain settings of a certain type, the check box associated with that type is unavailable.
4. Click OK.
Results
The settings from the compressed file are imported into IBM MQ Explorer.
For information about importing queue manager sets, see: “Importing and exporting queue manager
sets” on page 216.
Procedure
1. Click Window > Preferences to open the Preferences dialog.
2. In the navigation tree of the Preferences dialog, expand IBM MQ Explorer, then click Tests.
3. Select the Include SYSTEM objects in the test results check box.
Procedure
1. Click Window > Preferences to open the Preferences dialog.
2. In the navigation tree of the Preferences dialog, expand IBM MQ Explorer, then click Tests.
3. Select the Include hidden objects in the list of available objects check box.
Results
Next time you create or edit a test configuration, any hidden queue managers are listed as available queue
managers against which you can run the tests.
Procedure
1. Open the Preferences dialog: Window > Preferences
2. Expand MQ Explorer.
3. On the Authorization Service page, click Display authorities as text.
4. Click OK to close the Preferences dialog.
Results
The next time that you open a dialog that displays object authorities, the tables will show authorities
using text instead of icons.
Related tasks
“Configuring IBM MQ Explorer” on page 192
Message signing
By using a digital signature on the message the identity of the sender and the authenticity of the message
can be confirmed, and therefore the sender of the message is unable to deny (or repudiate) the sending of
that message.
When an application places a message on a queue, Advanced Message Security checks if the target
queue has a Advanced Message Security policy for signing or encryption. If signing is required, Advanced
Message Security creates an envelope containing the message data, a cryptographic signature, and the
public certificate data of the user associated with the application.
When an application retrieves the message from the queue, Advanced Message Security strips the
signature from the message data and verifies that the sender is known and signed by a trusted certificate
authority. In addition, Advanced Message Security checks that the user identified by the signature is
authorized, by policy, to place messages on the target queue.
The signature also includes a digest of the message data, generated at the time the message was placed
on the queue. This digest is verified to ensure that the data in the message has not been altered between
being placed on the queue and being retrieved.
Message encryption
By using message encryption, a message sender can be sure that the content of the message has not
been modified before reaching the recipient.
When an application places a message on a queue, Advanced Message Security checks if the target queue
has a Advanced Message Security policy for signing or encryption. If encryption is required, Advanced
Message Security signs and encrypts the data.
In addition to the signing process, Advanced Message Security encrypts the message data with a
symmetric key, using the encryption algorithm specified in the Advanced Message Security policy
associated with the target queue. The message is then addressed to each potential recipient specified
in that policy, using the users' public keys.
When an application retrieves the message from the queue, Advanced Message Security verifies the
signature and decrypts the message data using the private key of the recipient user.
Distinguished names
Advanced Message Security uses the Public Key Infrastructure (PKI) identity to represent a user or an
application. This type of identity is used for signing and encrypting messages. The identity is represented
by the distinguished name (DN) field in a certificate associated with signed and encrypted messages.
Sender distinguished names
The sender distinguished names (DNs) identify users authorized to place messages on a queue.
However, Advanced Message Security does not check whether a message has been placed on a data-
protected queue by a valid user until the message is retrieved. At this time, if the policy stipulates
one or more valid senders, and the user that placed the message on the queue is not in the list of
CN=Common Name,O=Organization,C=Country
If one or more sender DNs are specified for the policy, only those users can put messages to the
queue associated with the policy.
Sender DNs, when specified, must match exactly the DN contained in the digital certificate associated
with user putting the message.
Recipient distinguished names
The recipient distinguished names (DN) identify users authorized to retrieve messages from a queue.
A policy can have zero or more recipient DNs specified. Recipient distinguished names have this form:
CN=Common Name,O=Organization,C=Country
If no recipient DNs are specified for the policy, any user can get messages from the queue associated
with the policy. This implies that the policy does not specify encryption, as a policy with encryption
requires recipient DNs to be specified.
If one or more recipient DNs are specified for the policy, only those users can get messages from the
queue associated with the policy.
Recipient DNs, when specified, must match exactly the DN contained in the digital certificate
associated with user getting the message.
Configuring Advanced Message Security policies involves creating the policies using tools provided
with Advanced Message Security.
Note: Advanced Message Security does not allow policies for SYSTEM queues. These are queues with
a name that begin with 'SYSTEM.'. If you define a policy for a SYSTEM queue, it is ignored.
Procedure
1. Close IBM MQ Explorer.
2.
Optional: On Windows systems, use runwithtrace.cmd to run IBM MQ Explorer with tracing
activated.
The runwithtrace command is in the same directory as the MQExplorer command.
3.
Optional: On Linux systems, use runwithtrace to run IBM MQ Explorer with tracing activated.
The runwithtrace command is in the same directory as the MQExplorer command.
Related tasks
“Collecting IBM MQ Explorer trace in other Eclipse environments” on page 230
By using a variant of the runwithtrace command, you can collect trace from an instance of IBM MQ
Explorer that is installed into your own Eclipse environment or Eclipse-based product.
“Installing IBM MQ Explorer into Eclipse environments” on page 10
Procedure
1. The IBM MQ Explorer trace mechanism relies on AspectJ and Equinox Weaving plug-ins being
installed. To confirm that they are installed:
a) Click Help
b) Click About...
c) Click Installation Details
d) Click the Plug-ins tab.
The org.eclipse.equinox.weaving.caching.j9 plug-in no longer exists, but you require this
plug-in if you are using IBM MQ 9.0 Long Term Support, or IBM MQ 9.0 Continuous Delivery releases,
prior to IBM MQ 9.0.4.
Verify that the following plug-ins are installed:
org.aspectj.runtime
org.aspectj.weaver
org.eclipse.equinox.weaving.aspectj
org.eclipse.equinox.weaving.caching
org.eclipse.equinox.weaving.caching.j9
org.eclipse.equinox.weaving.hook
2. If they are not already installed, install the AspectJ and Equinox Weaving plug-ins. These plugins
must match the version of Eclipse you are using and can be downloaded from the Eclipse AspectJ
Development Tools download site. To determine which download site to use for your version of
Eclipse, see https://projects.eclipse.org/projects/tools.ajdt.
For information about the Eclipse level that IBM MQ Explorer is built on, see “What's new and what's
changed in IBM MQ Explorer” on page 6.
Currently, these builds are available as development builds only; you should select the latest one
available.
To install the AspectJ and Equinox Weaving plug-ins, complete the following substeps:
a) Click Help then click Install New Software...
@echo off
REM ---------------------------------------------------------------------------
setlocal
REM ---------------------------------------------------------------------------
REM Special case for when MQ Explorer plug-ins are installed in an Eclipse or an
REM Eclipse based product.
REM
REM eclipse needs to be in current directory.
REM ---------------------------------------------------------------------------
:MQExplorer_found
set explorerCmd=eclipse.exe
REM ---------------------------------------------------------------------------
REM Special processing for enabling trace
REM 1. Allow a user to supply their own properties file, pointed to by the
REM MQPROPERTIES environment variable
REM 2. Otherwise, build a properties file in %temp% which writes trace
REM to the MQ_INSTALLATION_PATH\trace directory if writeable, otherwise to
REM %temp% itself
REM ---------------------------------------------------------------------------
set MQTRACE=%MQ_JAVA_DATA_PATH%\trace
goto :finish_set
:set_to_temp
set MQTRACE=%temp%
:finish_set
REM -------------------------------------------------------------------
REM Where should trace be written to - Try the MQ trace directory first
REM -------------------------------------------------------------------
if "%MQTRACE%"=="%MQ_JAVA_DATA_PATH%\trace" goto :MQ_dir_available
echo Trace will be written to the temporary directory %MQTRACE%
goto :finish_trace_location
:MQ_dir_available
echo Confirming write access to the MQ trace directory %MQTRACE%
echo Test >> "%MQTRACE%\test.gui" 2>NUL
if exist "%MQTRACE%\test.gui" goto :MQ_dir_used
echo Trace will be written to the temporary directory %temp%
set MQTRACE=%temp%
goto :finish_trace_location
:MQ_dir_used
echo Trace will be written to the MQ trace directory %MQTRACE%
del "%MQTRACE%\test.gui" >nul 2>&1
:finish_trace_location
REM Convert back slashes to forward slashes for use in properties file
REM Note :\=/ converts back slashes to forward slashes.
set MQTRACE=%MQTRACE:\=/%
REM -------------------------------------------------------------
REM Now build the default properties file
REM -------------------------------------------------------------
echo Diagnostics.MQ=enabled > %MQPROPERTIES%
echo Diagnostics.Java=all >> %MQPROPERTIES%
echo Diagnostics.Java.Trace.Detail=high >> %MQPROPERTIES%
echo Diagnostics.Java.Trace.Destination.File=enabled >> %MQPROPERTIES%
echo Diagnostics.Java.Trace.Destination.Console=disabled >> %MQPROPERTIES%
:own_properties
REM ---------------------------------------------------------------------------
REM Build the command line
REM All parameters passed to this script are passed through.
REM Set the load time weaving options, it's set as part of the vmargs parameter.
REM ---------------------------------------------------------------------------
REM Note.
REM In eclipse and eclipse based products the osgi.framework.extensions is set
REM as part of the Equinox Weaving plug-ins eclipse installation.
REM Therefore unlike in the normal MQ Explorer script LTW_OPTIONS is empty
REM ---------------------------------------------------------------------------
REM Launch MQ Explorer
REM ---------------------------------------------------------------------------
echo Launching %explorerCmd%
start %explorerCmd%
goto :end
:no_MQExplorer
echo ERROR - eclipse.exe not found in the current directory.
echo ERROR - This script needs to be run in the same directory as eclipse.exe
:end
endlocal
#!/bin/sh
#---------------------------------------------------------------------------
# File Name : runwithtrace
#
# File Description : This script is used when MQ Explorer plug-ins are
# installed into another Eclipse or Eclipse based product.
# It launches eclipse and will run WebSphere MQ Explorer with trace enabled.
#
#---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
# Special processing for enabling trace
# 1. Allow a user to supply their own properties file, pointed to by the
# MQPROPERTIES environment variable
# 2. Otherwise, build a properties file in /tmp which writes trace
# to /var/mqm/trace directory if writeable, otherwise to /tmp itself
# ---------------------------------------------------------------------------
# test if variable is not set or refers to a file that does not exist
if [ -z "$MQPROPERTIES" -o ! -f "$MQPROPERTIES" ]
then
# Create a properties file with the default trace options
MQPROPERTIES=/tmp/mq_trace.properties
# -----------------------------------------------------
# Where should trace go - Try the trace directory first
# -----------------------------------------------------
echo "Confirming write access to the MQ trace directory /var/mqm/trace"
MQTRACE=/var/mqm/trace
# test if dir exists and is writable
# -------------------------------------------------------------
# Now build the default properties file
# -------------------------------------------------------------
echo Diagnostics.MQ=enabled > $MQPROPERTIES
echo Diagnostics.Java=all >> $MQPROPERTIES
echo Diagnostics.Java.Trace.Detail=high >> $MQPROPERTIES
echo Diagnostics.Java.Trace.Destination.File=enabled >> $MQPROPERTIES
echo Diagnostics.Java.Trace.Destination.Console=disabled >> $MQPROPERTIES
echo Diagnostics.Java.Trace.Destination.Pathname=$MQTRACE >> $MQPROPERTIES
echo Diagnostics.Java.FFDC.Destination.Pathname=$MQTRACE >> $MQPROPERTIES
echo Diagnostics.Java.Errors.Destination.Filename=$MQTRACE >> $MQPROPERTIES
fi
# ---------------------------------------------------------------------------
# Build the command line to run
# Look in the current directory
# All parameters passed to this script are passed through.
# Set the load time weaving options, it's set as part of the vmargs parameter.
# ---------------------------------------------------------------------------
if [ -f "eclipse" ]
then
explorerCmd="./eclipse"
fi
if [ ! -f "${explorerCmd}" ]
then
echo "ERROR - eclipse executable could not be found in the current directory"
echo "ERROR - This script needs to be run in the same directory as the eclipse executable"
exit 1
fi
# Note.
# In eclipse and eclipse based products the osgi.framework.extensions is set
# as part of the Equinox Weaving plug-ins eclipse installation.
# Therefore unlike in the normal MQ Explorer script LTW_OPTIONS is empty
# LTW_OPTIONS=-Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook
LTW_OPTIONS=
explorerCmd="$explorerCmd $* -vmargs -Xmx512M $LTW_OPTIONS
-Dcom.ibm.mq.commonservices=$MQPROPERTIES"
# ---------------------------------------------------------------------------
# Launch MQ Explorer
# ---------------------------------------------------------------------------
echo Launching $explorerCmd
exec $explorerCmd
Starting trace
Procedure
1. In the Navigator view, right-click IBM MQ, then click Trace....
2. In the Trace dialog, select one or more of the following options:
• To output data for every trace point in the system, click All.
• To activate tracing at high-detail level for flow processing trace points, click Detail.
3. Click Start.
Results
The IBM MQ trace starts writing information to the trace files. IBM MQ continues to write to the trace files
until you stop the trace.
Stopping trace
Procedure
1. In the Navigator view, right-click IBM MQ, then click Trace....
2. Click Stop.
Results
The IBM MQ trace stops writing to the trace files.
• On Windows, the Javacore is generated in the user's home directory. For example:
Directory: C:\Users\MQUser\
Filename example: javacore.20200108.101825.4100.0001.txt
To collect a Javacore, complete the following steps.
Procedure
1. Close IBM MQ Explorer.
2.
On Linux:
a) Use the command MQExplorer to run IBM MQ Explorer.
• If you are running the IBM MQ Explorer that was installed as part of a full IBM MQ server
installation, the MQExplorer command is in /opt/mqm/bin, where opt/mqm is the IBM MQ
installation directory.
• If you installed the stand-alone IBM MQ Explorer (MS0T SupportPac),
the MQExplorer command is in MQ_EXPLORER_INSTALLATION_PATH, where
MQ_EXPLORER_INSTALLATION_PATH is the stand-alone IBM MQ Explorer (MS0T SupportPac)
installation path.
b) Determine the process identifier for the IBM MQ Explorer process. The following example shows
how to determine the process identifier for the current user:
If you are not sure how to get the process identifier, contact your systems administrator.
c) Run following the command to generate the Javacore:
3.
On Windows:
a) Use the command MQExplorer -debug to run IBM MQ Explorer.
• If you are running the IBM MQ Explorer that was installed as part of a full IBM MQ server
installation, the MQExplorer command (MQExplorer.exe) is in the MQ_INSTALLATION_PATH/
bin64 directory, where MQ_INSTALLATION_PATH is the IBM MQ installation path.
• If you installed the stand-alone IBM MQ Explorer (MS0T SupportPac), MQExplorer.exe is
in MQ_EXPLORER_INSTALLATION_PATH directory, where MQ_EXPLORER_INSTALLATION_PATH is
the IBM MQ Explorer (MS0T SupportPac) installation path.
b) When a command-line window appears for IBM MQ Explorer, set Windows focus on this window,
and press Control+Break to generate a Javacore.
Related reference
MQExplorer (launch IBM MQ Explorer)
MQ Telemetry objects
This information provides details on MQ Telemetry objects which include: telemetry channels, telemetry
channel status objects, and the MQXR service.
Related concepts
“Telemetry (MQXR) service” on page 237
The IBM MQ Extended Reach (MQXR) service is more commonly referred to as the MQ Telemetry service.
It is a TCP/IP listener that is installed as an IBM MQ service. It runs when a queue manager starts or
stops.
“Telemetry channels” on page 238
A Telemetry channel is a communication link between a queue manager on IBM MQ, and MQTT clients.
Each channel might have one or more telemetry devices connected to it.
“Telemetry channel status objects” on page 238
A telemetry channel status object is an MQTT client that collects information from telemetry devices
attached to it and sends the information to IBM MQ.
Telemetry channels
A Telemetry channel is a communication link between a queue manager on IBM MQ, and MQTT clients.
Each channel might have one or more telemetry devices connected to it.
For messages flowing from IBM MQ to MQTT clients, messages are taken from the default MQTT transmit
queue, and sent through the telemetry channel. Messages destined for specific MQTT clients are routed to
them using their client identifiers.
Advanced option
Telemetry channels have an option which sets the maximum number of client connections that can be
displayed in the Channel Status Content view. This option is called Max responses. The default value
is 500. Consider configuring this option before you start your queue manager. If your queue manager is
running, you must restart it to apply the advanced option changes.
To configure the maximum responses option, perform the following actions:
1. Click Window > Preferences.
2. Expand IBM MQ Explorer, then click Telemetry.
3. In the Max responses field, type the number of client connections to display at any one time.
4. Click OK.
Client connections on all telemetry channels up to the maximum response limit are shown in the Channel
Status Content view. If client connections exceed this limit, a warning is displayed within the Content
view. For example, if you set the maximum responses to 10 and you reach or exceed this number, the
following warning is displayed: The display has been limited to the first 10 responses.
Use a filter to select a subset of responses.
The Telemetry channel status window shows client connections specific to that channel. The maximum
response option limit applies only to client connections on this channel.
Related tasks
“Creating and configuring a telemetry channel” on page 243
A telemetry channel connects a number of MQTT clients to IBM MQ. Create one or more telemetry
channels on a queue manager. Each of these telemetry channels might have different configuration
settings, making it easier to manage the clients attached to them.
“Starting and stopping a telemetry channel” on page 250
“Viewing the status of a telemetry channel” on page 251
“Filtering Telemetry objects” on page 252
If you are viewing several defined telemetry objects in the Content view, you might need a way to narrow
the search scope of these objects. Do this by using filters.
Procedure
1. Right-click the PlainText telemetry channel, then click Run MQTT Client Utility. The client utility
window opens. The Host and Port fields are automatically set using values from the selected
telemetry channel.
2. Type a client ID in the Client identifier field. A new client identifier is generated each time you launch
an MQTT client utility from a telemetry channel. You can either use the generated identifier or type a
name of your choice. If you run more than one client utility on a telemetry channel, ensure that you
use different client IDs for each client utility. If two MQTT client utilities have the same client ID, the
most recent one to connect forcefully disconnects the previous one. When you run more than one
MQTT client utility from a telemetry channel, the generated client identifier has a numeric suffix that
is incremented every time a new client utility is started.
3. Click Options to open the Connection Options window. You can start the client utility with a clean
session, or configure the last will and testament options.
4. Click Connect to establish a connection with the PlainText telemetry channel. A new event entry of
Connected is displayed in the Client history.
5. Type a topic name in the Subscription Topic field. The default topic name is testTopic and this
name is used throughout this task.
6. Select the subscription quality of service from the Request QoS menu.
7. Click Subscribe to subscribe to the topic testTopic. A new event entry of Subscribed is displayed
in the Client history, along with the topic name, QoS, and the time of subscription.
8. Accept the default topic name, testTopic, in the Publication Topic field. In general, ensure that
the subscription and publication topics match so that the MQTT client receives messages from the
correct topic.
9. Type a message in the Message field. The default message test is Test Message.
10. Select the publication quality of service from the Request QoS menu.
11. Select Retained to forward the most recent retained publication on this topic to new subscribers.
12. Click Publish to publish the message on the testTopic topic for interested subscribers. A new
event entry of Published is displayed in the Client history, along with the topic name, QoS, whether
the message is retained, and the time of subscription. On the receiving client utility, a new event entry
of Received is displayed in the Client history.
13. Select the received message in the Client history, then click View message to view the full message
in the Message Viewer window. Alternatively, select the message and press Enter, or double-click
the received message.
Procedure
Create and configure a new telemetry channel by completing the following steps:
1. Right-click the telemetry Channels folder and click New > Telemetry channel. The New Telemetry
Channel wizard opens.
2. Type the name of the channel in the Channel name field.
Results
A new telemetry channel is created. View this channel by expanding the Telemetry folder and clicking the
Channels folder.
What to do next
You can now manage your telemetry channel authorities.
For information about how to grant authorities in IBM MQ Explorer, see “Managing object authorities with
an authorization service” on page 135.
Procedure
1. From the Telemetry welcome page, click Define sample configuration. The Define sample
configuration wizard opens.
2. Review the list of actions that will occur on completion of this wizard, and click Finish.
Results
The Define sample configuration wizard performs the following actions and creates the appropriate
resources:
• Defines and starts the MQXR service.
• Defines the default transmit queue.
• Allows Guest on Windows systems, and nobody on Linux systems, to send messages to clients
connected to the MQTT listener.
• Allows Guest on Windows systems, and nobody on Linux systems, to both publish on and subscribe to
any topic.
• Defines a sample telemetry channel.
Also, the Define sample configuration link on the Telemetry welcome page is replaced by The sample
configuration has been set up for this queue manager. This is the first form of visual verification that the
sample configuration was set up properly.
Results
The creation of an expansible Telemetry folder node indicates the successful definition of the MQXR
service.
Related tasks
“Telemetry node does not appear” on page 255
Find out what to look for if the Telemetry node does not appear.
com.ibm.mq.MQXR.channel.SSL.PassPhrase=<MQXR>2!kvAzYv/1aCMfSQ5igkFVmQ==
!f4rX5KL7aFKHJl7Ln0X+OQ==
where DEFAULT means the default key is used for encryption of passphrases.
Procedure
1. Ensure that you know the passphrases for each MQTT TLS channel.
2. Stop the MQXR service SYSTEM.MQXR.SERVICE.
3. Alter the MQXR service SYSTEM.MQXR.SERVICE to add the STARTARG option -sf and provide the
credentials key file to be used for encryption.
For example, to encrypt passphrases using the DEFAULT key, issue the following command:
Similarly, to encrypt passphrases with a user defined key in keyfile.txt, issue the following command:
Attention: MQXR still supports plain text passphrase, but you should encrypt all MQTT TLS
channel passphrases in your enterprise.
7.
In the Start args field, include the -sf and -sp options:
where the -sp option specifies the protection mode. The default value is 2 to use the more secure
credentials protection method.
8. In the Stop command field, type +MQ_INSTALL_PATH+/mqxr/bin/endMQXRService.sh
9. In the Stop args field, type -m +QMNAME+
10. In the StdOut field, type +MQ_Q_MGR_DATA_PATH+/mqxr.stdout
11. In the StdErr field, type +MQ_Q_MGR_DATA_PATH+/mqxr.stderr
12. Select Server from the Service type menu.
13. Click Finish.
Note: In Step “7” on page 248, the -sf option is for encrypting the passphrases of TLS channels. For
more information, see “Encrypting passphrases for MQTT TLS channels” on page 246.
Results
The MQXR service is created.
To view the MQXR service in the Navigator view click the Services folder. Ensure the Show System
Objects option is selected, and navigate to the service.
In this task, the service is called SYSTEM.MQXR.SERVICE.
Related tasks
“Defining the MQXR service manually on Windows” on page 248
Procedure
1. In the Navigator view, right-click the Services folder.
2. Click New > Service to open the New Service Definition wizard.
3. In the Name field, type SYSTEM.MQXR.SERVICE and click Next.
4. In the Description field, type a description of the service (for example, Manages clients using
MQXR protocols such as MQTT).
7.
In the Start args field
where the -sp option specifies the protection mode. The default value is 2 to use the more secure
credentials protection method.
8. In the Stop command field, type +MQ_INSTALL_PATH+\mqxr\bin\endMQXRService.bat
9. In the Stop args field, type -m +QMNAME+
10. In the StdOut field, type +MQ_Q_MGR_DATA_PATH+\mqxr.stdout
11. In the StdErr field, type +MQ_Q_MGR_DATA_PATH+\mqxr.stderr
12. Select Server from the Service type menu.
13. Click Finish.
Note: In Step “7” on page 249, the -sf option is for encrypting the passphrases of TLS channels. For
more information, see “Encrypting passphrases for MQTT TLS channels” on page 246.
Results
The MQXR service is created.
To view the MQXR service in the Navigator view click the Services folder. Ensure the Show System
Objects option is selected, and navigate to the service.
In this task, the service is called SYSTEM.MQXR.SERVICE.
Related tasks
“Defining the MQXR service manually on Linux” on page 247
Procedure
Use the following steps to start or stop the MQXR service:
1. In the Navigator view, click the Services folder.
2. Ensure that Show System Objects is selected.
3. In the Content view, right-click the MQXR service name (SYSTEM.MQXR.SERVICE), and click Start or
Stop.
4. Click Yes on the confirmation dialog.
Results
The MQXR service starts or stops depending on what action you selected.
Related tasks
“Defining the MQXR service” on page 246
The MQXR service is defined when you run the Define sample configuration wizard. You can also define
the MQXR service manually.
Results
The telemetry channel starts or stops depending on what action you performed.
Note: To purge a telemetry channel, right-click the selected channel and click Purge.
Related tasks
“Creating and configuring a telemetry channel” on page 243
A telemetry channel connects a number of MQTT clients to IBM MQ. Create one or more telemetry
channels on a queue manager. Each of these telemetry channels might have different configuration
settings, making it easier to manage the clients attached to them.
“Starting and stopping the MQXR service” on page 250
Before you can start or stop the MQXR service, the queue manager must be running.
Procedure
To view the status of a telemetry channel, perform the following steps:
1. In the Navigator view, expand the Telemetry folder, then click the Channels folder. Your telemetry
channel definitions are displayed in the Content view.
2. Right-click the appropriate telemetry channel, then click Status. A new Content view opens in a
separate window displaying the client connections on that telemetry channel.
Procedure
To filter telemetry objects, perform the following steps:
1. Assuming that you have installed and set up your queue manager for Telemetry, click the Channel
Status folder.
2. In the Telemetry Channel status Content view, click the arrow next to the Filter name.
• To select a filtering option from a list of defined filters, click Select Filter. The default filter in the
Channel Status Content view is Standard for Telemetry Channel Status.
• To change the options for the current filter, click Edit current filter.
• To add, copy, or edit filters, click Manage filters.
a) To add a filter, in the Manage filters window, click Add.
b) Type a meaningful name in the Filter Name field. For example, type Clients belonging to my
IBM channel.
c) Set the condition to apply to the telemetry channels. For example, Channel name like
IBM.CHANNEL.
d) To add another rule, select AND.
e) Click Select to change the attribute to filter on.
f) Type an appropriate rule, then click OK.
3. Select the filter name that you want to apply to that content view and click OK.
Results
The filter is applied and your objects are filtered based on the criteria set in the filtering option.
Procedure
Consider the following reasons to diagnose the problem with an MQTT client failing to connect:
• Check that the queue manager and telemetry (MQXR) service are running.
Start the queue manager. By default, the MQXR service should start with the queue manager. If you
configured the MQXR service control to start manually, you might have to start the service from the
Services folder. For more information about starting the MQXR service, see “Starting and stopping the
MQXR service” on page 250.
• Check that the telemetry channel and telemetry (MQXR) service are defined and running correctly.
You can manually define the MQXR service and set the default transmit queue of the queue manager to
SYSTEM.MQTT.TRANSMIT.QUEUE, which takes precedence over an existing default transmit queue.
This makes the queue manager suitable for Telemetry. Alternatively, you might want to consider
running the Define sample configuration wizard from the Telemetry welcome page, if you have not
done so already.
• Have you written your own client?
If so, did you write your client application with the MQTT v3 protocol and not the v5 protocol? Try to
isolate the problem by running the MQTT client utility.
• Do you have a valid client identifier name?
When connecting to IBM MQ, the MQTT client identifier should be less than 23 characters, and contain
only alphabetic characters, numeric characters, and the period (.), forward slash (/), underscore (_),
and percent sign (%).
• Did you connect your MQTT client and exhaust the MQTT keep alive interval?
The keep alive attribute is the interval in milliseconds after which, the MQTT client is disconnected due
to inactivity. If the MQXR service does not receive any communication from the client within the keep
alive interval, it disconnects from the client.
• Is a large number of MQTT clients trying to connect to a telemetry channel at the same time?
Every telemetry channel has a backlog attribute. This is the number of concurrent connection
requests that the telemetry channel supports. Ensure that the value is not set to a number that is
less than the number of MQTT clients trying to connect.
• Check that the TCP/IP connection is still active.
Related tasks
“Defining a sample configuration” on page 245
You can use the Define sample configuration wizard to reconfigure your queue manager, making it
suitable for the MQ Telemetry feature. The sample configuration defines and starts the MQXR service,
defines the transmit queue, and creates a sample telemetry channel.
“Defining the MQXR service” on page 246
The MQXR service is defined when you run the Define sample configuration wizard. You can also define
the MQXR service manually.
Related reference
“Telemetry channel properties” on page 256
Each telemetry channel attribute has a brief description which you must understand before you can
configure the channel. MQ Telemetry only supports the TCP/IP protocol.
“Telemetry channel status attributes” on page 258
Procedure
If your MQTT client connects successfully and later disconnects with no apparent reason, consider the
following reasons to diagnose the problem:
• The queue manager, MQXR service, or telemetry channel is not running.
Start the queue manager, MQXR service, or telemetry channel. Try reconnecting the MQTT client, and
check that this solution rectifies the problem.
• Another client is started and connects with the same client ID.
In this case, IBM MQ accepts the connection from the second MQTT client and forcefully disconnects
the first MQTT client.
• The MQTT client accesses a topic that it is not authorized to, either for publishing or subscribing.
IBM MQ disconnects the MQTT client.
• The TCP/IP connection is no longer active.
Diagnose and fix the problem with your TCP/IP connection, and try reconnecting the MQTT client.
Procedure
• Have you installed MQ Telemetry?
Check that you have all the prerequisites, and that you have installed Telemetry. See Installation under
Telemetry in the IBM MQ product documentation.
Procedure
• Your telemetry channel fails to start.
Refresh the Telemetry Channels Content view, and ensure that the channel is not currently running.
Check that the port number of the telemetry channel is not in use by another application.
• A telemetry channel stops unexpectedly.
Ensure that the telemetry (MQXR) service is still running.
• The telemetry channel drops MQTT client connections.
For more information about MQTT clients being dropped unexpectedly, see “Resolving problems if
your MQTT client disconnects unexpectedly” on page 255.
• You cannot view the status of a telemetry channel.
Check that the telemetry channel in question is running.
MQ Telemetry reference
Use the reference information in this section to accomplish tasks associated with the use of Telemetry in .
Related reference
“Telemetry channel properties” on page 256
Each telemetry channel attribute has a brief description which you must understand before you can
configure the channel. MQ Telemetry only supports the TCP/IP protocol.
“Telemetry channel status attributes” on page 258
As with IBM MQ, you can view the status of a telemetry channel. For each attribute, there is a brief
description of what information the attribute is used for. All of the telemetry channel status attributes are
read-only.
Attribute Meaning
Channel name Read-only. This is the name of the telemetry channel definition.
Channel type Read-only. This is the type of channel, in this case, MQTT.
Overall channel status Read-only. This is the current status of the telemetry channel.
Xmit protocol Read-only. The transmission protocol of the channel. Only TCP/IP is
supported.
Local address (optional) Type the IP address that the telemetry channel listens on. Use this option
when a server has multiple IP addresses.
Backlog (optional) The number of outstanding connection requests that the telemetry channel
can support at any one time. When the backlog limit is reached, any further
clients trying to connect will be refused connection until the current backlog is
processed.
The value is in the range 0 - 999999999. The default value is 4096.
MCA user ID (optional) The user ID for the message channel agent. It is the user identifier (up to
12 characters) to be used by the MCA for authorization to access IBM MQ
See Note 2
resources. If this property is specified, the user name supplied by the client is
not used for IBM MQ authorization.
Use client ID (optional) Decide whether you want to use the MQTT client ID for the new connection as
the IBM MQ user ID for that connection. If this property is specified, the user
See Note 2
name supplied by the client is ignored.
SSL CipherSuite (optional) If you choose to use this property, the CipherSuite must be available at
the client end of the telemetry channel. Leaving this option blank makes
both ends of the telemetry channel negotiate a CipherSuite that they both
understand.
SSL Authentication (optional) Determines whether the client is treated anonymously. SSL authentication
defines whether the telemetry channel must receive and authenticate a TLS
certificate from a client.
SSL Key repository (optional) The store for digital certificates and their associated private keys. If you do
not specify a key file, TLS is not used.
SSL Passphrase (optional) The password for the key repository. If no passphrase is entered, then
unencrypted connections must be used.
JAAS config file (read-only) The file path of the JAAS configuration.
JAAS config name (optional) The name of the configuration in the jaas.config file that you want to
implement.
Note:
1. When you edit the attributes of a telemetry channel, you must restart the channel for the changes to
apply.
2. Do not specify both MCA user ID and Use client ID properties. If you specify both, the telemetry
channel will fail when it tries to start.
If neither the MCA user ID and Use client ID properties are set, the user name and password
from the client are used and the user name is authenticated by JAAS using the password.
Related tasks
“Configuring MQ Telemetry using IBM MQ Explorer” on page 243
Configure IBM MQ to run the Telemetry feature, using IBM MQ Explorer. Create telemetry objects, and
test your telemetry setup using the MQTT client utility.
“Administering MQ Telemetry using IBM MQ Explorer” on page 249
Attribute Meaning
Channel name The name of the telemetry channel definition.
Client ID The identifier of the client.
Status The status of the client, which can be Running or Disconnected.
Indoubt in The number of indoubt inbound messages to the server. Indoubt inbound
messages are messages that have been received by the server but have
not completed the acknowledgments with the client.
Indoubt out The number of indoubt outbound messages from the server. Indoubt
outbound messages are messages that have been sent by the server but
have not had acknowledgments of receipt from the client.
Connection name The name of the remote connection. The connection name is always an
IP address, or it could be localhost (127.0.0.1).
MQTT keep alive The interval in milliseconds after which the client is disconnected
because of inactivity. If the MQXR service does not receive any
communication from the client within the keep alive interval, it
disconnects from the client. This interval is calculated based on the
MQTT keep alive time sent by the client when it connects.
MCA user ID The message channel agent user identification string. It is the user
identifier (1-12 characters) to be used by the MCA for authorization to
access IBM MQ resources. If this property is specified, the user name
supplied by the client is not used for IBM MQ authorization.
Messages sent The number of messages sent by the telemetry channel to the client
since the most recent client connection session.
Messages received The number of messages received by the telemetry channel from the
client since the most recent client connection session.
Last message time The time the last message was sent or received.
Channel start time The time the telemetry channel was started.
Pending out The number of outbound pending messages on the telemetry channel
waiting to be sent to the MQTT client.
Channel start date The date the telemetry channel was started.
Related tasks
“Viewing the status of a telemetry channel” on page 251
“Filtering Telemetry objects” on page 252
IBM MQ Tutorials
These tutorials show how to perform basic tasks such as creating a queue manager, creating a queue,
creating a channel, putting a message onto a queue, and getting a message from a queue. The tutorials
are relevant only for Multiplatforms.
Each tutorial is divided into several subtasks. You can perform each task by using either of the following
interfaces:
• The IBM MQ Explorer graphical interface.
• The IBM MQ Script Commands (MQSC) command line interface.
For more information about MQSC commands, see Administering IBM MQ using MQSC commands.
The first tutorial shows you how to set up a simple local stand-alone installation that has no
communication links with any other installations of IBM MQ. Each of the subsequent tutorials then builds
upon IBM MQ objects that have been set up during previous tutorials. Therefore, it is recommended that
these tutorials are completed in order.
The tutorials are designed to get you started with IBM MQ, and do not cover the more complex messaging
scenarios.
This tutorial shows you how to set up a queue manager QM_APPLE and a queue Q1 on a local stand-alone
installation that has no communication links with any other installations of IBM MQ. When the objects
have been defined, there are multiple tools that may be used to test the setup. The first task is to put
a test message. This task can be completing by using the IBM MQ Explorer, or the distributed platform
amqsput program. The second task is to verify that the message was added to the queue. This task can
be completed by using the IBM MQ Explorer, or the distributed platform amqsget program.
When you have completed Tutorial 1, you should have a basic understanding of how IBM MQ messaging
works in a simple messaging topology that has a queue manager with local queues.
Procedure
1. Start IBM MQ Explorer.
2. In the Navigator view, right-click the Queue Managers folder, then click New > Queue Manager.
The Create Queue Manager wizard opens.
3. In the Queue Manager name field, type
QM_APPLE.
4. Click Next twice.
5. Ensure that Automatic is selected from the Select type of queue manager startup option.
6. Click Next.
7. Ensure that the Create listener configured for TCP/IP check box is selected.
8. If the Finish button is not available, type another port number in the Listen on port number field.
If the current value is 1414, try using a different port number, for example: 1415 or 1416. If the
default port number of 1414 is not used at this stage, make a note of the port number used because
you will need it in later stages of this tutorial when QM_APPLE serves as a receiving queue manager.
9. Click Finish.
Results
An icon representing this queue manager is displayed in the Queue Managers folder in the Navigator
view of IBM MQ Explorer, and the queue manager automatically starts running after you create it, as
shown in the following screen capture:
Procedure
1. Create a queue manager called QM_APPLE by typing the command:
crtmqm QM_APPLE
Messages tell you that the queue has been created and that the default IBM MQ objects have been
created.
2. Start this queue manager by typing the command:
Results
You have now created a queue manager with the name QM_APPLE.
Procedure
1. In the Navigator view, expand the Queue Managers folder.
2. Expand queue manager QM_APPLE.
3. Right-click the Queues folder, then click New > Local Queue.
The New Local Queue wizard opens.
4. In the Name field, type Q1
5. Click Finish.
Results
The new queue Q1, is displayed in the Content view, as displayed in the following screen capture:
If the queue is not displayed in the Content view, click Refresh in the Content view.
Procedure
1. Enable MQSC commands by typing the command:
runmqsc QM_APPLE
Messages tell you that the queue has been created and that the default IBM MQ objects have been
created.
3. Stop MQSC by typing the command:
end
Results
You have now created a local queue called Q1.
Procedure
1. In the Navigator view, expand the Queue Managers folder.
2. Expand queue manager QM_APPLE, which you created.
3. Click the Queues folder.
The queues of the queue manager are listed in the Content view.
4. In the Content view, right-click the local queue Q1, then click Put Test Message.
The Put test message dialog opens.
5. In the Message data field, type some text, for example this is a test message, then click Put
message.
Results
In the Content view, notice that the Q1 Current queue depth value is now 1, as shown in the
following screen capture:
If the Current queue depth column is not visible, you might need to scroll sideways in the Content
View.
Procedure
1. Start the amqsput sample program as follows:
./amqsput Q1 QM_APPLE
amqsput Q1 QM_APPLE
target queue is Q1
2. Type some message text on one or more lines, then press Enter twice.
The following message is displayed:
Results
You have now created a test message and put it onto the local queue.
If the Current queue depth column is not visible, you might need to scroll sideways in the Content
View.
Procedure
• [OPTION 1] Use the IBM MQ Explorer graphical interface to verify that the test message was sent.
a) In the Navigator view, expand the Queue Managers folder, then expand QM_APPLE.
b) Click the Queues folder.
c) In the Content view, right-click Q1, then click Browse Messages.
The Message browser opens to show the list of the messages that are currently on Q1.
d) Double-click the last message to open its properties dialog.
On the Data page of the properties dialog, the Message data field displays the content of the
message in human-readable form, as shown in the following screen capture:
amqsget Q1 QM_APPLE
./amqsget Q1 QM_APPLE
This tutorial shows you how to set up messaging between a queue manager that is called QM_ORANGE
and a queue manager called QM_APPLE. You can complete this tutorial, and verify your environment, by
setting up the sending queue manager on the same computer as the target queue manager. A message
that is created on the sending queue manager is delivered to a queue called Q1 on the receiving queue
manager (this queue is referred to as a remote queue).
Important: During this tutorial, you must use the computer on which you created queue manager
QM_APPLE and local queue Q1.
You must set up a queue manager and queues (a remote queue definition and a transmission queue) on
your computer, and then define a message channel. Finally, put a test message onto the sending queue
manager, and get it from the queue on the receiving queue manager.
When you have completed this tutorial, you should have a basic understanding of how to set up and use
IBM MQ messaging using a remote queue definition.
Procedure
1. Start IBM MQ Explorer.
2. In the Navigator view, right-click the Queue Managers folder, then click New > Queue Manager
The Create Queue Manager wizard opens.
3. In the Queue Manager name field, type QM_ORANGE.
4. Click Next twice to go to the Enter configuration options section of the wizard.
5. Select Create server-connection channel.
6. Ensure that Automatic is selected from the Select type of queue manager startup option.
7. Click Next to go to the Enter listener options section of the wizard.
8. Ensure that the Create listener configured for TCP/IP check box is selected.
9. If the Finish button is not available, type another port number in the Listen on port number field.
If the current value is 1414, try typing 1415 or 1416
10. Click Finish.
Results
An icon representing this queue manager is displayed in the Queue Managers folder in the Navigator
view of IBM MQ Explorer, and the queue manager automatically starts running after you create it.
Procedure
1. Create a default queue manager called QM_ORANGE by typing the command:
crtmqm QM_ORANGE
Messages tell you that the queue has been created and that the default IBM MQ objects have been
created.
2. Start this queue manager by typing the command:
strmqm QM_ORANGE
Results
You have now created the sending queue manager.
Creating the queues on the sending queue manager using IBM MQ Explorer
Procedure
1. In the Navigator view, expand the Queue Managers folder.
2. Expand queue manager QM_ORANGE.
3. Right-click the Queues folder, then click New > Remote Queue Definition.
The New Remote Queue Definition wizard opens.
4. In the Name field, type Q1
5. Click Next.
6. In the Remote queue field, type Q1
7. In the Remote queue manager field, type QM_APPLE
8. In the Transmission queue field, type QM_APPLE
9. Click Finish.
You have now created the remote queue definition.
10. Click the QM_ORANGE queue manager.
11. Right-click the Queues folder, then click New > Local Queue
The New Local Queue wizard opens.
12. In the Name field, type QM_APPLE
13. Click Next.
14. In the Usage field, select Transmission.
15. Click Finish.
You have now created the transmission queue on the local machine.
Results
The new queues, Q1 and QM_APPLE, are displayed in the Content view.
If the queues are not displayed in the Content view, click Refresh in the Content view.
Procedure
1. Start MQSC by typing the command:
Results
You have now created the queues on the sending queue manager. The next task is to create the message
channel between the sending and receiving queue managers.
Procedure
1. On the receiving queue manager QM_APPLE, create the receiver end of the channel:
a) In the Navigator view, expand the queue manager QM_APPLE that you created earlier.
b) Right-click the Channels folder, then click New > Receiver Channel.
The New Receiver Channel wizard opens.
c) In the Name field, type QM_ORANGE.QM_APPLE
d) Click Finish.
You have now created the receiver channel on the receiving machine.
2. On the sending queue manager QM_ORANGE, create the sender end of the channel:
a) Expand the queue manager QM_ORANGE that you created earlier.
b) Right-click the Channels folder, then click New > Sender Channel.
The New Sender Channel wizard opens.
c) In the Name field, type QM_ORANGE.QM_APPLE, then click Next.
d) In the Connection name field, type the computer name or IP address of the receiving machine (you
should already have obtained this with your system administrator's help).
con-name(port)
Where con-name is the computer name or IP address of the receiving machine, and port is the
port number used when the receiving queue manager was set up.
e) In the Transmission queue field, type QM_APPLE
The transmission queue name you enter here must match the name you entered for the
transmission queue in Creating the queues on the sending queue manager.
f) Click Finish.
g) Click the Channels folder.
h) Right-click QM_ORANGE.QM_APPLE.
i) From the pop-up menu, click Start.
j) Click OK.
You have now created the sender channel on the sending machine.
Note: You do not have to start the receiver channel because it started automatically when you set
up the sender channel (when you set up the sender channel, you specified the receiver channel's IP
address).
Results
You have now created a receiver channel QM_ORANGE.QM_APPLE, on the receiving queue
manager QM_APPLE, and a sender channel QM_ORANGE.QM_APPLE, on the sending queue manager
QM_ORANGE. You have also started the sender channel, which automatically started the receiver
channel.
Procedure
1. Open a command prompt on the receiving machine and follow these steps:
a) Start MQSC by typing the command:
runmqsc
netstat -an
This shows you a list of running processes. Check the port number of each of the processes to see
if port 1414 is in use; you can find this by looking in the Local Address column. The information is
given in the form ip_address:port_being _used.
If port 1414 is not in use, use 1414 as the port number for your listener and sender channel later in
the verification. If it is in use, select an alternative port that is not in use; for example 1415 if this is
not being used by another process.
Where port_number is the number of the port the listener should run on. This must be the same
as the number used when defining your sender channel in step 2b of this procedure.
e) In the MQSC window, start the default IBM MQ listener by entering the following command:
start listener(system.default.listener.tcp)
end
runmqsc
The value con-name is the TCP/IP address of the receiver workstation. The value port is the port
on which the listener is running on the receiver machine, the default value is 1414.
c) Start the channel by typing the following command:
end
Results
You have now created all the IBM MQ objects required for messages to be sent from the sending queue
manager QM_ORANGE to the queue Q1 on the receiving queue manager QM_APPLE. The next task is to
send a test message.
• On Windows, the sample programs are installed by default with IBM MQ Server or Client.
Procedure
1. Open a command prompt.
2. Start the amqsput sample program as follows:
amqsput Q1 QM_ORANGE
./amqsput Q1 QM_ORANGE
Results
You have now created a test message and put it onto the remote queue. The next task is to verify that the
test message was received.
Verifying that the test message was sent using IBM MQ Explorer
Procedure
1. In the Navigator view, expand queue manager QM_APPLE.
2. Click the Queues folder.
3. In the Content view, right-click the queue Q1, then click Browse Messages.
The Message browser opens to show the list of the messages that are currently on Q1.
4. Double-click the last message in the list to view its properties dialog.
Results
On the Data page of the properties dialog, the Message data field displays the content of the message
in human-readable form.
Procedure
Start the amqsget sample program as follows:
./amqsget Q1 QM_APPLE
amqsget Q1 QM_APPLE
Results
The sample program starts and your message is displayed along with any other messages on this queue.
After a short pause, the sample program ends and the command prompt is displayed again.
You have now completed this tutorial.
This tutorial shows you how to set up messaging between client and server machines. From the client
machine, you put a message on queue manager QM_ORANGE, which is hosted on a server machine.
QM_ORANGE sends the message to Q1 on QM_APPLE, which is hosted on another server machine.
Important: This tutorial shows you how to work with a client-server installation, where the client is a
third machine with IBM MQ Client installed, and the server is the machine which has the queue manager
QM_ORANGE defined on it.
You set up the server by creating a server-connection channel. You then set up the client by defining the
MQSERVER environment variable. Finally, you put a test message from the Client onto QM_ORANGE which
sends it to queue Q1 on QM_APPLE and you verify that the message was sent.
When you have completed this tutorial, you should have a basic understanding of how to set up
messaging on an IBM MQ MQI client-server configuration.
Results
The new server-connection channel is displayed in the Content view.
What to do next
For more information about the MCAUSER ID, see Access control for clients.
Procedure
1. Start MQSC by typing the command:
runmqsc QM_ORANGE
A message tells you that an MQSC session has started. MQSC has no command prompt.
2. Define a server-connection channel by typing the following command on one line:
If you are using Windows, type your Windows login name (or a valid mqm user name) in
place of mqm.
A message tells you when the channel has been created.
3. Stop MQSC by typing:
end
runmqlsr -t tcp
Results
You have now finished setting up the server. The next task is to set up the client.
Procedure
1. Open the Control Panel: Click Start > Settings > Control Panel
2. Double-click System.
3. Click the Advanced tab.
4. Click Environment Variables.
5. In the User Variables pane, click New.
6. Type MQSERVER into the Variable Name field.
7. Type CLIENT.QM_ORANGE/TCP/hostname into the Variable Value field, where hostname is the
computer name or IP address that identifies the machine hosting queue manager QM_ORANGE. If
you do not use the default port number 1414, you must also specify the port number where the
listener is listening. For example: MQSERVER=CLIENT.QM_ORANGE/TCP/hostname (1415)
8. Click OK.
The MQSERVER environment variable is visible in the User Variables pane.
Results
You have now set up the client and server components needed on your Windows machine.
Procedure
1. Log in as the user who will be running Express File Transfer, who must be a member of the mqm group.
cd $HOME
4. Use a text editor to edit the profile. This example assumes that you are using the bash shell, so you
need to edit the file $HOME/.bashrc. If you are using a different system shell, consult your system
documentation. Add the following text to the end of the file:
Replace hostname with the name that identifies the server machine on the network.
5. Close the command prompt.
6. Log out and log back in for the change to take effect.
Results
You have now set up the client and server components needed. The next task is to send a message from
the client to the server queue manager QM_ORANGE.
On Windows, the sample programs are installed by default with IBM MQ Server or Client.
Procedure
1. Start the amqsputc sample program as follows:
./amqsputc Q1
amqsputc Q1
Results
You have now created a test message and sent it to the server queue manager QM_ORANGE, which routes
it onto queue Q1 on queue manager QM_APPLE. The next task is to verify that the test message was
received.
Verifying that the test message was sent using IBM MQ Explorer
Procedure
1. In the Navigator view, expand QM_APPLE.
2. Click the Queues folder.
3. In the Content view, right-click Q1, then click Browse Messages.
The Message browser opens to show the list of messages on Q1.
4. Double-click the last message in the list to open its properties dialog.
Results
On the Data page of the properties dialog, the Message data field displays the content of the message
in human-readable form.
./amqsget Q1
amqsget Q1
Results
The sample program starts, and your message is displayed along with any other messages on this queue.
After a pause of 15 seconds, the sample ends and the command prompt is displayed again.
You have now completed this tutorial.
Reference
This section of the Help deals with reference material such as Accessibility, Properties, and Icons for IBM
MQ Explorer.
The following topics list the reference material for IBM MQ Explorer.
• Accessibility in IBM MQ Explorer
• Icons in IBM MQ Explorer
• Views in IBM MQ Explorer
• Properties
• Status attributes
• Byte array dialog
• Strings in property dialogs
Icon Meaning
Up. The object is running.
Queue managers
The following table lists the icons that are used in IBM MQ Explorer to represent queue managers.
The queue manager icon is yellow when IBM MQ Explorer is connected to a queue manager; when it is not
connected, the icon is gray. Local queue managers are marked with an Up or Down icon to show whether
the queue manager is running or stopped.
Local No Running
Local No Stopped
Remote No Unknown
Queues
The following table lists the icons that are use in IBM MQ Explorer to represent queues.
Model
Transmission
Channels
The following table lists the icons that are used in IBM MQ Explorer to represent channels.
Icon Meaning
Sender
Server
Receiver
Requester
Server-connection
Client-connection
Cluster-sender
Cluster-receiver
Icon Meaning
Topic
Subscription
Listener
Namelist
Message
Custom service
Application connection
Icon Meaning
Cluster
Full repository
Partial repository
Cluster-receiver channel
Cluster-sender channel
Icon Meaning
Queue sharing group
QSG namelist
API Exits
The following table lists the icons that are used in IBM MQ Explorer to represent API exits.
Icon Meaning
Common
Template
Local
JMS objects
The following table lists the icons that are used in IBM MQ Explorer to represent JMS objects in the JNDI
namespace.
Header Header
Initial context; connected
Subcontext; connected
Subcontext; disconnected
Object or folder Purpose of the object or Tasks that you can Links to more
folder perform information
IBM MQ The IBM MQ object is Right-click the IBM Configuring IBM MQ
the root of the folder MQ object to perform
hierarchy and represents tasks that affect the
the installation of IBM MQ whole of IBM MQ
on the computer. on the local computer,
such as configuring IBM
MQ properties, starting
trace, or managing TLS
certificates.
• On AIX,
Linux, and Windows
systems, IBM MQ
TLS support can
check for revoked
certificates using OCSP
(Online Certificate
Status Protocol). OCSP
is the preferred method.
IBM MQ classes for Java
and IBM MQ classes
for Java cannot use the
OCSP information in a
client channel definition
table file. However,
you can configure
OCSP as described
in Clustering: Using
REFRESH CLUSTER best
practices.
Depending on which other plug-ins you have installed and enabled for IBM MQ Explorer, the Navigator
view might contain other folders and objects.
Related tasks
“Showing or hiding a queue manager” on page 81
By default, the Navigator view shows all of the queue managers on the computer on which IBM MQ
Explorer is installed. However, if you have any queue managers that you are not currently administering,
you can, if you wish, choose to hide them. You can also show and hide remote queue managers.
“Enabling installed plug-ins” on page 221
If a new plug-in that you install in IBM MQ Explorer is not enabled by default, you can enable it by using
the Preferences dialog.
Related reference
“Icons in IBM MQ Explorer” on page 280
IBM MQ Explorer uses icons to represent the different objects, such as queue managers, queues, and
channels.
“Views in IBM MQ Explorer” on page 285
Table 6. Options for configuring the settings for IBM MQ Explorer preferences
Type of setting Configuration task Where to find more information
Authorization Displaying object authority settings as “Displaying object authority settings as
service text text” on page 226
Client connections Remote queue managers; specifying “Specifying the default values used to
default values that are used to connect connect to remote queue managers” on
to remote queue managers page 223
TLS Key Repositories; specifying the “Specifying the default location and
default location and default password of default password of TLS certificates” on
TLS certificates page 87
TLS Options; specifying default security “Default security preferences” on page
preferences 161
Security exit; configuring a default “Configuring a default security exit” on
security exit page 160
User identification; enabling default user “Users and groups (entities) in the
identification authorization service” on page 149
Display settings Changing the colors “Changing the colors” on page 221
Defining schemes and filters from the Filtering the objects displayed in the
relevant content view Content view
Setting the order of columns in tables Changing the order of columns in tables
and the objects that are displayed
Changing the refresh frequency of queue “Changing the refresh frequency of
manager information queue manager information” on page
222
Displaying object authority settings as “Displaying object authority settings as
text text” on page 226
Enable Plug-ins Enabling installed plug-ins “Enabling installed plug-ins” on page
221
Managed File Configuring managed file transfer “Configuring Managed File Transfer
Transfer preferences” on page 299
Messages Configuring messages “Configuring message preferences” on
page 300
Passwords Setting password preferences “Passwords preferences” on page 163
Telemetry Configuring telemetry channels “Telemetry channels” on page 238
Tests Including hidden queue managers in “Including hidden queue managers in
test configurations test configurations” on page 226
Including SYSTEM objects when you run “Including SYSTEM objects when you
tests run tests” on page 225
Procedure
1. In the Content view or dialog that contains the table, click the small arrow next to the current filter
name. A menu is displayed.
2. If you want to apply one of the other supplied filters, in the menu, click the name of the filter. The
menu closes and the filter is applied to the table.
3. If you want to apply a different filter (that was not supplied with IBM MQ), click More Filters... The
Select Filter dialog opens displaying the filters that are available.
4. In the Apply filter list, click the filter that you want to apply, or click No filter to remove all filtering
from the table.
5. Click OK.
Results
The selected filter is applied to the selected folder.
Related concepts
“Define schemes to change the order of columns in tables” on page 217
When object data is displayed in IBM MQ Explorer in tables, you can customized the order of the columns
in the tables.
Results
The information about the queue manager is now automatically refreshed at the new rate.
Changing the default refresh frequency for all new queue managers
Procedure
1. Click Window > Preferences to open the Preferences dialog.
2. On the MQ Explorer page, in the Default Queue Manager Refresh Intervals fields, type the refresh
interval, in seconds, then click OK.
Results
All new queue managers that are added to IBM MQ Explorer are now refreshed at the new rate.
Procedure
1. In the Navigator view, right-click the queue manager, then click Connection Details > Set Refresh
Interval The Automatic Refresh dialog opens.
2. In the Automatic Refresh dialog, clear the check box, then click OK.
Results
The information about the queue manager is no longer refreshed automatically. To refresh the information
about the queue manager, click Refresh on the menu in the Content view.
Results
The next time that you open a dialog that displays object authorities, the tables will show authorities
using text instead of icons.
Related tasks
“Configuring IBM MQ Explorer” on page 192
Use this information to help you to configure your IBM MQ Explorer installation.
Related reference
“Accessibility in IBM MQ Explorer” on page 279
Accessibility features help a user who has a physical disability, such as restricted mobility or limited
vision, to use software products successfully.
Procedure
1. Open the Preferences dialog: Window > Preferences
2. In navigation tree of the Preferences dialog, expand MQ Explorer, then click Colors.
3. On the Colors page, click the palette button for the feature that you want to change. The palette button
in the Content View section of the page controls the color of cells that are not applicable (cells that are
colored gray by default); the palette buttons in the Command Details section of the page control the
color of the text and background in the command windows that are displayed in the Details window
when you create, delete, start, and stop a queue manager in IBM MQ Explorer.
4. In the palette, click the color that you want to use (or define a custom color), then click OK.
5. Click OK to close the Preferences dialog.
Results
The color that you selected is used.
Related tasks
“Configuring IBM MQ Explorer” on page 192
Use this information to help you to configure your IBM MQ Explorer installation.
Related reference
“Accessibility in IBM MQ Explorer” on page 279
Procedure
1. Click Window > Preferences to open the Preferences dialog.
2. In the navigation tree of the Preferences dialog, expand MQ Explorer, then click Enable plug-ins. A
list of the available plugins is displayed.
3. Select the check box next to the plug-in that you want to enable, then click OK.
Results
The plug-in is now enabled in IBM MQ Explorer. Any folders or menu items for example, that are related to
the plug-in are now available in IBM MQ Explorer.
You can also disable plug-ins that you do not use. For example, if you do not use clustering in your
messaging networks, you can clear the check box next to the Cluster Component plugin. The Cluster
Component plugin remains installed on your computer so that you can enable it in future. Because the
plug-in is still installed on your computer, the help that is associated with clustering is still available in the
help system and in the context-sensitive help.
Procedure
1. Click Window, and then click Preferences.
The Preferences dialog opens.
2. Click Managed File Transfer.
Managed file transfer settings appear.
3. Under Default global configuration subscription type, choose from either Durable or Non-durable.
Procedure
1. Click Window, and then click Preferences.
The Preferences dialog opens.
2. Click Managed File Transfer.
Managed file transfer settings are displayed.
3. Select the level of function to which you want to move.
Procedure
1. Click Window, and then click Preferences.
The Preferences dialog opens.
2. Click Messages.
Messages settings appear.
3. Change the maximum number of messages that are browsed by either clicking the up or down arrows,
or by typing a new value. The default value is 500.
4. Change the maximum data bytes that are displayed by either clicking the up or down arrows, or by
typing a new value. The default value is 1000.
Procedure
1. Click Window, and then click Preferences.
The Preferences dialog opens.
2. Click Messages.
Messages settings appear.
3. To show no message properties, except those properties that are contained in the message descriptor
or extension, clear the Show message properties check box.
For more information, see “Named Properties page” on page 463.
4. To show message properties as Named Properties, select the as Named Properties check box.
Properties of the message, except those properties that are contained in the message descriptor or
extension, are represented in the Named Properties panel in name-value pairs, and the properties are
removed from the message data.
For more information, see the entry for MQGMO_PROPERTIES_IN_HANDLE in “Named Properties
page” on page 463.
5. To show message properties as an MQRFH2 structure in the message body, select the as an MQRFH2
structure in message body check box. Properties of the message, except those properties that are
contained in the message descriptor or extension, are represented in the MQRFH2 Properties panel
and the properties remain in the message data.
For more information, see the entry for MQGMO_PROPERTIES_FORCE_MQRFH2 in “MQRFH2
Properties page” on page 463.
User identification
The user identification for all queue managers in a set can be changed. The user identification can be
overridden when you add a new remote queue manager.
The user identification preferences are part of the Preferences dialog, and they can be opened in the
following way:
1. Click Windows > Preferences.... The Preferences dialog opens.
2. Expand MQ Explorer.
3. Expand User identification. The default user identification settings dialogs are now accessible.
Select Enable default user identification to enable the Userid and Password fields.
Item Description
Enable user Select Enable user identification to enable the fields on this dialog.
identification
User When selected, the userid and password are passed to the server in a way compatible
identification with security exits created prior to IBM MQ 8.0.
compatibility
Mode
Userid The userid and password, when specified, are passed to the server, and can be used
either by:
• The queue manager, if configured to use connection authentication, or
• A server security exit, if using a client connection
to establish the identity of the IBM MQ Explorer user.
No password When selected, no password is passed to the server with the userid.
Prompt for When selected, the user is prompted for a password that is passed to the server with the
password userid. The prompting occurs as part of the connect operation.
Use saved When selected, the saved password is passed to the server with the userid.
password
Saved The saved password to be passed to the server with the userid
password
Related reference
“Default security preferences” on page 161
A security exit can be defined for all client connections in the same IBM MQ Explorer. This is known as a
default security exit and the preferences for the security exit are described here.
“Passwords preferences” on page 163
Passwords preferences
You can store passwords to a file so that you do not have to enter them every time you want to connect to
resources.
Passwords used by the IBM MQ Explorer to connect to resources (for example: opening TLS stores or
connecting to queue managers), can be stored in a file. The password file can be stored locally, to a
remote device, or to a removable device.
To open the Passwords preference panel:
1. Click Window > Preferences. The Preferences dialog opens.
2. Expand MQ Explorer.
3. Select Passwords to display the Passwords panel.
Item Description
Do not save Passwords are not stored to a file. This is the default value.
passwords
Save Passwords are saved to the file you specify. Select Save passwords to file and click
passwords Browse to select a location for the encrypted password file
to file
Use default You must use a key to open a password store. This is the default value.
key
User You must use a key to open a password store. Select User defined key then click Change
defined key to enter your password. The password must contain a minimum of 8 characters.
Related tasks
“Configuring a default security exit” on page 160
A security exit can be defined for all client connections in the same IBM MQ Explorer. This is known as a
default security exit.
“Configuring the client security details for a queue manager set” on page 160
The client security details and security exit can be defined for all the client-connected queue managers in
a queue manager set.
Related reference
“Default security preferences” on page 161
A security exit can be defined for all client connections in the same IBM MQ Explorer. This is known as a
default security exit and the preferences for the security exit are described here.
Item Description
Exit Specifies the name of the exit program to be run by the security exit. Exit name can be
name up to 1024 characters long and is case sensitive. Exit name can be a fully qualified java
class name found in the directory or jar file. Exit name can be a C exit, of the format:
dll_name(function_name). The default path for exits is always used to locate C exits, you
cannot specify the location of the exit library in this entry field unless no default path is set.
in Specifies the directory for the security exit (Java exits only).
directory
in jar Specifies the jar file for the security exit (Java exits only).
Exit data Exit data can be up to 32 characters long. If no value has been defined for that attribute,
this field is all blanks.
SSL/TLS Options
Select Enable default SSL options to enable the default SSL/TLS options for all client connections in the
same IBM MQ Explorer. The SSL/TLS options for all client-connected queue managers in a set can be
changed. The SSL/TLS options can be overridden when you add a new remote queue manager.
Item Description
SSL The CipherSpec identifies the combination of encryption algorithm and hash function used
CipherSp by an SSL/TLS connection. A CipherSpec forms part of a CipherSuite, which identifies the
ec key exchange and authentication mechanism as well as the encryption and hash function
algorithms.
The size of the key used during the handshake can depend on the digital certificate you use,
but some of the CipherSpecs supported by IBM MQ include a specification of the handshake
key size. Note that larger handshake key sizes provide stronger authentication. With smaller
key sizes, the handshake is faster.
For more information, see CipherSpecs and CipherSuites.
SSL FIPS Select Yes to use only FIPS-certified cipher suites. If you select Yes, then all TLS connections
required must use FIPS-certified cipher suites.
SSL/TLS Stores
Select Enable default SSL stores to work with the Trusted Certificate Store and the Personal Certificate
Store.
To configure IBM MQ Explorer with the location and password of the SSL/TLS certificate store, refer to:
“Specifying the default location and default password of TLS certificates” on page 87.
By enabling the default SSL/TLS stores, IBM MQ Explorer can use the certificates in the TrustStore and
KeyStore to connect to remote queue managers with a TLS-enabled connection.
The SSL/TLS Stores for all client-connected queue managers in a set can be changed. The SSL/TLS Stores
can be overridden when you add a new remote queue manager.
Related tasks
“Configuring a default security exit” on page 160
A security exit can be defined for all client connections in the same IBM MQ Explorer. This is known as a
default security exit.
“Configuring the client security details for a queue manager set” on page 160
The client security details and security exit can be defined for all the client-connected queue managers in
a queue manager set.
Related reference
“Passwords preferences” on page 163
You can store passwords to a file so that you do not have to enter them every time you want to connect to
resources.
Procedure
1. Click Window > Preferences.
The Preferences dialog opens.
2. Expand MQ Explorer.
3. Expand Client Connections.
The default security settings dialogs are now accessible.
What to do next
The default security exit has now been configured. All new client connections in the same IBM MQ
Explorer now use the settings you have configured as a default. The settings can be overridden when
adding a new remote queue manager.
Related tasks
“Configuring the client security details for a queue manager set” on page 160
The client security details and security exit can be defined for all the client-connected queue managers in
a queue manager set.
Related reference
“Default security preferences” on page 161
A security exit can be defined for all client connections in the same IBM MQ Explorer. This is known as a
default security exit and the preferences for the security exit are described here.
“Passwords preferences” on page 163
You can store passwords to a file so that you do not have to enter them every time you want to connect to
resources.
Procedure
1. In IBM MQ Explorer, click Window > Preferences.
The Preferences dialog opens.
2. Expand MQ Explorer.
3. Expand Client Connections. The default security settings dialogs are now accessible.
4. Select SSL Key Repositories to display the SSL Key Repositories pane.
5. In the Trusted Certificate Store field, browse for the location of the TrustStore on the computer, and
in Personal Certificate Store field, browse for the location of the KeyStore on the computer.
The TrustStore and KeyStore contain the TLS certificates that are used with connections using client
channel definition tables. It is possible that the TrustStore and KeyStore are in the same location on
your computer.
6. (Optional) Click Enter password... in the Trusted certificate Store section to open the SSL Password
dialog; in the SSL Password dialog, type the password that IBM MQ Explorer will need to access the
store.
7. Click Enter password... in the Personal Certificate Store section to open the SSL Password dialog; in
the SSL Password dialog, type the password that IBM MQ Explorer will need to access the store.
8. Click OK to save your changes and to close the Preferences dialog.
Results
IBM MQ Explorer can now use the TLS certificates in the TrustStore and KeyStore to connect to remote
queue managers with an TLS-enabled connection.
Related tasks
“Showing a remote queue manager” on page 82
Telemetry channels
A Telemetry channel is a communication link between a queue manager on IBM MQ, and MQTT clients.
Each channel might have one or more telemetry devices connected to it.
For messages flowing from IBM MQ to MQTT clients, messages are taken from the default MQTT transmit
queue, and sent through the telemetry channel. Messages destined for specific MQTT clients are routed to
them using their client identifiers.
Advanced option
Telemetry channels have an option which sets the maximum number of client connections that can be
displayed in the Channel Status Content view. This option is called Max responses. The default value
is 500. Consider configuring this option before you start your queue manager. If your queue manager is
running, you must restart it to apply the advanced option changes.
To configure the maximum responses option, perform the following actions:
1. Click Window > Preferences.
2. Expand IBM MQ Explorer, then click Telemetry.
3. In the Max responses field, type the number of client connections to display at any one time.
4. Click OK.
Client connections on all telemetry channels up to the maximum response limit are shown in the Channel
Status Content view. If client connections exceed this limit, a warning is displayed within the Content
view. For example, if you set the maximum responses to 10 and you reach or exceed this number, the
following warning is displayed: The display has been limited to the first 10 responses.
Use a filter to select a subset of responses.
The Telemetry channel status window shows client connections specific to that channel. The maximum
response option limit applies only to client connections on this channel.
Related tasks
“Creating and configuring a telemetry channel” on page 243
A telemetry channel connects a number of MQTT clients to IBM MQ. Create one or more telemetry
channels on a queue manager. Each of these telemetry channels might have different configuration
settings, making it easier to manage the clients attached to them.
“Starting and stopping a telemetry channel” on page 250
“Viewing the status of a telemetry channel” on page 251
“Filtering Telemetry objects” on page 252
Procedure
1. Click Window > Preferences to open the Preferences dialog.
2. In the navigation tree of the Preferences dialog, expand IBM MQ Explorer, then click Tests.
3. Select the Include hidden objects in the list of available objects check box.
Results
Next time you create or edit a test configuration, any hidden queue managers are listed as available queue
managers against which you can run the tests.
Procedure
1. Click Window > Preferences to open the Preferences dialog.
2. In the navigation tree of the Preferences dialog, expand IBM MQ Explorer, then click Tests.
3. Select the Include SYSTEM objects in the test results check box.
Results
Next time you run tests against objects in IBM MQ Explorer, any available SYSTEM objects are also tested.
Properties
Use this information to find out about the properties that you can view and edit, including properties
that apply to the whole IBM MQ installation and the properties of an individual IBM MQ object such as a
queue, a queue manager, or a channel.
In IBM MQ Explorer, right-click any IBM MQ object, for example, a queue, a queue manager, or a channel,
then click Properties to view and edit the object's properties. The properties are displayed in a properties
dialog that is divided into pages according to the type of the properties, for example, TLS, exits, and
clusters.
• Storage classes
IBM MQ properties
IBM MQ properties apply to the whole IBM MQ installation.
The following tables list the properties that you can set for IBM MQ:
• General
• Extended
• Exits
• Default log settings
• ACPI
• Alert monitor
• Configuration information
General page
The following table lists the properties that you can set on the General page of the Properties for IBM MQ
dialog.
Extended page
The following table lists the properties that you can set on the Extended page of the Properties for IBM
MQ dialog.
Log secondary files On AIX and Linux, type the number, from 1 to 509, of secondary LogSecondary
log files. The default value is 3. The total number of primary and Files
secondary log files must not exceed 511 and must not be less
than 3.
On Windows, type the number, from 1 to 253, of secondary log
files. The default value is 3. The total number of primary and
secondary log files must not exceed 255 and must not be less
than 3.
Log buffer pages Type the number, from 0 - 512, of 4KB buffer pages for writing. If LogBufferPage
you specify 0, the queue manager selects the number itself. s
If you type a number from 1 to 17, the minimum of 18 is used. If
you type a number from 18 - 512, that number of pages is used. If
you change the value of this property, restart the queue manager
to detect the change.
Log management The method used to manage your logs. LogManagement applies LogManageme
only when LogType is LINEAR. nt
If you change the LogManagement value, the change does not
take effect until the queue manager is restarted.
There are three options.
Manual, where you manage the log extents manually. Specifying
this option means that the queue manager does not reuse or
delete log extents, even when they are no longer required for
recovery.
Automatic, where log extents are managed automatically by the
queue manager. Specifying this option means that the queue
manager is able to reuse or delete log extents as soon as they
are no longer required for recovery. No allowance is made for
archiving.
Archive, where log extents are managed by the queue manager,
but you must notify the queue manager when archiving of each
log extent is complete.
Specifying this option means that the queue manager is free to
reuse or delete a log extent, as soon as the queue manager has
been notified that an extent no longer required for recovery has
been archived.
The default value is Manual.
ACPI page
The following table lists the properties that you can set on the ACPI page of the Properties for IBM MQ
dialog. ACPI (Advanced Configuration and Power® Interface) is an operating system feature that allows
the computer to detect certain activity states and consequently to hibernate, that is to switch itself into a
low power mode with no programs running, and in such a manner as to allow a quick "wake up".
When ACPI wants to put the computer into hibernation it first sends a suspend request to all applications.
To control how IBM MQ responds to this request, set the Do dialog property on the ACPI page.
Property Description
Install type Read-only. This property indicates whether you have
installed the Server or Client version of IBM MQ on this
computer.
mqjbnd05 loaded Read-only. This is the library that is required to
connect to local queue managers.
MQ Version Read-only. This is the version of IBM MQ installed on
this computer.
Build level Read-only. This is the build number of the IBM MQ
product that is installed on this computer.
Related tasks
“Configuring IBM MQ using IBM MQ Explorer” on page 12
In the Navigator view, you can use the Properties dialog to configure certain IBM MQ properties that
apply to the whole installation. If necessary, you can also configure the properties of individual queue
managers.
• Exits (Multiplatforms)
• Cluster
• Repository
• Communication
• Events
• SSL
• Statistics
• Online Monitoring
• Log (Multiplatforms)
• TCP (Multiplatforms)
• LU6.2 (Multiplatforms)
• SPX (Multiplatforms)
• Publish/Subscribe
Some of these properties pages are available only on Multiplatforms queue managers.
Properties pages that are not available on z/OS queue managers are indicated.
The properties that are marked with an asterisk (*) update configuration files so you can view and edit
them when the queue manager is stopped. If you edit the marked properties when the queue manager
is running, you must stop and restart the queue manager so that the changes take effect. You can
edit the unmarked properties only when the queue manager is running. For more information about the
configuration properties, see qm.ini file stanzas and attributes.
The following tables list the system parameters that you can set for remote z/OS queue
managers. These properties are not displayed in the Queue Manager properties dialog. They are included
here because they are still properties of the queue manager. For more information, see Configuring z/OS
queue manager system parameters.
• Archive (z/OS)
• Log (z/OS)
• Security (z/OS)
• Securityswitch (z/OS)
• System (z/OS)
For more information, see Administering IBM MQ and Administering IBM MQ using MQSC commands.
General
The following table lists the properties that you can set on the General page of the Queue Manager
properties dialog. The properties marked with an asterisk (*) on the General page relate to stanzas in the
configuration files.
The Startup property controls how the selected queue manager (Not
*Startup
is started. This property applies to Windows only. There are four applicable.)
options for the Startup property.
Select Automatic to start the queue manager automatically
when the IBM MQ Series service starts. This is the default value.
Select Automatic, permitting multiple instances of the queue
manager, to start the queue manager automatically when the IBM
MQ Series service starts. For more information, see the sax option
of CSQM507E.
Select Interactive (manual) to start the queue manager
manually through IBM MQ Explorer. The queue manager runs
under the logged on user (the interactive user). The queue
manager will automatically stop when the interactive user logs
off.
Select Service (manual) to start the queue manager manually
through IBM MQ Explorer. The queue manager runs as a child
of the MQ Services service. The queue manager will not
automatically stop when the interactive user logs off.
Command server control To configure the command server so that it starts automatically SCMDSERV
when the queue manager starts, click Queue Manager; to
configure the command server so that it does not start
automatically and must be started manually, click Manual.
Channel init control To configure the channel initiator so that it starts automatically SCHINIT
when the queue manager starts, click Queue Manager; to
configure the channel initiator so that it does not start
automatically and must be started manually, click Manual.
Extended
The following table lists the properties that you can set on the Extended page of the Queue
Manager properties dialog. The Default bind type property on the Extended page relates to the
DefaultBindType stanza key in the configuration files.
Command input queue Read-only. This is the name of the system-command input COMMANDQ
queue. Suitably authorized applications can put commands on
this queue.
Syncpoint Read-only. This property states whether syncpoint is available SYNCPT
with the queue manager. Syncpoint is always available on the
following platforms:
• z/OS
.
*Suppressed messages Type the time interval, in seconds, in which messages that are (Not
interval specified in the Suppressed Messages property will be written applicable.)
to the queue manager error log only once. The value must be 1 -
86400 seconds. The default value is 30 seconds.
Custom The Custom parameter is included for IBM use only, reserved CUSTOM
for the configuration of new features before separate properties
have been introduced. The possible values are a list of zero or
more properties-value pairs, in MQSC-style syntax, separated by
at least one space.
The property names and values are case-sensitive, and must
be specified in uppercase. The values can contain spaces,
parentheses and single-quotes (which must be escaped with
another single-quote). Other characters, including nested
parentheses (), can be included by enclosing them in two single-
quotes on either side. Examples of valid syntax are:
• CUSTOM('')
• CUSTOM('A(B)')
• CUSTOM('C(D) E(F)')
• CUSTOM('G(5000) H(''9.20.4.6(1415)'')')
The queue manager parses the value, but if the string cannot be
parsed according to these rules, or if it contains properties or
values that are not recognized, the queue manager ignores the
errors.
(z/OS only) Specifies the action taken when the queue manager CFCONLOS
Loss of
loses connectivity to the administration structure or any CF
coupling facility
structures with CFCONLOS set to As queue manager. The two
connectivity
options are:
• Terminate. This is the default value. The queue manager
terminates when connectivity to CF structures is lost.
• Tolerate. The queue manager tolerates a loss of connectivity
to CF structures and does not terminate. Tolerate can only
be set if all queue managers in the queue sharing group are at
command level 710 or later.
Exits (Multiplatforms)
The following table lists the properties that you can set on the Exits page of the Queue Manager
properties dialog. To configure the queue manager to run user exits, edit the properties on the Exits
page. The properties on the Exits page relate to stanzas in the configuration files.
Cluster
The following table lists the properties that you can set on the Cluster page of the Queue Manager
properties dialog. To configure the cluster properties of the queue manager, edit the properties on the
Cluster page.
Cluster workload data Type the data to be passed to the cluster workload exit when the CLWLDATA
exit is called. The maximum length of the data is 32 characters.
Cluster workload length Type the maximum number of bytes of message data that is CLWLLEN
passed to the cluster workload exit:
Max outbound cluster Type the maximum number of outbound cluster channels. For CLWLMRUC
channels more information, see Distributed queuing and clusters.
Cluster workload mode The cluster workload exit, CLWL, allows you to specify which CLWLMode
cluster queue in the cluster is to be opened in response to an
MQI call (for example MQOPEN or MQPUT). The default value
is SAFE, which means that the CLWL exit is run in a separate
process to the queue manager so that if there is a problem, the
integrity of the queue manager is preserved. However, running the
CLWL exit as a separate process can have a detrimental effect on
performance. To improve performance by running the CLWL exit
in the same process as the queue manager, click FAST. Use FAST
mode only if you are certain that there are no problems with your
CLWL exit because if there is a problem in FAST mode, the queue
manager fails and the queue manager's integrity is at risk. The
value set for the queue manager will override the value set for the
machine-wide configuration.
Repository
The following table lists the properties that you can set on the Repository page of the Queue Manager
properties dialog. To specify that the queue manager hosts the repository for one or more clusters, edit
the properties on the Repository page.
Communication
The following table lists the properties that you can set on the Communication page of the Queue
Manager properties dialog. To configure how the queue manager sends and receives messages, edit the
properties on the Communication page.
Channel authentication To exercise more precise control over the access granted to CHLAUTH
connecting systems at a channel level, you can use channel
authentication records. IBM MQ queue managers are created
using channel authentication by default.
Reverse lookup of host Controls whether reverse lookup of the host name from a Domain REVDNS
name Name Server (DNS) is done for the IP address from which a
channel has connected. This property only has an effect on
channels using a transport type (TRPTYPE) of TCP.
If you are using channel authentication rules with
CHLAUTH(ENABLED) and you have defined any rules that use a
DNS host name in the ADDRESS field of the rule, these rules will
never match an inbound channel if REVDNS is set to DISABLED.
Changes to this parameter take effect the next time a channel
starts up. Channels that have already obtained host name
information by reverse looking up an IP address retain this
information.
IP address version To specify that the queue manager uses the IPv6 protocol, click IPADDRV
IPV6; to specify that the queue manager uses the IPv4 protocol,
click IPV4.
Events
The following table lists the properties that you can set on the Events page of the Queue Manager
properties dialog. To configure the queue manager to generate events in response to certain criteria, edit
the properties on the Events page.
Performance events When a resource reaches a threshold condition, for example a PERFMEV
queue depth limit has been reached, the queue manager can
generate a performance event message. To generate performance
event messages, click Enabled; to prevent the queue manager
generating performance event messages, click Disabled.
Command events When an MQSC command or PCF command is executed CMDEV
successfully, the queue manager can generate command event
messages. To generate command event messages, click Enabled;
to prevent the queue manager generating command events,
click Disabled; to generate command event messages except
DISPLAY MQSC commands and Inquire PCF commands, click
No Display.
Channel events When the queue manager detects certain conditions on a CHLEV
channel, for example the channel starts or stops, the queue
manager can generate channel event messages. To generate
channel event messages, click Enabled; to prevent the queue
manager generating channel event messages, click Disabled.
SSL
The following table lists the properties that you can set on the SSL page of the Queue Manager properties
dialog. To configure the queue manager and its channels to use TLS security, edit the properties on the
SSL page.
Queue
sharing group certificate
label
Cryptographic hardware To configure your cryptographic hardware, click Configure In the SSLCRYP
Cryptographic hardware settings dialog, enter the details of your
cryptographic hardware.
SSL Reset Count Type the number of unencrypted bytes, from 0 to 999999999, SSLRKEYC
that are sent and received within an TLS conversation before the
secret key is renegotiated. A value of 0 means that the secret
key is never renegotiated. The number of bytes includes control
information that is sent by the message channel agent (MCA).
If the value of this property is greater than 0 and the value of
the Heartbeat interval property in the Channel properties is
greater than 0, the secret key is also renegotiated before message
data is sent or received following a channel heartbeat.
SSL FIPS required To specify whether only FIPS-certified cryptographic algorithms SSLFIPS
are to be used (if the cryptography is performed in IBM MQ
rather than cryptographic hardware), click Yes. To specify that
any cryptographic algorithm can be used, click No.
OCSP authentication The OCSP authentication setting dictates the outcome of a N/A
connection in the event of an 'Unknown' response from the OCSP
call.
• Required: IBM MQ rejects the connection.
• Optional: The connection is allowed to succeed.
• Warn: The connection is also allowed to succeed and IBM MQ
issues a message of type AMQ9717 into the error logs.
OCSP check extensions The OCSP check extensions property controls whether the OCSP N/A
server details in AuthorityInfoAccess certificate extensions, are
used to perform a digital revocation check. There are 2 possible
values for the property:
• Yes: A digital certificate revocation check is performed. This is
the default value.
• No: A digital certificate revocation check is not performed.
SSL HTTP proxy name The SSL HTTP proxy name is either the host name or network N/A
address of the HTTP proxy server which is to be used by GSKit for
OCSP checks. This address can optionally be followed by a port
number, enclosed in parentheses. If you do not specify the port
number, the default HTTP port, 80, is used.
Certificate validation The certificate validation policy property controls which TLS CERTVPOL
policy certificate validation policy is used to validate digital certificates
received from remote partners. There are two possible values for
the property:
• ANY
• RFC5280
Changes to this property take effect only after a refresh security
command has been issued. For information about how to refresh
security in the IBM MQ Explorer, see “Refreshing TLS security” on
page 168.
Statistics
The following table lists the properties on the Statistics page of the Queue Manager properties dialog.
The Statistics page displays the information about the history of the queue manager. You cannot edit any
of these properties.
Online monitoring
The following table lists the properties that you can set on the Online monitoring page of the Queue
Manager properties dialog. To collect data about the current performance of the queue manager's
channels and queues, edit the properties on the Online monitoring page.
The following table lists the properties that you can set on the Statistics monitoring page of the Queue
Manager properties dialog. To collect statistical data on the activity of the queue manager, edit the
properties on the Statistics monitoring page.
For z/OS Statistics monitoring settings, see “Statistics monitoring (z/OS)” on page 350.
The following table lists the properties that you can set on the Accounting monitoring page of the Queue
Manager properties dialog. To collect data about the activity of a connection, edit the properties on the
Accounting monitoring page.
Log (Multiplatforms)
The following table lists the properties that you can set on the Log page of the Queue Manager properties
dialog. To configure the log settings for the queue manager, edit the properties on the Log page. The
properties on the Log page relate to stanzas in the configuration files.
*Log secondary files These are the log files that are allocated when the primary files LogSecondary
are exhausted. Files
*Log buffer pages Type the number, from 0 to 4096, of 4 KB buffer pages for writing. LogBufferPage
If you type a number from 1 to 17, the minimum of 18 (72 KB) s
is used. If you type a number from 18 to 4096, that number of
pages is used. If you type 0, the queue manager selects the size.
*Log write integrity This is the method that the logger uses to reliably write log LogWriteIntegr
records. If you are using a non-volatile write cache (for example, ity
ssa write cache enabled), it is safe for the logger to write log
records in a single write, so click SingleWrite; if you need to
write log records with more integrity, click DoubleWrite to use an
additional write; if you need to write log records with complete
integrity but at the cost of performance, click TripleWrite to use
another additional write.
The following table lists the properties that you can set on the XA resource manager page of the Queue
Manager properties dialog. The XA resource manager page displays properties to edit if the queue
manager coordinates its own units of work along with database updates; for example, the name of the
resource manager (the database) and the location of the switch file, which helps IBM MQ communicate
with the database. The properties on the XA resource manager page relate to the XAResourceManager
stanza in the configuration files.
The following table lists the properties on the Installable services page of the Queue Manager properties
dialog. The Installable services page displays information about the installable services installed on your
computer. By default, only the authorization service, OAM, is shown. The properties on the Installable
services page relate to the Service stanza in the configuration files. For more information, see
Configuring services and components.
Channels
The following table lists the properties that you can set on the Channels page of the Queue Manager
properties dialog. To configure the behavior of the queue manager's channels, edit the properties on the
Channels page.
*Max active channels Type the maximum number of channels that can be active at any MaxActiveCha
one time. The default is the value specified for the MaxChannels nnels
property.
*Max initiators Type the maximum number of initiators allowed. The default and MaxInitiators
maximum value is 3.
*MQI bind type Select the type of connection that channels use to connect MQBindType
to applications. To connect using a standard connection, click
STANDARD; to connect without using an agent process, click
FASTPATH.
*Adopt new MCA This property specifies whether an orphaned MCA instance is AdoptNewMCA
adopted (restarted) when a new inbound channel request is Type
detected that matches the value of the Adopt new MCA check
property.
To adopt all channel types, type All. If a FASTPATH channel
cannot be safely ended, it is not ended and the adoption fails.
If you do not require orphaned channels to be adopted, type No.
*Adopt new MCA check This property specifies which elements are checked to determine AdoptNewMCA
whether an MCA should be adopted when a new inbound channel Check
is detected with the same name as an already active MCA. Type
one or more of the following values separated by commas:
• To check the queue manager name and the network address to
prevent your channels from being inadvertently shut down, type
ALL
• To check the network address, type ADDRESS
• To check the queue manager name, type NAME
• To check the user ID that the queue manager is running under,
type QM
• To do no checking, type NONE
*Adopt new MCA timeout Type the number of seconds, from 1 to 3600, that the new AdoptNewMCA
process must wait for the old process to end. The default value is Timeout
60.
TCP (Multiplatforms)
The following table lists the properties that you can set on the TCP page of the Queue Manager properties
dialog. If the queue manager uses the TCP/IP transport protocol to communicate with other queue
managers, edit the properties on the TCP page. The properties on the TCP page relate to stanzas in the
configuration files.
*TCP library 1 Type the name of the TCP/IP socket's DLL. The default is Library1
WSOCK32.
*TCP library 2 If there are two TCP/IP sockets, type the name of the second Library2
TCP/IP socket's DLL; if there is only one TCP/IP socket, type the
same name as for the TCP library 1 property. The default is
WSOCK32.
*TCP keepalive TCP can check periodically that the other end of the connection KeepAlive
is still available. If the connection is not still available, the
connection is closed. To configure TCP to perform these checks,
click YES; to prevent TCP performing these checks, click NO. The
default is YES.
*TCP listener backlog Type the maximum number of outstanding connection requests. ListenerBackL
The default value is -1 which resolves to the default value on the og
operating system.
LU6.2 (Multiplatforms)
The following table lists the properties that you can set on the LU6.2 page of the Queue Manager
properties dialog. If the queue manager uses the LU 6.2 transport protocol to communicate with other
queue managers, edit the properties on the LU6.2 page. The properties on the LU6.2 page relate to
stanzas in the configuration files.
NetBIOS (Multiplatforms)
The following table lists the properties that you can set on the NetBIOS page of the Queue Manager
properties dialog. If the queue manager uses the NetBIOS transport protocol to communicate with other
SPX (Multiplatforms)
The following table lists the properties that you can set on the SPX page of the Queue Manager
properties dialog. If the queue manager uses the SPX transport protocol to communicate with other
queue managers, edit the properties on the SPX page. The properties on the SPX page relate to stanzas in
the configuration files.
Publish/Subscribe
The following table lists the properties that you can set on the Publish/Subscribe page of the Queue
Manager properties dialog. The Publish/Subscribe page replaces the cfgmqbrk application that was
supplied with previous versions of IBM MQ. To configure the queue manager for publish/subscribe
messaging, edit the properties on the Publish/Subscribe page. The properties on the Publish/Subscribe
page relate to stanzas in the configuration files. For more information about the individual stanzas, see
Configuring services and components.
Message Retry Count The number of times that the channel retries to connect to the MRRTY
remote queue manager before it decides that it cannot deliver
the message to the remote queue. This property controls the
action of the MCA only if the Message retry exit name property
is blank. If the Message retry exit name property is not blank,
the value of the Message retry count property is passed to the
exit for the exit's use but the number of times that the channel
retries to connect is controlled by the exit, not by the Message
retry count property. The maximum value is 999999999, and the
default value is 5.
Publish/Subscribe This option defines whether messages will be processed under PSSYNCPT
syncpoint syncpoint. The two options are:
If persistent. The message is processed under syncpoint if
the message is persistent. This is the default value.
Yes. All messages are processed under syncpoint.
Undelivered non- This property defines what the Pub/Sub engine should do with PSNPMSG
persistent input message non-persistent input messages that are not delivered. The two
options are:
Discard. The undelivered non-persistent message is discarded.
This is the default value.
Keep. The undelivered non-persistent message is not discarded.
The Pub/Sub Engine will continue to retry to process this
message at appropriate intervals and does not continue
processing subsequent messages.
Tree lifetime The lifetime, in seconds of non-administrative topics. When this TREELIFE
non-administrative node no longer has any active subscriptions,
this parameter determines how long the queue manager will wait
before removing that node.
Only non-administrative topics that are in use by a durable
subscription remain after the queue manager is recycled. Specify
a value in the range 0 through 604000. A value of 0 means that
non-administrative topics are not removed by the queue manager.
The queue manager's initial default value is 1800.
Parent The name of the parent queue manager to which the local queue PARENT
manager is to connect as its child in a hierarchy. If the field
is left empty, then the queue manager has no parent queue
manager, and if there is an existing parent queue manager it is
disconnected.
Before a queue manager can connect to a queue manager as
its child in a hierarchy, channels must exist in both directions,
between the parent queue manager and the child queue manager.
Publish exit path The module name containing the publish exit code. The maximum N/A
length of this field is 128 characters. The default is no publish
exit.
Publish exit function The name of the function entry point into the module containing N/A
the publish exit code. The maximum length of this field is 128
characters.
Publish exit data If the queue manager is using a publish exit, it invokes the exit N/A
passing an MQPSXP structure as input. The data specified using
this property is provided in the ExitData field. The maximum
length of this field is 128 characters. The default is 32 blank
characters.
Archive (z/OS)
The following table lists the queue manager's system log archive properties, or parameters, which are
displayed in the Initial table of the queue manager's Archive dialog. The values in the Initial table were
applied when the queue manager loaded the system parameter module at startup. You can temporarily
change and override some of the values while the queue manager is running; the new values are
displayed in the Set table. The parameters that you can override are marked with an asterisk (*). For
details of the properties in the Archive tape record table, see Archive tape.
The equivalent MQSC property for the SET ARCHIVE command is shown for each parameter. For more
information about the SET ARCHIVE command, see SET ARCHIVE.
The following table lists the archive tape properties, which are used in the queue manager's archive tape
records. The archive tape records are listed in the Archive tape records table in the queue manager's
Archive dialog. You cannot edit these values.
Parameter Meaning
Parameter type This property shows which type of information is
displayed in the table. The Initial table displays
the initial values that were applied when the queue
manager loaded the system parameter module at
startup. The Set table displays any values that have
been manually overridden since the queue manager
started.
Tape unit address The physical address of the tape unit that is allocated
to read the archive log.
Tape unit status The status of the tape unit. Busy means that the tape
unit is busy actively processing an archive log data
set; Premount means that the tape unit is active and
allocated for premounting; Available means that the
tape unit is available, inactive, and waiting for work;
Unknown means that the status of the tape unit is
unknown.
Log correlation ID The correlation ID associated with the user of the tape
that is being processed. This is blank if there is no
current user.
Tape volume serial number The volume serial number of the tape that is mounted.
Data set name The data set name on the tape volume that is being
processed, or was last processed.
The following table lists the properties that you can set on the Statistics monitoring page of the Queue
Manager properties dialog. To collect statistical data on the activity of the queue manager, edit the
properties on the Statistics monitoring page.
The following table lists the properties that you can set on the Accounting monitoring page of the Queue
Manager properties dialog. To collect data about the activity of a connection, edit the properties on the
Accounting monitoring page.
Log (z/OS)
*Maximum number of log Specify the maximum number of archive log volumes that can be MAXARCH
archives recorded in the BSDS.
*Maximum number of Specify the maximum number of dedicated tape units that can MAXRTU
tape units be allocated to read archive log tape volumes. This overrides
the value for MAXRTU set by CSQ6LOGP in the archive system
parameters. This, together with the Deallocation interval
property, allows IBM MQ to optimize archive log reading from
tape devices.
Input buffer size Specifies the size of input buffer storage for active and archive log INBUFF
data sets.
Output buffer size Specifies the size of output buffer storage for active and archive OUTBUFF
log data sets.
*Output buffer count Specifies the number of output buffers to be filled before they are WRTHRSH
written to the active log data sets.
Log archive Specifies whether archiving is on or off. Yes means that archiving OFFLOAD
is on; No means that archiving is off.
Dual logging used Specifies whether dual logging is being used. Yes means that dual TWOACTV
logging is being used; No means that dual logging is not being
used.
The following table lists the log copy properties, which are used in the queue manager's log copy records.
The log copy records are listed in the Log copy records table in the queue manager's Log dialog. You
cannot edit these values.
Parameter Meaning
Log copy number The number of the copy.
Log used The percentage of the active log data set that has
been used.
Data set name The data set name of the active log data set. If the
copy is not currently active, this is returned as blank.
zHyperWrite capable Whether the log data set is capable of being written
to, using zHyperWrite. You need to enable the queue
manager for zHyperWrite for this to occur.
Security (z/OS)
The following table lists the queue manager's system-wide security properties, or parameters. You can
change two of the values; the parameters that you can change are marked with an asterisk (*). For details
of the properties in the Security switch table, see Security switch.
The equivalent MQSC property for the ALTER SECURITY command is shown for each parameter. For more
information about the ALTER SECURITY command, see ALTER SECURITY.
The following table lists the security switch properties, which are used in the queue manager's security
switch messages. The security switch messages (one per security switch) are listed in the Security
switch table in the queue manager's Security dialog. You cannot edit these values.
Parameter Meaning
Security switch The name of the security switch.
Security setting The current setting of the security switch, and whether
the profile that caused the setting is present. For
example, the security switch could be set off because
the relevant profile was not found.
Security profile The name of the profile that caused the current
security setting.
System (z/OS)
The following table lists the queue manager's system properties, or parameters, which are displayed in
the Initial table of the queue manager's System dialog. The values in the Initial table were applied when
the queue manager loaded the system parameter module at startup. You can temporarily change and
override some of the values while the queue manager is running; the new values are displayed in the Set
table. The parameters that you can override are marked with an asterisk (*).
The equivalent MQSC property for the DISPLAY SYSTEM command is shown for each parameter. For more
information about the DISPLAY SYSTEM command, see DISPLAY SYSTEM.
Command user ID Specifies the default user ID for command security checks. CMDUSER
*Excluded operator A list of messages excluded from being written to any log. EXCLMSG
messages
Exit interval Specifies the time, in seconds, for which queue manager exits can EXITLIM
execute during each invocation.
Exit tasks Specifies how many started server tasks to use to run queue EXITTCB
manager exits.
From IBM MQ for z/OS 9.3 specify the seconds portion of the ACCTIME
*SMF
ACCTIME interval as a value between 00 and 59. You should
accounting interval
set this value alongside SMF accounting interval minutes or the
seconds
minutes value defaults to 0.
Changes to this parameter take effect when the current interval
expires, unless the new interval is less than the unexpired portion
of the current interval, in which case accounting data is gathered
immediately and the new interval then takes effect.
From IBM MQ for z/OS 9.3, specify the interval, in minutes from 0 STATIME
*SMF
to 1440, between consecutive gatherings of statistics data.
statistics interval minutes
If you specify a value of 0, statistics data is collected at the SMF
data collection broadcast. You should set this value alongside
SMF statistics interval seconds or the seconds value defaults to 0.
If you want to use the SMF data collection broadcast interval,
then ensure both this value and SMF statistics seconds are set to
0.
Changes to this parameter take effect when the current interval
expires, unless the new interval is less than the unexpired portion
of the current interval, in which case accounting data is gathered
immediately and the new interval then takes effect.
From IBM MQ for z/OS 9.3, specify the seconds portion of the STATIME
*SMF
STATIME interval as a value between 00 and 59. You should
statistics interval seconds
set this value alongside SMF statistics interval minutes, or the
minutes value defaults to 0.
Changes to this parameter take effect when the current interval
expires, unless the new interval is less than the unexpired portion
of the current interval, in which case accounting data is gathered
immediately and the new interval then takes effect.
Trace classes Specifies the classes for which tracing is started automatically. TRACSTR
Security policies Indicates whether the security capabilities of Advanced Message SPLCAP
Security are available.
Maximum ACE pool size The maximum size of the ACE storage pool in KB in the range 0 ACELIM
(KB) - 999 999. An ACE is required for each connected application,
and some types of application require extra ACEs for processing.
Internal queue manager threads also require them. The ACE
storage pool is allocated in ECSA. For queue managers that use a
large quantity of ECSA storage, the ECSA storage allocation grows
linearly with the size of the ACE storage pool. A value of zero for
this parameter means that there is no limit on the size of the ACE
storage pool. In extreme circumstances, the ACE storage pool can
use all of the available ECSA storage, resulting in a system outage
for the LPAR.
Related tasks
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
Related reference
“Strings in property dialogs” on page 553
General page
The following table lists the properties you can set on the General page of the Queue properties dialog.
Extended page
The following table lists the properties you can set on the Extended page of the Queue properties dialog.
Definition type For local queues, this property is read-only: Predefined means DEFTYPE
that the queue was created by an operator or an authorized
application sending a command message to the service queue;
Permanent dynamic means that the queue was created by an
application issuing an MQOPEN call with the name of a model
queue specified in the object descriptor (MQOD) and the queue
is permanent; Temporary dynamic means that the queue was
created by an application issuing an MQOPEN call, but the queue
is temporary; Shared dynamic (z/OS only) also means that the
queue was created by an application issuing an MQOPEN call,
but the queue is permanent and has the queue sharing group
disposition of Shared.
For model queues, this property is editable; To specify that a
permanent dynamic queue is created from this model queue,
select Permanent dynamic (on z/OS, the dynamic queue has
a disposition of Queue manager); to specify that a temporary
dynamic queue is created, select Temporary dynamic (on z/OS,
the dynamic queue has a disposition of Queue manager); on
z/OS only, to specify that a permanent dynamic queue is created
with a disposition of Shared, select Shared dynamic.
Default put response type The default response type for message puts. To specify that the DEFPRESP
response is put synchronously, select Synchronous. To specify
that the response is put asynchronously, select Asynchronous.
Distribution lists To allow distribution list messages to be put on the queue, select DISTL
Enabled. To prevent distribution list messages being put on the
queue, select Disabled.
Cluster channel names Set the Cluster channel names parameter on a cluster CLCHNAME
transmit queue to override the default association of cluster-
sender channels with cluster transmission queues. You can
specify which cluster-sender channels transfer messages from
this transmission queue.
The default is for all cluster-sender channels to transfer
messages from a single cluster transmission queue,
SYSTEM.CLUSTER.TRANSMIT.QUEUE. You can change the
default for the queue manager, so that all cluster-sender channels
transfer messages from separate transmission queues. The
queue manager property is Default cluster transmission
queue. The queue manager creates separate transmission
queues automatically, when they are required. The queue
manager does not set the Cluster channel name parameter
Set the Cluster channel names parameter to the name
of a single cluster-sender channel, or to a generic name. A
generic name associates multiple cluster-sender channels with
this transmission queue. A generic name has wildcard characters,
"*", in any positions in the name. All cluster-sender channels that
match the name transfer messages from this transmission queue
and no other.
On z/OS, if this parameter is set, the queue must be shareable, be
indexed by correlation ID, and must not be a dynamic or a shared
queue.
Cluster page
The following table lists the properties you can set on the Cluster page of the Queue properties dialog. To
share the queue in one or more clusters, edit the properties on the Cluster page.
Triggering page
The following table lists the properties you can set on the Triggering page of the Queue properties
dialog. To configure the queue for triggering, edit the properties on the Triggering page.
Events page
The following table lists the properties you can set on the Events page of the Queue properties dialog.
To configure the queue manager to generate events in response to certain criteria on the queue, edit the
properties on the Events page.
Storage page
The following table lists the properties you can set on the Storage page of the Queue properties dialog.
To configure how IBM MQ deals with messages that are backed out, edit the properties on the Storage
page.
Queue statistics You can configure IBM MQ to collect statistics data about STATQ
the activity of the queue. To inherit the value of the queue
manager's Queue statistics property (see “Queue manager
properties” on page 315), select Queue manager. If the queue
manager's Queue statistics property is None, the queue's
Queue statistics property is ignored. If the queue manager's
Queue statistics property is not None: to override the
queue manager's settings and prevent data collection for this
queue, select Off; to override the queue manager's settings and
collect data, select On. For more information, see Monitoring and
performance.
Related concepts
“IBM MQ queues” on page 15
A queue is a container for messages. Business applications that are connected to the queue manager that
hosts the queue can retrieve messages from the queue or can put messages on the queue.
Related tasks
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
“Forcing changes to queue properties” on page 38
If the changes that you are making to the properties of a queue affect the operation of a queue manager
or another program, you might be asked to confirm whether you want to force the changes to the queue
properties.
Related reference
“Strings in property dialogs” on page 553
To include certain characters in a string, you must punctuate the string in a particular way.
“Topic properties” on page 391
An IBM MQ topic is an IBM MQ object that identifies what a publication is about. You can set properties
for topics. Some topic properties are specific to z/OS topics. Also, there are some properties that you can
alter only while you are creating a topic. You cannot modify these properties after the IBM MQ topic has
been created.
JMS Destination properties
You can view and set destination properties in the Destination properties dialog. The properties that are
available in the dialog depend on the type of destination.
Channel properties
You can set properties for all types of channels, including client-connection channels. Some properties
are specific to certain types of channel.
The following tables list all the properties that you can set:
• General
• Extended
• MCA
• Exits
• LU6.2
• Retry
• Message retry
• Cluster
General page
The following table lists the properties that you can set on the General page of the Channel properties
dialog.
Transmission queue Type the name of the transmission queue that corresponds to the XMITQ
queue manager at the receiver end of the channel.
Local communication If the channel uses TCP/IP and you want the channel to LOCLADDR
address use a particular IP address, port, or port range for outbound
communications, type the local communications address for
the channel. The channel binds to the address locally.
Use the format ipaddress(low-port, high-port), where
ipaddress is the IP address specified in IPv4 dotted decimal,
IPv6 hexadecimal, or alphanumeric host name format. For
example, 192.0.2.0 specifies the IPv4 address with any port;
192.0.2.0(1000) specifies the IPv4 address and a specific
port; 192.0.2.0(1000,2000) specifies the IPv4 address and
a range of ports; (1000) specifies a port only.
Cluster-sender channels: If you type a value in the Local
communication address field of a manually defined cluster-
sender channel, this value is overwritten with the values in the
full repository's cluster-receiver channel when communication
is established with the full repository queue manager. As well
as specifying the value in the manually defined cluster-sender
channel, you must write a channel auto-definition exit to force the
value of the Local communication address property into any
automatically defined cluster-sender channels.
Overall channel status Read-only. This is the status of the channel. STATUS
Extended page
The following table lists the properties that you can set on the Extended page of the Channel Properties
dialog.
– AIX
– IBM i
– Windows
– VSE/ESA
• On other Multiplatforms, the value must be greater than or
equal to zero, and less than or equal to 4,194,304 bytes.
Heartbeat interval Type the length of the heartbeat interval, which can be 0 - HBINT
999999. A value of zero means that no heartbeat exchange takes
place. Set the value to be less than the value of the Disconnect
interval property. The value that is used is the larger of the
values specified at the sending side and the receiving side. The
heartbeat interval is the time, in seconds, between heartbeat
flows passed from the sending MCA when there are no messages
on the transmission queue. The heartbeat exchange gives the
receiving MCA the opportunity to quiesce the channel.
Maximum instances per This parameter is used on server-connection channels. Maximum MAXINSTC
client instances per client specifies the maximum number
of simultaneous instances of an individual server-connection
channel which can be started from a single client. In this context,
connections originating from the same remote network address
are regarded as coming from the same client.
The value can be a number 0 - 999999999. The default value is
999999999
A value of zero means that all client access is prevented.
Maximum instances differs from Maximum instances per
client in that Maximum instances is the maximum amount
of connections, but Maximum instances per client is the
maximum amount of connections that each client is allowed to
connect to the server.
Keep alive interval Type the length of the keep alive interval, 0 - 99999. This KAINT
property is ignored if the channel uses a transport type other than
TCP or SPX. The TCP Keep alive property must be set to Yes
on the Channels page of the Queue manager properties.
Non-persistent message To specify that nonpersistent messages on a channel are not NPMSPEED
speed transferred within a transaction, select Fast. This means that
nonpersistent messages become available for retrieval far more
quickly than if they are part of a transaction. However, because
the nonpersistent messages are not part of a transaction,
they might be lost if, for example, the channel stops while
the messages are in transit. To prevent this happening, select
Normal.
Batch size Type the maximum number of messages to be sent before BATCHSZ
syncpoint is taken. The messages are always transferred
individually but are committed or backed out as a batch. Try the
default batch size of 50 and change the value only if you need to.
Message compression Click Edit to open the Edit Message Compression dialog. Select COMPMSG
the message compression techniques that are supported by the
channel definition in order of preference. The first technique that
is supported by the other end of the channel is used. None
means that no message compression is performed; RLE means
that message data compression is performed using run-length
encoding; ZLIBFAST means that message data compression
is performed using the zlib compression technique and a fast
compression time is preferred; ZLIBHIGH means that message
data compression is performed using the zlib compression
technique and a high level of compression is preferred; ANY
means that any compression technique that is supported by
the queue manager can be used. For more information, see
Distributed queueing and clusters.
Header compression Click Edit to open the Edit Header Compression dialog. Select COMPHDR
the header compression techniques that are supported by the
channel definition in order of preference. The first technique that
is supported by the other end of the channel is used. None
means that no header compression is performed; System means
that header compression is performed. For more information, see
Distributed queueing and clusters.
Batch interval Type the number of milliseconds, 0 - 999999999, during which BATCHINT
the channel keeps a batch open even if there are no messages on
the transmission queue.
Use dead-letter queue Specifies whether the dead-letter queue is used when messages USEDLQ
cannot be delivered by channels. There are two possible values:
(Not on Client-
connection channels, • No means that messages that cannot be delivered by a channel
Server-connection are treated as a failure, and the channel either ends in
channels, or Telemetry accordance with the setting of Non-persistent message speed,
channels) or discards the messages.
• Yes means that if the queue manager Dead-letter queue
property provides the name of a Dead Letter Queue, then it is
used. Otherwise the behavior is as for No.
Port Specifies the port for the AMQP connection. The default port for PORT
AMQP 1.0 connections is 5672. If you are already using port
(On AMQP channels only)
5672, you can specify a different port.
Use client ID Specifies that the client ID is used for connection on an AMQP USECLTID
channel. Is set to Yes or No.
(On AMQP channels only)
AMQP keep alive Specifies the keep alive time in milliseconds. If the AMQP client AMQPKA
has not sent any frames within the keep alive interval, the
(On AMQP channels only)
connection is closed with a amqp:resource-limit-exceeded
AMQP error condition.
Specifies the name of the model queue to be used while creating TMPMODEL
Temporary
a temporary queue (maximum length 48 characters).
Model Queue
The default is SYSTEM.DEFAULT.MODEL.QUEUE.
(On AMQP channels only)
The temporary queue name prefix to add to the beginning of the TMPQPRFX
Temporary
model queue when deriving a temporary queue name (maximum
Queue Prefix
length 32 characters).
(On AMQP channels only)
The default is AMQP.*
MCA page
The following table lists the properties that you can set on the MCA page of the Channel properties
dialog. To configure how the Message Channel Agent (MCA) for this channel runs, edit the properties on
the MCA page.
• 64 characters on Windows.
For channels with a CHLTYPE of AMQP, before IBM MQ 9.2.0,
the MCAUSER user ID setting is only supported for user IDs up
to 12 characters in length. From IBM MQ 9.2.0, the 12 character
limit is removed.
• 12 characters on platforms other than Windows.
MCA type To specify that the message channel agent (MCA) program runs MCATYPE
as a thread, select Thread; to specify that the MCA runs as a
process, select Process.
MCA name Read-only. You cannot edit this property because the MCA name MCANAME
is reserved and must only be set to blanks.
Exits page
The following table lists the properties that you can set on the Exits page of the Channel properties
dialog. To configure the channel to run user exits, edit the properties on the Exits page.
Send exit user data Type the data (maximum 32 characters) to be passed to the SENDDATA
channel send exit when the send exit program is called:
Receive exit user data Type the data (maximum 32 characters) to be passed to the RCVDATA
channel receive exit when the receive exit program is called:
Security exit user data Type the data (maximum 32 characters) to be passed to the SCYDATA
channel security exit when the channel security exit is called.
Message exit name Click Edit to open the Edit Message Exit Name dialog. Add the MSGEXIT
names of your message exit programs:
LU6.2 page
The following table lists the properties that you can set on the LU6.2 page of the Channel properties
dialog. If the channel uses the LU 6.2 transport protocol, edit the properties on the LU6.2 page.
Retry page
The following table lists the properties that you can set on the Retry page of the Channel properties
dialog. To configure how the channel behaves if the channel cannot connect to the remote queue
manager, edit the properties on the Retry page.
Message retry exit user Type the data (maximum 32 characters) that is passed to the MREXIT
data channel message retry exit when the channel message retry exit
is called.
Cluster page
The following table lists the properties that you can set on the Cluster page of the Channel properties
dialog. To share the channel in one or more clusters, edit the properties on the Cluster page.
Note: Specify the cluster channel properties on the cluster-receiver channels at the target queue
managers. Any properties you specify on the matching cluster-sender channels are likely to be ignored.
See Cluster channels.
SSL page
The following table lists the properties that you can set on the SSL page of the Channel properties dialog.
To configure the channel to use SSL security, edit the properties on the SSL page.
Authentication of parties To specify that the channel must receive and authenticate an SSLCAUTH
initiating connections TLS certificate from an TLS client, select Required; to specify
that the channel is not required to receive and authenticate an
TLS certificate from an TLS client, select Optional; if you select
Optional and the peer TLS client sends a certificate, the channel
authenticates the certificate as normal.
Peer Issuer Name Certificate issuer Distinguished Name filter. This field contains a SSLCERTI
Distinguished Name filter which matches the Issuer DN of the
remote peer personal certificate. Peer Issuer Name is a key field
in the SSL Peer Map, that is, is used to match channel authority
records for inbound channel connections.
Accept only certificates Type the value of the Distinguished Name on the certificate from SSLPEER
with Distinguished Names the peer queue manager or client at the other end of the IBM MQ
matching these values channel. When the channel starts, the value of this property is
compared with the Distinguished Name of the certificate.
Accept only certificates This channel authentication record maps TLS Distinguished SSLPEERMAP
with Distinguished Names Names (DNs) to MCAUSER values. The SSLPEERMAP parameter
matching these values must be accompanied by an SSLPEER.
Affinity The channel affinity property is used so client applications that AFFINITY
connect multiple times using the same queue manager name can
choose whether to use the same client channel definition for each
connection. Use this property when multiple applicable channel
definitions are available. The possible values are:
PREFERRED. This is the default value. The first connection in a
process reading a client channel definition table (CCDT) creates a
list of applicable definitions based on the client channel weight,
with any definitions having a weight of 0 first and in alphabetical
order. Each connection in the process attempts to connect using
the first definition in the list. If a connection is unsuccessful
the next definition is used. Unsuccessful definitions with client
channel weight values other than 0 are moved to the end of the
list. Definitions with a client channel weight of 0 remain at the
start of the list and are selected first for each connection. Each
client process with the same host name creates the same list.
NONE. The first connection in a process reading a CCDT creates a
list of applicable definitions. All connections in a process select
an applicable definition based on the client channel weight, with
any definitions having a weight of 0 selected first in alphabetical
order.
Statistics page
The following table lists the properties that you can set on the Statistics page of the Channel properties
dialog. To configure the channel to collect monitoring or statistics data, edit the properties on the
Statistics page.
Related tasks
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
Related reference
“Strings in property dialogs” on page 553
To include certain characters in a string, you must punctuate the string in a particular way.
Listener properties
You can set properties for all types of listeners. Some properties are specific to certain types of listener.
The following table lists all the properties that you can set.
For each property, there is a brief description of when you might need to configure the property.
The tables also give the equivalent MQSC parameter for the DEFINE, ALTER and DISPLAY LISTENER
commands. For more information about MQSC commands, see Administering IBM MQ using MQSC
commands.
General page
The following table lists the properties that you can set on the General page of the Listener properties
dialog.
Z/OS listener properties cannot be altered once the listener has been defined. The properties are set
when you add a new z/OS listener.
Related tasks
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
Related reference
“Strings in property dialogs” on page 553
To include certain characters in a string, you must punctuate the string in a particular way.
Topic properties
An IBM MQ topic is an IBM MQ object that identifies what a publication is about. You can set properties
for topics. Some topic properties are specific to z/OS topics. Also, there are some properties that you can
alter only while you are creating a topic. You cannot modify these properties after the IBM MQ topic has
been created.
The following tables list all the properties for IBM MQ Topics.
For each property, there is a brief description of when you might need to configure the property. The
tables also give the equivalent MQSC parameters for the DEFINE, ALTER and DISPLAY TOPIC commands.
For more information about MQSC commands, see Administering IBM MQ using MQSC commands.
General
The following table lists the properties on the General page of the IBM MQ Topic Properties dialog.
Topic type This value is read only. This value defines whether the topic is N/A
local; Local, or in a cluster; Cluster.
Topic String This value cannot be changed after the topic has been created. TOPICSTR
This parameter is required and cannot contain an empty string.
The / character within this string has special meaning. It delimits
the elements in the topic tree. A topic string can start with
the / character but is not required to. A string starting with the /
character is not the same as the string which starts without the /
character.
Topic String must not be the same as any other topic string
already represented by another topic object definition. The
maximum length of a topic string is 10 240 characters.
Subscribe This property controls whether messages can subscribe to the SUB
topic. The default value is As parent. The 2 other options
available are:
Allowed which means that subscriptions can me made to the
topic by an authorized application.
Inhibited which means that applications cannot subscribe to
the topic.
Default priority The default priority of messages published to the topic. The DEFPRTY
default value is As parent.
The default priority can be set from 0 (the lowest priority) to 9
(the highest priority)
Default persistence The default persistence of a new topic is As parent. Select DEFPSIST
Persistent to specify that messages created by applications
that use MQPER_PERSISTENCE_AS_Q_DEF become persistent.
Select Not Persistent to specify that messages created by
applications that use MQPER_PERSISTENCE_AS_Q_DEF become
nonpersistent.
Model durable queue This value is a string entered by the administrator. It contains MDURMDL
the name of the model queue used for durable subscriptions that
request that the queue manager manages the destination of its
publications.
A maximum of 48 characters are allowed for the name.
If this field is blank, then it is treated as As parent
If you are specifying a model queue for a clustered topic, you
must ensure that the queue is defined on every queue manager
in the cluster where a durable subscription using this topic can be
made.
The dynamic queue created from this model has a prefix of
SYSTEM.MANAGED.DURABLE
Model non-durable queue This value is a string entered by the administrator. It contains the MNDURMDL
name of the model queue used for nondurable subscriptions that
request that the queue manager manages the destination of its
publications.
A maximum of 48 characters are allowed for the name.
If this field is blank, then it is treated as As parent
If you are specifying a model queue for a clustered topic, you
must ensure that the queue is defined on every queue manager in
the cluster where a non-durable subscription using this topic can
be made.
The dynamic queue created from this model has a prefix of
SYSTEM.MANAGED.NDURABLE
Non-persistent message The delivery method for non-persistent messages published to NPMSGDLV
delivery this topic. The 4 options are:
As parent The delivery mechanism used is based on the setting
of the first parent administrative node found in the topic tree
relating to this topic. This is the default supplied with IBM MQ, but
your installation might have changed it.
To all available subscribers Non-persistent messages
are delivered to all subscribers that can accept the message.
Failure to deliver the message to any subscriber does not prevent
other subscribers from receiving the message.
To all durable subscribers Non-persistent messages
must be delivered to all durable subscribers. Failure to deliver a
non-persistent message to any non-durable subscribers does not
return an error to the MQPUT call. If a delivery failure to a durable
subscriber occurs, no other subscribers receive the message and
the MQPUT calls fails.
To all subscribers Non-persistent messages must be
delivered to all subscribers, irrespective of durability for the
MQPUT call to report success. If a delivery failure to any
subscriber occurs, no other subscribers receive the message and
the MQPUT call fails.
Wildcard operation This value controls the behavior of wildcard subscriptions with WILDCARD
respect to the topic. The 2 values are:
Block. Subscriptions made to a wildcard topic less specific than
the topic string for this topic object, do not receive publications
made to this topic or to topic strings more specific that this topic.
Passthrough. Subscriptions made to a wildcard topic less
specific than the topic string for this topic object receive
publications made to this topic and to topic strings more specific
than this topic. This is the default value.
Use dead-letter queue Specifies whether the dead-letter queue is used when publication USEDLQ
messages cannot be delivered to their correct subscriber queue.
There are three possible values:
• No means that publication messages that cannot be delivered
to their correct subscriber queue are treated as a failure to
put the message, and the application's MQPUT to a topic fails
in accordance with the settings of Non-persistent message
delivery and Persistent message delivery.
• Yes means that if the queue manager Dead-letter queue
property provides the name of a Dead Letter Queue, then it is
used. Otherwise the behavior is as for No.
• As parent means that the decision to use the Dead Letter
Queue is based on the setting of the closest administrative topic
object in the topic tree. This is the default supplied with IBM MQ
but your installation might have changed it.
Distributed Pub/Sub
The following table lists the properties on the Distributed Pub/Sub page of the IBM MQ Topic Properties
dialog.
Publication scope The scope of publications can be controlled administratively using PUBSCOPE
the PUBSCOPE topic attribute. The attribute can be set to one of
the following 3 values:
• As parent. This is the default value. The publication scope is
set to the same value as the parent queue manager.
• Queue manager. The publication is only delivered to local
subscribers.
• All. The publication is delivered to local subscribers and
remote subscribers by directly connected queue managers.
Communication The communication information object name. As there are more COMMINFO
information than one topics in the tree which require the same multicast
transmission properties, consider having these properties in a
separate object which can be referenced.
Cluster
The following table lists the properties on the Cluster page of the IBM MQ Topic Properties dialog.
Statistics
The following table lists the properties on the Statistics page of the IBM MQ Topic Properties dialog.
Alteration time This value cannot be changed, it is provided for information ALTTIME
purposes only.
This is the time at which the topic properties were last altered.
Related tasks
“Creating and configuring queue managers and objects” on page 13
You can create, configure, and delete queue managers and objects in IBM MQ Explorer by using the
Navigator view and Content view.
“Comparing the properties of two objects” on page 39
You can compare the properties of an object with another object of the same type; for example, compare
a queue with another queue, a topic with another topic, or a channel with another channel.
Service properties
You can configure properties for custom service objects in the Service properties dialog.
The following table lists all the properties that you can set.
For each property, there is a brief description of when you might need to configure the property.
The tables also give the equivalent MQSC parameter for the DEFINE, ALTER and DISPLAY SERVICE
commands. For more information about MQSC commands, see Administering IBM MQ using MQSC
commands.
Related tasks
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
Related reference
“Strings in property dialogs” on page 553
General page
The following table lists the attributes you can set on the General page of the Service definition
properties dialog.
Attribute Description
Namespace Specifies the namespace for the service. There is
already a temporary default value assigned.
Name A unique name for the new Service Definition. The
service definition name is not case sensitive, but a
mixed-case service definition name is retained.
Message exchange pattern The Message Exchange Pattern describes the direction
of messages sent and received during the invocation of
a service. There are two possible selections:
• One-Way means that a message is sent one way
only.
• Request-Response means that a message is sent
and a response is received.
Operation page
The following table lists the attributes you can set on the Operation page of the Service definition
properties dialog. Each service definition has only 1 operation.
Attribute Description
Input destination name Specifies the name of the destination queue or the
destination topic to which the request is sent, for
example:
The queue-dest or topic-dest particle of an IBM MQ
IRI, such as:
msg/queue/INS.QUOTE.REPLY
Destination queue manager name Specifies the name of the destination queue manager.
Connection queue manager Specifies the name of the queue manager to which the
requesting service connects to. This corresponds to
the QmgrName parameter used on the MQCONN() and
MQCONNX() calls.
Client connection properties The client connection properties specify detailed
bindings which can include information about how
a service requester binds to a specific machine or
channel. Being able to specify client-bindings and
channel names is useful in some circumstances,
but over-specifying the service might be restrictive
however. A solution to this problem is to minimize
the amount of binding information incorporated into
a service definition and allow underlying infrastructure
or IBM MQ to route messages where possible.
Channel table library Specifies the path to the client channel table.
• If either MQSERVER or MQCHLLIB environment
variables are set in the environment where the
client application is running, then Channel table
library is ignored.
• If Channel table name is not specified, then
Channel table library is ignored.
Client channel connection name Specifies the connection string used when a service
requester makes an IBM MQ MQI client-binding
connection. For TCP/IP, the connection is in the form
of a host name followed by a port number, for
example:
OS2ROG3(1822)
Client channel name Specifies the channel used when an IBM MQ service
requester make an IBM MQ MQI client-binding
connection.
• If the Client channel connection name is
specified, then the Client channel name and
Client channel transport type must also be
specified.
• If either MQSERVER or MQCHLTAB environment
variable are set in the environment where the
client application is running, then Client channel
name is ignored.
Attribute Description
Inbound data type Specifies the expected inbound data type. For simple
types, this can be modelled using the built-in XML
xsd types such as xsd:string or xsd:int. For more
complex types, a data type can be imported from an
external file by specifying the Import schema file
and Import namespace for the data type.
Import schema file Specifies the schema file to be imported.
Import namespace Specifies the namespace to be imported.
Attribute Description
CCSID Specifies the Coded Character Set ID which
corresponds to the CodedCharSetId field in the MQMD
structure. If this value is not specified, then the
service requester and service provider uses the
value which corresponds to the character set of the
message data.
<name dt="datatype">value</name>
<name>value</name>
For example:
<myprop1>value1</myProp1><myprop2>value2</
myProp2><myprop3 dt="i4">99</myProp3>
Attribute Description
Output destination name Specifies the name of the destination queue or the
destination topic to which the response message
is sent, and corresponds to the ReplyToQ and
ReplyToQMgr fields of the MQMD structure. The
Destination Name must take the form of either the
queue-dest or topic-dest particle of an IBM MQ URI,
such as:
msg/queue/INS.QUOTE.REPLY
Destination queue manager name Specifies the name of the destination queue manager.
Connection queue manager Specifies the name of the queue manager to which the
requesting service connects to. This corresponds to
the QmgrName parameter used on the MQCONN() and
MQCONNX() calls.
Client connection properties The client connection properties specify detailed
bindings which can include information about how
a service requester binds to a specific machine or
channel. Being able to specify client-bindings and
channel names is useful in some circumstances,
but over-specifying the service might be restrictive
however. A solution to this problem is to minimize
the amount of binding information incorporated into
a service definition and allow underlying infrastructure
or IBM MQ to route messages where possible.
Channel table name Specifies the name of the client channel table file
which is used to identify the channel connection.
• If Channel table name is not specified, then
Channel table library is ignored.
• If either of the MQSERVER or MQCHLTAB
environment variables are set in the environment
where the client application is running, then
Channel table name is ignored.
Channel table library Specifies the path to the client channel table.
• If either MQSERVER or MQCHLLIB environment
variables are set in the environment where the
client application is running, then Channel table
library is ignored.
• If Channel table name is not specified, then
Channel table library is ignored.
OS2ROG3(1822)
Client channel connection name Specifies the channel used when an IBM MQ service
requester make an IBM MQ MQI client-binding
connection.
• If the Client channel connection name is
specified, then the Client channel name and
Client channel transport type must also be
specified.
• If either MQSERVER or MQCHLTAB environment
variable are set in the environment where the
client application is running, then Client channel
name is ignored.
Client channel transport type Specifies the transport type to be used when an IBM
MQ service requester makes an IBM MQ MQI client-
binding connection.
• If the Client channel connection name is
specified, then the Client channel name and
Client channel transport type must also be
specified.
• If either MQSERVER or MQCHLTAB environment
variable are set in the environment where the client
application is running, then Transport type is
ignored.
There are two different selectable values:
• TCP. Used to specify the TCP/IP transport protocol.
This is the default value.
• LU62. Used to specify the LU6.2 transport protocol.
Attribute Description
CCSID Specifies the Coded Character Set ID which
corresponds to the CodedCharSetId field in the MQMD
structure. If this value is not specified, then the
service requester and service provider uses the
value which corresponds to the character set of the
message data.
Format Specifies the format name of the message data. This
property corresponds to the MQRFH2 format field,
or the MQMD format field if there is no MQRFH2 is
present. The value must be a character string between
0 and 8 characters long consisting of the A-Z and 0-9
characters.
The Format can be set to any value according to the
guidelines in the Format field.
<name dt="datatype">value</name>
<name>value</name>
For example:
<myprop1>value1</myProp1><myprop2>value2</
myProp2><myprop3 dt="i4">99</myProp3>
Related tasks
“Creating a new service definition” on page 198
The service definition wizard simplifies the process of creating service definitions and is integrated into
the IBM MQ Explorer. The service definition wizard is deprecated in IBM MQ 8.0
“Adding a service definition repository” on page 197
Use this information to create a new service definition repository.
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
General page
The following table lists the properties you can set on the General page of the Subscription properties
dialog.
Wildcard usage The scheme is used when interpreting any wildcard characters WSCHEMA
contained in the Topic string. The two values are:
TOPIC: Wildcard characters represent portions of the topic
hierarchy.
CHAR: Wildcard characters represent portions of strings.
Destination class The Destination class specifies whether the destination used by DESTCLAS
the subscription is a managed destination. The two values are:
MANAGED: The destination is managed.
PROVIDED: The destination is a queue. This is the default value.
Destination queue The destination queue manager for messages published to the DESTQMGR
manager subscription.
Destination name Specifies the name of the alias, local, remote, or cluster queue to DEST
which messages for this subscription are put.
User data The value of User data can be optionally passed as a message USERDATA
property in a message sent to the subscription.
Selector The Selector is an SQL92 string that is applied to messages SELECTOR
published on the named topic to select whether they are eligible
for the subscription.
Extended page
The following table lists the properties you can set on the Extended page of the Subscription properties
dialog.
User Specifies the user profile that owns this subscription. SUBUSER
Application identity data The value of Application identity data will be used for PUBAPPID
messages sent to the subscription. If Application identity
data is not specified, then an empty default value is used.
Accounting token The value of Accounting token will be used for messages sent PUBACCT
to the subscription. If Accounting token is not specified, then
the default value MQACT_NONE is used.
Publish priority The Publish priority determines the manner in which PUBPRTY
pub/sub related message properties are added to the messages
sent to the subscription. The options available are:
As published which means the priority of the message sent to
this subscription and is taken from that supplied in the published
message.
As queue defined which means the priority of the message
sent to this subscription and is taken from the default priority of
the queue defined as the destination.
Priority-value which enables you to specify a priority ranging 0 - 9.
Request only Request only indicates whether the subscriber will poll for REQONLY
updates via MQSUBPRQ API. The two values are:
All which means that all publications are delivered to the
subscription. this is the default value.
On request which means that publications are only delivered to
the subscription in response to MQSUBPRQ API.
Subscription level This is the level associated with the subscription. Publications SUBLEVEL
will only be delivered to this subscription if it is in the set of
subscriptions with the highest SubLevel value less than or equal
to the PubLevel used at publication time. The value must be in the
range 0 - 9. Zero is the lowest level.
Statistics page
The following table lists the properties on the Statistics page of the Subscription properties dialog. The
Statistics page displays information about the history of the subscription. The information displayed on
the Statistics page is read-only and cannot be altered by the user.
Related concepts
“Publishers and subscribers” on page 98
Publishers and subscribers are applications that send and receive messages (publications) using the
publish/subscribe method of messaging. Publishers and subscribers are decoupled from one another so
that publishers do not know the destination of the information that they send, and subscribers do not
know the source of the information that they receive.
Related tasks
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
“Forcing changes to queue properties” on page 38
General page
The following table lists the properties that you can set on the General page of the Process Definition
properties dialog.
Application ID Type the name of the application to be started. Usually, this is the APPLICID
fully-qualified file name of the executable object. The maximum
length is 256 characters. For a CICS application, type the CICS
transaction ID; for an IMS application, type the IMS transaction
ID.
Statistics page
The following table lists the properties that you can set on the Statistics page of the Process Definitions
properties dialog. The Statistics page displays information about the history of the process definitions.
You cannot edit any of these properties.
Related tasks
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
Related reference
“Strings in property dialogs” on page 553
To include certain characters in a string, you must punctuate the string in a particular way.
Namelist properties
You can set properties for namelists. Some of the properties are specific to z/OS namelists.
The following tables list the properties that you can set:
• General
• Statistics
For each property, there is a brief description of when you might need to configure the property.
The tables also give the equivalent MQSC parameter for the DEFINE, ALTER and DISPLAY NAMELIST
commands. For more information about MQSC commands, see Administering IBM MQ using MQSC
commands.
General page
The following table lists the properties that you can set on the General page of the Namelist properties
dialog.
Statistics page
The following table lists the properties that you can set on the Statistics page of the Namelist properties
dialog. The Statistics page displays information about the history of the namelist. You cannot edit any of
these properties.
Related tasks
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
Related reference
“Strings in property dialogs” on page 553
To include certain characters in a string, you must punctuate the string in a particular way.
General page
The following table lists the properties that you can set on the General page of the Authentication
Information properties dialog.
LDAP page
The following table lists the properties that you can set on the LDAP page of the CRL LDAP or IDPW
LDAP Authentication Information properties dialog. The LDAP page displays the name and authentication
information for the LDAP server.
Password Type the password that is associated with the Distinguished LDAPPWD
Name of the user who is accessing the LDAP server. The
maximum length is 32 characters.
OCSP page
The following table lists the properties that you can set on the OCSP page of the OCSP Authentication
Information properties dialog.
LDAP Authorization
The following table lists the properties that you can set on the LDAP Authorization page of the IDPW
LDAP Authentication Information properties dialog.
Allow nested groups Whether nested groups are allowed. The possible values are: NESTGRP
No. Nested groups are not allowed.
Yes. Nested groups are allowed. The group list is searched
recursively to enumerate all groups a user belongs to.
Group base DN The base DN used to locate group records in an LDAP server. BASEDNG
Group object class The LDAP object class used for group records in the LDAP CLASSGRP
repository.
Qualfying group field A qualification to allow group to be identified as a field in the GRPFIELD
LDAP group record.
Group membership field Name of the property used within an LDAP user or group record to FINDGRP
determine group membership.
Check client connections Whether connections made using client connections must supply CHCKCLNT
a user ID and password for validation. The possible values are:
None. No user ID and password are required.
Optional. No user ID and password are required but if provided,
they will be checked.
Required for administrators. User ID and password are
required for privileged users.
Required for all. User ID and password are required for all
users.
Adopt the authenticated Whether to adopt the user ID that was provided with a password ADOPTCTX
user as the context for this connection. The possible values are:
Yes. The validated user ID will be adopted as the context for
this connection. If the user ID presented is an LDAP user ID, and
authorization checks are done using operating system user IDs,
the SHORTUSR associated with the user entry in LDAP will be
adopted as the credentials for authorization checks to be done
against.
No. The validated user ID will not be adopted as the context for
this connection.
Statistics page
The following table lists the properties that you can set on the Statistics page of the Authentication
Information properties dialog. The Statistics page displays information about the history of the
authentication information object. You cannot edit the values of any of these properties.
Related tasks
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
Related reference
“Strings in property dialogs” on page 553
To include certain characters in a string, you must punctuate the string in a particular way.
General page
The following table lists the properties that you can set on the General page of the Channel
Authentication Records properties dialog.
Address page
The following table lists the properties that you can set on the Address page of the Channel
Authentication Records properties dialog.
Note:
This parameter is valid with the property TYPE(ADDRESSMAP), TYPE(QMGRMAP), TYPE(SSLPEERMAP)
and TYPE(USERMAP).
Extended page
The following table lists the properties that you can set on the Extended page of the Channel
Authentication Records properties dialog. See SET CHLAUTH.
Statistics page
The Statistics page of the Channel Authentication Records properties dialog displays read-only
information showing when the properties of the channel authentication record were last changed. You
cannot edit the values of these properties. See DISPLAY CHLAUTH.
Related reference
Channel authentication records
SET AUTHREC
Message channel agent user identifier (MCAUSER)
“Strings in property dialogs” on page 553
To include certain characters in a string, you must punctuate the string in a particular way.
General page
The following table lists the properties that you can set on the General page of the communication
information object properties dialog.
Group address The group IP address or DNS name. It is the administrator's GRPADDR
responsibility to manage the group addresses.
It is possible for all multicast clients to use the same
group address for every topic; only the messages that match
outstanding subscriptions on the client are delivered.
Using the same group address can be inefficient because
every client must examine and process every multicast packet
in the network. It is more efficient to allocate different IP
group addresses to different topics or sets of topics, but
this requires careful management, especially if other non-MQ
multicast applications are in use on the network. The default
value is 239.0.0.0.
Port The port number to transmit on. The default port number is 1414 PORT
Message history The maximum message history is the amount of message history MSGHIST
that is kept by the system to handle retransmissions in the case of
NACKs (negative acknowledgments).
A value of 0 gives the least level of reliability. The default value is
100 messages.
• AIX
• IBM i
• Linux
• Windows
For details of the supported CCSIDs for each platform, see Code
page conversion.
Encoding The encoding that the messages are transmitted in. ENCODING
• As published. This is the default value.
• Reversed
• Normal
• S390
• TNS
• encoding
New subscriber history The new subscriber history controls whether a subscriber joining NSUBHIST
a publication stream receives as much data as is currently
available, or receives only publications made from the time of the
subscription.
• None. A value of None causes the transmitter to transmit only
publication made from the time of the subscription. This is the
default value.
• ALL. A value of ALL causes the transmitter to retransmit as
much history of the topic as is known. In some circumstances,
this can give a similar behavior to retained publications.
Multicast bridge Controls whether publications from applications not using BRIDGE
Multicast are bridged to applications using Multicast. Bridging
does not apply to topics that are marked as MCAST(ONLY). As
these topics can only be Multicast traffic, it is not applicable to
bridge to the queue publish/subscribe domain. The two possible
values are:
• Disabled. Publications from applications not using Multicast
are not bridged to applications that do use Multicast. This is the
default for i5/OS.
• Enabled. Publications from applications not using Multicast are
bridged to applications that do use Multicast. This is the default
for platforms other than i5/OS.
Multicast heartbeat The heartbeat interval is measured in milliseconds, and specifies MCHBINT
interval (milliseconds) the frequency at which the transmitter notifies any receivers that
there is no further data available. The default value is 2000
milliseconds.
Statistics page
The following table lists the properties that you can set on the Statistics page of the Communication
Information properties dialog. The Statistics page displays information about the history of the
communication information object. You cannot edit any of these properties.
Related tasks
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
Related tasks
“Configuring queue managers and objects” on page 37
Property Meaning
Queue sharing group name The name of the queue sharing group.
Queue manager name The name of the queue manager.
Queue manager number The number, generated internally, of the queue
manager in the group.
Db2 name The name of the Db2 subsystem or group to which the
queue manager is to connect.
Queue manager status The current status of the queue manager. Active
means that the queue manager is running; Inactive
means that the queue manager is not running,
having terminated normally; Failed means that the
queue manager is not running, having terminated
abnormally; Created means that the queue manager
has been defined to the group, but has not yet been
started; Unknown means that the status cannot be
determined.
Db2 connection status The current status of the connection to Db2.
Command level The command level supported by the queue manager.
Queue manager CPF The command prefix of the queue manager.
Related concepts
“Queue sharing groups” on page 32
Queue sharing groups exist only on z/OS queue managers. A queue sharing group is a group of queue
managers that can access the same shared queues. Each member of the queue sharing group has access
to the same set of shared queues.
Related tasks
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
Related reference
“Strings in property dialogs” on page 553
General page
The following table lists the properties on the General page of the Cluster Queue Manager properties
dialog.
Extended page
The following table lists the properties on the Extended page of the Cluster Queue Manager properties
dialog.
Batch data limit Provide the limit in kilobytes, from 0 - 999999, of the amount of BATCHLIM
data that should be sent through a channel before taking a sync
point. A value of 0 means that no data limit is applied to batches
over this channel.
Use dead-letter queue Specifies whether the dead-letter queue is used when messages USEDLQ
cannot be delivered by channels. There are two possible values:
• No means that messages that cannot be delivered by a channel
are treated as a failure, and the channel either ends in
accordance with the setting of Non-persistent message speed,
or discards the messages.
• Yes means that if the queue manager Dead-letter queue
property provides the name of a Dead Letter Queue, then it is
used. Otherwise the behavior is as for No.
MCA page
The following table lists the properties on the MCA page of the Cluster Queue Manager properties dialog.
The properties show how the Message Channel Agent (MCA) for the selected channel runs.
Exits page
The following table lists the properties on the Exits page of the Cluster Queue Manager properties dialog.
The properties configure the user exits that are run by the selected channel.
LU6.2 page
The following table lists the properties on the LU6.2 page of the Cluster Queue Manager properties dialog.
Retry page
The following table lists the properties on the Retry page of the Cluster Queue Manager properties dialog.
The properties configure how the channel behaves if the channel cannot connect to the remote queue
manager.
Cluster page
The following table lists the properties on the Cluster page of the Cluster Queue Manager properties
dialog.
Statistics page
The following table lists the properties on the Statistics page of the Cluster Queue Manager properties
dialog. The Statistics page shows the date and time on which the cluster queue manager was last altered.
Related reference
“Channel properties” on page 369
You can set properties for all types of channels, including client-connection channels. Some properties
are specific to certain types of channel.
“Cluster queue properties” on page 445
When you view the cluster queues that belong to a queue manager in a cluster, you can double-click the
cluster queue and view its properties in the Cluster Queue properties dialog. You cannot edit any of the
properties in the Cluster Queue properties dialog.
General page
The following table lists the properties on the General page of the Cluster Queue properties dialog.
Cluster page
The following table lists the properties on the Cluster page of the Cluster Queue properties dialog. The
Cluster page shows the properties of the cluster queue that are relevant to the cluster.
Related reference
“IBM MQ queue properties” on page 358
The properties that you can set for a queue depend on the type of queue. Different types of IBM MQ
queues have different properties. Some of the properties do not apply to all types of queue, some
properties are specific to cluster queues, and some properties are specific to z/OS queues.
“Cluster queue manager properties” on page 437
The Cluster Queue Manager properties dialog shows the properties of the cluster-sender and cluster-
receiver channels on the selected cluster queue manager. You cannot edit any of the properties in the
Cluster Queue Manager properties dialog.
General
The following table lists the properties on the General page of the Cluster topic Properties dialog.
MQSC
Property Meaning parameter
Topic name This value cannot be changed once the topic has been created. TOPNAME
This parameter is required and cannot contain an empty string.
The unique identifier of the administrative topic definition to be
created. A maximum of 48 characters are allowed.
Name must not be the same as any other topic definition defined
on the selected queue manager.
Topic type This value is read only. This value displays whether the topic is N/A
local; Local, or in a cluster; Cluster.
Subscribe This property controls whether messages can subscribe to the SUB
topic. The default value is As parent. The 2 other options
available are:
Allowed which means that subscriptions can me made to the
topic by an authorized application.
Inhibited which means that applications cannot subscribe to
the topic.
Durable subscriptions This property controls whether the topic permits durable DURSUB
subscriptions to be made. The default value is As parent. The 2
other options available are:
Allowed which means that durable subscriptions can me made
to the topic by an application.
Inhibited which means that durable subscriptions cannot be
made to the topic by an application.
Default priority The default priority of messages published to the topic. The DEFPRTY
default value is As parent.
The default priority can be set from 0 (the lowest priority) to 9
(the highest priority)
Non-persistent message The delivery method for non-persistent messages published to NPMSGDLV
delivery this topic. The four options are:
As parent The delivery mechanism used is based on the setting
of the first parent administrative node found in the topic tree
relating to this topic. This is the default supplied with IBM MQ, but
your installation might have changed it.
To all available subscribers Non-persistent messages
are delivered to all subscribers that can accept the message.
Failure to deliver the message to any subscriber does not prevent
other subscribers from receiving the message.
To all durable subscribers Non-persistent messages
must be delivered to all durable subscribers. Failure to deliver a
non-persistent message to any non-durable subscribers does not
return an error to the MQPUT call. If a delivery failure to a durable
subscriber occurs, no other subscribers receive the message and
the MQPUT calls fails.
To all subscribers Non-persistent messages must be
delivered to all subscribers, irrespective of durability for the
MQPUT call to report success. If a delivery failure to any
subscriber occurs, no other subscribers receive the message and
the MQPUT call fails.
Wildcard operation This value controls the behavior of wildcard subscriptions with WILDCARD
respect to the topic. The two values are:
Block. Subscriptions made to a wildcard topic less specific than
the topic string for this topic object will not receive publications
made to this topic or to topic strings more specific that this topic.
Passthrough. Subscriptions made to a wildcard topic less
specific than the topic string for this topic object will receive
publications made to this topic and to topic strings more specific
than this topic. This is the default value.
Distributed Pub/Sub
The following table lists the properties on the Distributed Pub/Sub page of the Cluster topic Properties
dialog.
Publication scope The scope of publications can be controlled administratively using PUBSCOPE
the PUBSCOPE topic attribute. The attribute can be set to one of
the following 3 values:
• As parent. This is the default value. The publication scope is
set to the same value as the parent queue manager.
• Queue manager. The publication is only delivered to local
subscribers.
• All. The publication is delivered to local subscribers and
remote subscribers by directly connected queue managers.
Cluster queue manager This is the name of the queue manager in the cluster that owns N/A
the cluster topic.
Cluster route The routing behavior to use for topics in the cluster defined by the CLROUTE
CLUSTER parameter. There are two possible values:
DIRECT
When you configure a direct routed clustered topic on a queue
manager, all queue managers in the cluster become aware
of all other queue managers in the cluster. When performing
publish and subscribe operations, each queue manager then
connects directly to all the others.
TOPICHOST
When you use topic host routing, all queue managers in the
cluster become aware of the cluster queue managers that
host the routed topic definitions. When performing publish
and subscribe operations, queue managers in the cluster
connect only to these topic host queue managers, and not
directly to each other. The topic host queue managers are
responsible for routing publications from queue managers on
which publications are published to queue managers with
matching subscriptions.
Statistics
The following table lists the properties on the Statistics page of the Cluster topic Properties dialog.
Alteration time This value cannot be changed, it is provided for information MQCA_ALTER
purposes only. ATION_TIME
This is the time at which the topic's properties were last altered.
Related tasks
“Creating and configuring queue managers and objects” on page 13
You can create, configure, and delete queue managers and objects in IBM MQ Explorer by using the
Navigator view and Content view.
“Comparing the properties of two objects” on page 39
You can compare the properties of an object with another object of the same type; for example, compare
a queue with another queue, a topic with another topic, or a channel with another channel.
General page
The following table lists the properties on the General page of the Application Connection properties
dialog.
Units of recovery (z/OS only) This parameter is used to filter the list of connections URDISP
disposition returned. There are 3 options to choose from:
• All means that all connections are returned. This is the default
value.
• Group means that the connections returned will consist only of
those in the group to which the command was targeted.
• Queue manager means that the connections returned will
consist only of those on the queue manager to which the
command was targeted.
QSG disposition Read-only. The queue sharing group disposition of the object. QSGDISP
Queue manager means that the object definition is available
only to the queue manager that hosts it; Group means that
the object definition is stored on the shared repository and
each queue manager in the queue sharing group has a copy
of the definition; Copy means that the object definition is the
queue manager's copy of a definition in the shared repository;
Shared means that the object definition is stored on the queue
sharing group's coupling facility and is available to all the queue
managers in the queue sharing group.
Handle state The current state of the handle. Active means that an API call HSTATE
from this connection is currently in progress for this object. If the
object is a queue, this condition can arise when an MQGET WAIT
call is in progress. If there is an MQGET signal outstanding, this
does not mean, by itself, that the handle is active. Inactive means
that no API call from this connection is currently in progress for
this object. If the object is a queue, this condition can arise when
no MQGET WAIT call is in progress.
Topic string The resolved topic string. This parameter is relevant for handles TOPICSTR
with OBJTYPE(TOPIC). For any other object type, this parameter
is blank.
Subscription name The application's unique subscription name that is associated SUBNAME
with the handle. This parameter is relevant only for handles
of subscriptions to topics. Not all subscriptions will have a
subscription name.
Subscription ID The internal, all-time unique identifier of the subscription. This SUBID
parameter is relevant only for handles of subscriptions to topics.
Not all subscriptions show up in DISPLAY CONN; only those that
have current handles open to the subscription show up. You can
use the DISPLAY SUB command to see all subscriptions.
Related tasks
“Viewing and closing connections to applications” on page 172
You can use the Application Connections dialog to find out which applications are currently connected
to a specific queue manager, and which queue manager objects an application is currently accessing. You
can also use this dialog to close a connection.
Message properties
Message properties are displayed in the Message properties dialog. You cannot edit any of the message
properties.
The following tables list the properties of IBM MQ messages that you can put and get from queues:
• General
• Report
• Context
• Identifiers
• Segmentation
• Named Properties
• MQRFH2 Properties
• Data
• Dead-letter header
For each property, there is a brief description of meaning of the property. The tables also show the MQMD
form of the name, as used in the API. This is described in MQMD - Message descriptor.
General page
The following table lists the properties on the General page of the Message properties dialog.
Report page
The following table lists the properties on the Report page of the Message properties dialog. A report is
a message about another message, used to inform the application about expected or unexpected events
that relate to the original message. The Report page displays the properties related to report messages.
For more information, see Report options and message flags.
Context page
The following table lists the properties on the Context page of the Message properties dialog. The
Context page displays information from the sender application about the message.
Identifiers page
The following table lists the properties on the Identifiers page of the Message properties dialog. The
Identifiers page displays identification information that is associated with the message.
Segmentation page
The following table lists the properties on the Segmentation page of the Message properties dialog. The
Segmentation page displays the properties related to segmenting large messages.
Property Meaning
Name Read-only. The name of the message property.
Value Read-only. This is the actual value of the named
property.
Property Meaning
Name Read-only. The name of the message property.
Value Read-only. This is the actual value of the named
property.
Data page
The following table lists the properties on the Data page of the Message properties dialog. The Data page
displays the message data itself and information about the data format.
Related tasks
“Sending test messages” on page 71
You can use a test message to check whether an application or a queue manager can put a message on a
queue. You can also browse messages that are already on a queue or clear messages from a queue.
Property options
The following options relate to the properties of the message:
MQGMO_PROPERTIES_AS_Q_DEF
Properties of the message, except the properties contained in the message descriptor (or extension)
must be represented as defined by the PropertyControl queue property. If a MsgHandle is
provided this option is ignored and the properties of the message are available using the MsgHandle,
unless the value of the PropertyControl queue property is MQPROP_FORCE_MQRFH2.
This is the default action if no property options are specified.
MQGMO_PROPERTIES_IN_HANDLE
Properties of the message must be made available using the MsgHandle. If no message handle is
provided the call fails with reason MQRC_HMSG_ERROR.
MQGMO_NO_PROPERTIES
No properties of the message, except the properties contained in the message descriptor (or
extension) are retrieved. If a MsgHandle is provided it is ignored.
MQGMO_PROPERTIES_FORCE_MQRFH2
Properties of the message, except the properties contained in the message descriptor (or extension)
must be represented using MQRFH2 headers. This provides compatibility with earlier versions for
applications which are expecting to retrieve properties but are unable to be changed to use message
handles. If a MsgHandle is provided it is ignored.
Default option
If none of the options described previously is required, the following option can be used:
MQGMO_NONE
Use this value to indicate that no other options have been specified; all options assume their default
values. MQGMO_NONE aids program documentation; it is not intended that this option is used with
any other, but because its value is zero, such use cannot be detected.
General page
The following table lists the properties that you can set on the General page of the Connection Details
properties dialog.
Item Description
Queue manager name Read-only. The name of the local queue manager.
Connection type Read-only. The type of connection. The three possible
values are:
1. Local. A local connection.
2. Client. A client connection.
3. Indirect. A connection through another queue
manager.
Item Description
Exit Specifies the name of the exit program to be run by the security exit. Exit name can be
name up to 1024 characters long and is case sensitive. Exit name can be a fully qualified java
class name found in the directory or jar file. Exit name can be a C exit, of the format:
dll_name(function_name). The default path for exits is always used to locate C exits, you
cannot specify the location of the exit library in this entry field unless no default path is set.
in Specifies the directory for the security exit (Java exits only).
directory
in jar Specifies the jar file for the security exit (Java exits only).
Exit data Exit data can be up to 32 characters long. If no value has been defined for that attribute,
this field is all blanks.
Userid page
The following table lists the properties that you can set on the Userid page of the Connection Details
properties dialog.
Item Description
Enable Select Enable user identification to enable the fields on this dialog.
user
identifica
tion
User When selected, the userid and password are passed to the server in a way compatible with security
identifica exits created prior to IBM MQ 8.0.
tion
compatib
ility Mode
Use When selected, the saved password is passed to the server with the userid.
saved
password
Saved The saved password to be passed to the server with the userid.
password
Item Description
Trusted Certificate Store The location of the truststore on the computer. In
the Trusted Certificate Store field, browse for the
location of the truststore on the computer. The
truststore and keystore contain the TLS certificates
that are used with connections that use client channel
definition tables. It is possible that the truststore and
keystore are in the same location on your computer.
Personal Certificate Store The location of the truststore on the computer. In
the Personal Certificate Store field, browse for the
location of the keystore on the computer.
For more information about configuring IBM MQ Explorer with the default location and password of the
TLS certificate store, see “Specifying the default location and default password of TLS certificates” on
page 87.
Item Description
SSL FIPS required Read-only. If set to No (the default), any available
cipher suite can be used. If set to Yes, then only FIPS-
certified cipher suites can be used.
SSL reset count The number of bytes, 0 - 999 999 999, that are
sent and received within a TLS conversation before
the secret key is renegotiated. A value of 0 means
that the secret key is never renegotiated. The number
of bytes includes control information that is sent by
the message channel agent (MCA). If the value of
this property is greater than 0 and the value of the
Heartbeat interval property in the Channel properties
is greater than 0, the secret key is also renegotiated
before message data is sent or received following a
channel heartbeat.
Peer name The Distinguished Name (DN) of the queue manager
to be used by TLS. The peer name is set to indicate
that connections are allowed only where the server is
successfully authenticated as a specific DN.
General page
The following table lists the properties that you can set on the General page of the Connection Factory
properties dialog.
Connection page
The following table lists the properties that you can set on the Connection page of the Connection
Factory properties dialog. Edit the properties on the Connection page to set the connection details for
connections created by this connection factory.
SSL page
The following table lists the properties that you can set on the SSL page of the Connection Factory
properties dialog. Edit the properties on the SSL page to configure the TLS details for securing client
connections and direct connections to the broker.
Broker page
The following table lists the properties that you can set on the Broker page of the Connection Factory
properties dialog. Edit the properties on the Broker page to provide details of the publish/subscribe
broker.
Subscriber page
The following table lists the properties that you can set on the Subscriber page of the Connection Factory
properties dialog. Edit the properties on the Subscriber page to manage subscribers and subscriptions.
Extended page
The following table lists the properties that you can set on the Extended page of the Connection
Factory properties dialog. Edit the properties on the Extended page to change further properties of the
connection factory object.
Related reference
“Strings in property dialogs” on page 553
Destination properties
You can view and set destination properties in the Destination properties dialog. The properties that are
available in the dialog depend on the type of destination.
The following tables list all the properties that you can set for destinations:
• General
• Message handling
• Broker
• Producers
• Consumers
• Extended
For each property, there is a brief description of when you might need to configure the property. The
tables also give the equivalent long and short names to use in the JMS Administration command-line
tool. The properties that are available in the Properties dialog depend on the type of destination;
queue destinations have some different properties from topic destinations. For more information, see
Configuring JMS objects using the administration tool.
General page
The following table lists the properties that you can set on the General page of the Destination properties
dialog.
Broker page
The following table lists the properties that you can set on the Broker page of the Destination properties
dialog. Edit the properties on the Broker page to provide details of the publish/subscribe broker.
Producers page
The following table lists the properties that you can set on the Producers page of the Destination
properties dialog. Edit the properties on the Producers page to change further properties of the
destination object.
Consumers page
The following table lists the properties that you can set on the Consumers page of the Destination
properties dialog. Edit the properties on the Consumers page to change further properties of the
destination object.
Extended page
The following table lists the properties that you can set on the Extended page of the Destination
properties dialog. Edit the properties on the Extended page to change further properties of the
destination object.
Status attributes
In IBM MQ Explorer, you can view the current status of IBM MQ objects. For example, you can find out
whether a channel is running, or you can find out when the last message was put on a certain queue. You
can also view the saved status of a channel.
The following topics list all of the status attributes for IBM MQ objects. For each attribute, there is a
description of what the attribute shows.
• Queue managers
• Queue manager Pub/Sub Engines
• Queues
• Topics
• Subscriptions
• Topic subscribers
• Topic publishers
• Channels
• Listeners
• Custom services
• Coupling facility
• “Display SMDS status attributes” on page 552
Related tasks
“Viewing the status of objects” on page 171
The following table lists the status attributes of multiplatform queue managers, and gives the equivalent
MQSC parameter for the DISPLAY QMSTATUS command. For more information about MQSC commands,
see Administering IBM MQ using MQSC commands.
installationlocation\WebSphere MQ\log\queuemanager\active\
Channel initiator
The following table lists the channel initiator status attributes of z/OS queue managers. The equivalent
MQSC command is DISPLAY CHINIT. For more information about MQSC commands, see Administering
IBM MQ using MQSC commands.
Log
The following table lists the log status attributes of z/OS queue managers. The equivalent MQSC
command is DISPLAY LOG. For more information about MQSC commands, see Administering IBM MQ
using MQSC commands.
Usage
The following tables list the Usage status attributes of z/OS queue managers. For each attribute, there is
a brief description of what information the attribute shows. The equivalent MQSC command is DISPLAY
Table 17. Buffer Pool records usage for z/OS queue managers.
Attribute Meaning
Usage type This attribute shows which type of information is
displayed in the table.
Buffer pool ID The buffer pool identifier, which identifies the buffer
pool being used by the page set.
Buffers defined The number of buffers defined for the buffer pool.
Page class The type of virtual storage pages used for backing the
buffers in the buffer pool. The values for page class
are:
• Pageable 4 KB pages
• Fixed 4 KB pages
Buffer pool location Information about the LOCATION value for individual
buffer pools. The values for LOCATION are:
• Above the bar (64 bit storage)
• Below the bar (31 bit storage)
• Switching to above the bar (64 bit storage)
• Switching to below the bar (31 bit storage)
Table 19. Shared message data set records usage for z/OS queue managers.
Attribute Meaning
Status The status of the shared message data set records for
the selected queue manager.
Application structure This is the name of the application structure for the
selected queue manager.
Offloaded messages This shows the number of shared messages in the
structure for which the message data has been stored
in the data set owned by this queue manager.
Total blocks This is the current total size of the owned data set
in logical blocks, including blocks used to store the
space map.
Total data blocks This is the total number of blocks in the owned data
set which can be used to store data, excluding those
used to store the space map.
Used data blocks This is the number of blocks in the owned data set
which are currently in use (that is, one or more pages
of those blocks contain active message data).
Used part (%) This is the percentage of used data blocks to the total
data blocks.
Block size (KB) This shows the size of each buffer in KB. This is equal
to the logical block size of the shared message data
set.
Total buffers This is the number of buffers in the pool
In use buffers This is the number of buffers which are currently being
used by requests to transfer data to or from the data
set.
Saved buffers This is the number of buffers which are free but
currently contain saved data for recently accessed
blocks.
Related concepts
“Queue managers” on page 14
A queue manager is a program that provides messaging services to applications. Applications that use the
Message Queue Interface (MQI) can put messages on queues and get messages from queues. The queue
manager ensures that messages are sent to the correct queue or are routed to another queue manager.
Related tasks
“Viewing the status of objects” on page 171
You can display the current status of any object that can be in different states, in IBM MQ Explorer. For
IBM MQ channels, you can also view the saved status.
Related reference
“Queue manager Publish/Subscribe Engine status attributes” on page 524
The status attributes of the queue manager Publish/Subscribe Engine.
The following table lists the status attributes of Native HA queue managers, and gives the equivalent
MQSC parameter for the DISPLAY QMSTATUS command. For more information about MQSC commands,
see Administering IBM MQ using MQSC commands. Other status attributes applicable to the queue
manager are described in “Queue manager status attributes” on page 516.
Related concepts
“Queue managers” on page 14
A queue manager is a program that provides messaging services to applications. Applications that use the
Message Queue Interface (MQI) can put messages on queues and get messages from queues. The queue
manager ensures that messages are sent to the correct queue or are routed to another queue manager.
Related tasks
“Viewing the status of objects” on page 171
You can display the current status of any object that can be in different states, in IBM MQ Explorer. For
IBM MQ channels, you can also view the saved status.
Related reference
“Queue manager status attributes” on page 516
The status attributes of multiplatform queue managers, and z/OS queue managers.
External unit of work ID The external unit of recovery identifier associated with the URID
connection. It is the recovery identifier known in the external sync
point coordinator. Its format is determined by the value of the
Unit Of Work type attribute.
A 4-character address-space identifier of the application that is ASID
identified by the Application name attribute. It distinguishes
Address- duplicate values of Application name. This value is displayed
space ID only when the queue manager that owns the queue is running on
z/OS, and the Application type attribute does not have the
value System.
The 8-character name of the program specification block (PSB) PSBNAME
associated with the running IMS transaction (z/OS only). You
Program can use the Program specification block name and
specification block name Program specification table ID attributes to purge the
transaction using IMS commands. A value is displayed only when
the Application type attribute has the value IMS.
The 4-character IMS program specification table (PST) region PSTID
identifier for the connected IMS region (z/OS only). A value is
Program displayed only when the App type attribute has the value IMS.
specification table ID
A 4-character CICS transaction identifier (z/OS only). A value is TRANSID
displayed only when the App type attribute has the value CICS.
CICS
transaction ID
Related concepts
“IBM MQ queues” on page 15
A queue is a container for messages. Business applications that are connected to the queue manager that
hosts the queue can retrieve messages from the queue or can put messages on the queue.
Related tasks
“Viewing the status of objects” on page 171
Admin topic name Administrative topic objects are a required in order to be able to N/A
define attributes for certain portions of the topic tree, and to set
up authority checking on specific topics.
Subscriber count This is the number of subscribers for this topic string, including SUBCOUNT
durable subscribers who are not currently connected.
Publisher count The number of applications currently publishing to the topic. PUBCOUNT
Retained publication Indicates if the publication is retained or not. MQIACF_RETA
INED_PUBLIC
ATION
Non-persistent message The delivery method for non-persistent messages published to NPMSGDLV
delivery this topic.
Persistent message The delivery method for persistent messages published to this PMSGDLV
delivery topic.
Cluster name This is the name of the cluster to which the topic belongs. CLUSTER
Use dead-letter queue Specifies whether the dead-letter queue is used when publication USEDLQ
messages cannot be delivered to their correct subscriber queue.
There are 2 possible values:
• No means that publication messages that cannot be delivered
to their correct subscriber queue are treated as a failure to
put the message, and the application's MQPUT to a topic fails
in accordance with the settings of Non-persistent message
delivery and Persistent message delivery.
• Yes means that if the queue manager Dead-letter queue
attribute provides the name of a Dead Letter Queue, then it is
used. Otherwise the behavior is as for No.
Related concepts
“Topics” on page 16
A topic identifies what a publication is about. A topic is a character string that describes the subject of the
information that is published in a Publish/Subscribe message. As a subscriber, you can specify a topic or
range of topics by using wildcards to receive the information that you require.
Related tasks
“Viewing the status of objects” on page 171
You can display the current status of any object that can be in different states, in IBM MQ Explorer. For
IBM MQ channels, you can also view the saved status.
Related reference
“Status attributes” on page 515
Connection ID The currently active CONNID that has opened this subscription. It ACTCONN
is used to detect local publications.
Resume date The date of the most recent MQSUB which connected to this RESMDATE
subscription.
Resume time The time of the most recent MQSUB which connected to this RESMTIME
subscription.
Date of last publication The date on which a message was last sent to the destination LMSGDATE
specified by the subscription.
Time of last publication The time on which a message was last sent to the destination LMSGTIME
specified by the subscription.
Message count The number of messages put to the destination specified by this NUMMSGS
subscription since it was created, or since the queue manager
was restarted, whichever is more recent. This number might not
reflect the total number of messages that are, or have been,
available to the consuming application. This is because it might
also include publications that were partially processed but then
undone by the queue manager due to a publication failure, or
publications that were made within syncpoint that were rolled-
back by the publishing application.
Related tasks
“Creating a new subscription” on page 107
You can create a new subscription to subscribe to a topic for an IBM WebSphere MQ 7.0, or later, queue
manager.
“Viewing the status of objects” on page 171
You can display the current status of any object that can be in different states, in IBM MQ Explorer. For
IBM MQ channels, you can also view the saved status.
Related reference
“Status attributes” on page 515
In IBM MQ Explorer, you can view the current status of IBM MQ objects. For example, you can find out
whether a channel is running, or you can find out when the last message was put on a certain queue. You
can also view the saved status of a channel.
Connection ID The currently active CONNID that has opened this subscription. It ACTCONN
is used to detect local publications.
Resume date The date of the most recent MQSUB which connected to this RESMDATE
subscription.
Resume time The time of the most recent MQSUB which connected to this RESMTIME
subscription.
Message count The number of messages put to the destination specified by this NUMMSGS
subscription since it was created, or since the queue manager
was restarted, whichever is more recent. This number might not
reflect the total number of messages that are, or have been,
available to the consuming application. This is because it might
also include publications that were partially processed but then
undone by the queue manager due to a publication failure, or
publications that were made within syncpoint that were rolled-
back by the publishing application.
Multicast reliability Indicator of the reliability of the multicast messages. The values MCASTREL
indicator (%) are expressed as a percentage. A value of 100 indicates that
all messages are being delivered without problems. A value less
than 100 indicates that some of the messages are experiencing
network issues.
To determine the nature of these issues, you can enable
event message generation, using the COMMEV parameter of the
COMMINFO objects, and examine the generated event messages.
Two values are returned:
• The first value is based on recent activity over a short period of
time.
• The second value is based on activity over a longer period of
time. If no measurement is available the values are shown as
blanks.
Related concepts
“Topics” on page 16
A topic identifies what a publication is about. A topic is a character string that describes the subject of the
information that is published in a Publish/Subscribe message. As a subscriber, you can specify a topic or
range of topics by using wildcards to receive the information that you require.
Related tasks
“Viewing the status of objects” on page 171
Related concepts
“Topics” on page 16
A topic identifies what a publication is about. A topic is a character string that describes the subject of the
information that is published in a Publish/Subscribe message. As a subscriber, you can specify a topic or
range of topics by using wildcards to receive the information that you require.
Related tasks
“Viewing the status of objects” on page 171
*Last LUWID The number of the last logical unit of work that was committed by LSTLUWID
the channel.
MCA status The status of the Message Channel Agent, which is Running or MCASTAT
Not running.
MCA user ID The user ID used by the MCA. This can be the user ID that is set MCAUSER
in the channel definition, the default user ID for MCA channels,
a user ID specified by a security exit, or, if the channel is a server-
connection channel, a user ID transferred from a client.
SSL key reset date The date on which the previous successful TLS secret key was SSLKEYDA
reset. The count of TLS secret key resets is reset when the
channel instance ends.
Note: TLS 1.3 key resets are integral to TLS 1.3, and not
communicated to applications. As a result, on z/OS queue
managers, for receiver channels, this value will not be set when
the channel is communicating using a TLS 1.3 CipherSpec. On
distributed queue managers this value will not be accurate, and
might even be set to zero at either end of a channel, when the
channel is communicating using a TLS 1.3 CipherSpec.
For more information, see Resetting SSL and TLS secret keys.
SSL key reset time The time at which the previous successful TLS secret key was SSLKEYTI
reset. The count of TLS secret key resets is reset when the
channel instance ends.
Note: TLS 1.3 key resets are integral to TLS 1.3, and not
communicated to applications. As a result, on z/OS queue
managers, for receiver channels, this value will not be set when
the channel is communicating using a TLS 1.3 CipherSpec. On
distributed queue managers this value will not be accurate, and
might even be set to zero at either end of a channel, when the
channel is communicating using a TLS 1.3 CipherSpec.
For more information, see Resetting SSL and TLS secret keys.
Related concepts
“Channels” on page 20
IBM MQ can use three different types of channels: a message channel, an MQI channel, and an AMQP
channel.
Related tasks
“Viewing the status of objects” on page 171
Related concepts
“Listeners” on page 24
A listener is an IBM MQ process that listens for connections to the queue manager.
Related tasks
“Viewing the status of objects” on page 171
You can display the current status of any object that can be in different states, in IBM MQ Explorer. For
IBM MQ channels, you can also view the saved status.
Summary
This table lists the attributes in the Summary Status dialog, which displays the summary status
information for the CF application structure.
Connect
This table lists the attributes in the Connect Status dialog, which displays the connection status
information for each CF application structure for each active queue manager.
Backup
This table lists the attributes in the Backup Status dialog, which displays the backup status information
for each CF application structure.
SMDS
This table lists the attributes in the Backup Status dialog, which displays the backup status information
for each CF application structure.
Related concepts
“Coupling facility structures” on page 33
The coupling facility objects in IBM MQ Explorer represent coupling facility structures on a physical
coupling facility. Coupling facility structures store the messages that are on shared queues. Each coupling
facility structure used by IBM MQ is dedicated to a specific queue sharing group, but a coupling facility
can hold structures for more than one queue sharing group.
Related tasks
“Viewing the status of objects” on page 171
Display SMDS
This table lists the read only properties that are shown on the Display SMDS page of the coupling facility
structures dialog.
Related tasks
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
Related reference
“Strings in property dialogs” on page 553
Attribu
te Meaning
Text The byte array appears as text in this field. If you want to edit or define the text, then edit this field.
Bytes The byte array appears as bytes in this field. If you want to edit or define the bytes, then edit this
field.
Related concepts
“Objects in IBM MQ Explorer” on page 13
In IBM MQ Explorer, all of the queue managers and their IBM MQ objects are organized in folders in the
Navigator view.
Related tasks
“Configuring queue managers and objects” on page 37
You can configure many of the properties of queue managers and their objects from IBM MQ Explorer
using the properties dialogs.
Related reference
“IBM MQ subscription properties” on page 413
You can set properties for all types of subscriptions. Some of the properties do not apply to all types of
subscriptions, some properties are specific to z/OS subscriptions.
• User_home\IBM\WebSphereMQ\workspace-
installation_name\.metadata\.plugins\com.ibm.wmqfte.explorer\
• $HOME/IBM/WebSphereMQ/workspace-
installation_name/.metadata/.plugins/com.ibm.wmqfte.explorer
Inside this file, look for the UI_SETTINGS_SUBSCRIPTIONS section, and you should see the subscription
name displayed after the value attribute. The following code is an example of what you see:
Note: If you use IBM MQ Explorer to monitor multiple managed file transfer networks, the same durable
subscription name is used for each of the durable subscriptions that are created.
For example, if you manage two Managed File Transfer networks, with the name of the coordination queue
managers for the networks being your_IDFTEQM and your_IDMFTQM respectively, using the Managed File
Transfer plugin, you can view the subscriptions for each coordination queue manager.
In the IBM MQ Explorer Navigator pane, expand the Queue Managers drop down and you see the two
coordination queue managers your_IDFTEQM and your_IDMFTQM.
Expand the drop down for each of these queue managers, and you see a list of objects for each queue
manager, including Subscriptions. If you click on Subscriptions for each of these queue managers
<extension
id="com.ibm.mq.explorer.sample.simple"
name="Simple Sample"
point="com.ibm.mq.explorer.ui.registerplugin">
<pluginDetails
pluginId="com.ibm.mq.explorer.sample.simple"
name="Simple"
class="com.ibm.mq.explorer.sample.simple.SimpleNotify"
enabledByDefault="true"
description="a very simple sample plug-in to Explorer"
vendor="IBM">
</pluginDetails>
</extension>
Related concepts
“Enabling and disabling a plugin” on page 558
How to enable and disable plugin-ins that contain the register extension point.
“Notify events” on page 558
Notify events
Within the IBM MQ Explorer, when an IBM MQ object is created, or manipulated, a Java object relating to
the IBM MQ object can be generated.
These Java objects can be used to find the name, type, and other externalized attributes of an IBM MQ
object.
For Java objects to be generated, the register extension point must specify a class. In the plugin.xml
file from the simple plugin, the class specified is as follows:
class="com.ibm.mq.explorer.sample.simple.SimpleNotify"
This class contains a number of object specific methods. When an IBM MQ object is created, or
manipulated, the appropriate method from the notify class is called. This class can be used as a basis for
writing your own class. For the methods that this class must contain refer to the IBM MQ Explorer Javadoc
documentation. For information on how to access the IBM MQ Explorer Javadoc documentation, see “API
Reference” on page 561.
<extension
id="com.ibm.mq.explorer.samples.simpleTreeNode"
name="Simple TreeNode"
point="com.ibm.mq.explorer.ui.addtreenode">
<treeNode
pluginId="com.ibm.mq.explorer.sample.simple"
name="com.ibm.mq.explorer.sample.simple"
class="com.ibm.mq.explorer.sample.simple.SimpleTreeNodeFactory"
treeNodeId="com.ibm.mq.explorer.sample.simple"
sequence="888">
</treeNode>
</extension>
As well as declaring the tree node extension point in plugin.xml, the following classes are needed:
• A class that contains a method that checks the ID of any incoming tree node to determine whether to
add sub nodes to it. This class must implement com.ibm.mq.explorer.ui.extensions.ITreeNodeFactory,
and IExecutableExtension. For the methods that this class must contain, refer to the IBM MQ
Explorer Javadoc documentation. For information on how to access the IBM MQ Explorer Javadoc
documentation, see “API Reference” on page 561.
<extension
id="com.ibm.mq.explorer.sample.simpleContentPage"
name="Simple ContentPage"
point="com.ibm.mq.explorer.ui.addcontentpage">
<contentPage
pluginId="com.ibm.mq.explorer.sample.simple"
name="com.ibm.mq.explorer.sample.simple"
class="com.ibm.mq.explorer.sample.simple.SimpleContentPageFactory"
contentPageId="com.ibm.mq.explorer.sample.simple">
</contentPage>
</extension>
As well as declaring the content page extension point in plugin.xml, the following classes are needed:
• A class that contains methods that perform a number of functions such as return the content
page id, create the content page, and set the object to draw the page. This class must extend
com.ibm.mq.ui.extensions.ContentsPage. The class com.ibm.mq.explorer.ui.extensions.ContentTitleBar
can be used to create a title for the content page consistent with the other content pages in the IBM
MQ Explorer. For the methods that this class must contain, refer to the IBM MQ Explorer Javadoc
documentation. For information on how to access the IBM MQ Explorer Javadoc documentation, see
“API Reference” on page 561.
A working example of this class is available in the simple plugin, called SimpleContentPage.java.
• A class that contains a method that returns an instance of the class extending ContentPage. This class
must implement com.ibm.mq.explorer.ui.extensions.IContentPageFactory, and IExecutableExtension.
For the methods that this class must contain refer to the IBM MQ Explorer Javadoc documentation.
A working example of this class is available in the simple plugin, called SimpleContentPageFactory.java
<extension
id="com.ibm.mq.explorer.sample.simple.object1"
name="Object1"
point="org.eclipse.ui.popupMenus">
<objectContribution
objectClass="com.ibm.mq.explorer.ui.extensions.MQExtObject"
id="com.ibm.mq.explorer.sample.simple.obj1">
<visibility>
<and>
<pluginState
value="activated"
id="com.ibm.mq.explorer.ui">
</pluginState>
<objectClass
name="com.ibm.mq.explorer.ui.extensions.MQExtObject">
</objectClass>
<objectState
name="PluginEnabled"
You can add menu items by using the Eclipse Platform extension point org.eclipse.ui.popupMenus.
The <visibility> attribute in the preceding extract contains the elements that control the conditions
under which the pop-up menu item is displayed. These conditions include tests on the plug-in state, the
type of object, and the state of the object. For example, a content menu item can be displayed for local
queues only, or for remote queue managers only.
<extension
id="com.ibm.mq.explorer.samples.simplePropertyTab"
name="Simple Property Tab"
point="com.ibm.mq.explorer.ui.addpropertytab">
<propertyTab
class="com.ibm.mq.explorer.sample.simple.SimplePropertyTabFactory"
objectId="com.ibm.mq.explorer.queuemanager"
pluginId="com.ibm.mq.explorer.sample.simple"
name="com.ibm.mq.explorer.sample.simple"
propertyTabId="com.ibm.mq.explorer.sample.simple.propertyTab"
propertyTabName="Simple Sample Property Tab"/>
</extension>
As well as declaring the property tab extension point in plugin.xml, the following classes are needed:
• A class that contains a method that creates and returns a property page to
be displayed when a user clicks the property tab. This class must implement
com.ibm.mq.explorer.ui.extensions.IPropertyTabFactory. For the methods that this class must contain
refer to the IBM MQ Explorer Javadoc documentation. For information on how to access the IBM MQ
Explorer Javadoc documentation, see “API Reference” on page 561.
A working example of this class, called SimplePropertyTabFactory.java, is available in the simple plugin.
• A class used for creating the property page must extend com.ibm.mq.ui.extensions.PropertyPage. For
the methods that this class must contain refer to the IBM MQ Explorer Javadoc documentation.
A working example of this class, called SimplePropertyPage.java, is available in the simple plugin.
API Reference
Reference information for the IBM MQ Explorer API.
The API Reference information is available only in the installed IBM MQ Explorer.
To access this information, Launch IBM MQ Explorer, then visit this topic in the embedded Help
documentation.
For license inquiries regarding double-byte (DBCS) information, contact the IBM Intellectual Property
Department in your country or send inquiries, in writing, to:
The following paragraph does not apply to the United Kingdom or any other country where such
provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION
PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT,
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of
express or implied warranties in certain transactions, therefore, this statement may not apply to you.
This information could include technical inaccuracies or typographical errors. Changes are periodically
made to the information herein; these changes will be incorporated in new editions of the publication.
IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this
publication at any time without notice.
Any references in this information to non-IBM Web sites are provided for convenience only and do not in
any manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of
the materials for this IBM product and use of those Web sites is at your own risk.
IBM may use or distribute any of the information you supply in any way it believes appropriate without
incurring any obligation to you.
Licensees of this program who wish to have information about it for the purpose of enabling: (i) the
exchange of information between independently created programs and other programs (including this
one) and (ii) the mutual use of the information which has been exchanged, should contact:
IBM Corporation
Software Interoperability Coordinator, Department 49XA
3605 Highway 52 N
Rochester, MN 55901
U.S.A.
Trademarks
IBM, the IBM logo, ibm.com®, are trademarks of IBM Corporation, registered in many jurisdictions
worldwide. A current list of IBM trademarks is available on the Web at "Copyright and trademark
information"www.ibm.com/legal/copytrade.shtml. Other product and service names might be trademarks
of IBM or other companies.
Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or
both.
564 Notices
UNIX is a registered trademark of The Open Group in the United States and other countries.
Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.
This product includes software developed by the Eclipse Project (https://www.eclipse.org/).
Java and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle and/or
its affiliates.
Notices 565
566 IBM MQ Explorer
IBM®
Part Number:
(1P) P/N: