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.
Before you begin
Before you add, edit, copy or delete filters, complete the following steps:
- Enable set visibility as described in Displaying queue manager sets.
- Define a set for the queue managers to be added to or removed from as described in Defining automatic sets.
- Right-click the set you want to manage filters for in the Navigator view,
then click Edit Set... to open the Edit Set window.
- Click Manage Filters to open the Manage Filters window.
Procedure
-
[OPTION 1] Add a new filter
- Open the Manage Filters window, as described at the beginning of this topic.
-
In the Manage Filters window, click Add...
The Add Filter window opens.
- In the Add Filter window, in the Filter Name field, type a name
for the filter; for example, Queues containing more
than 50 messages
- In the Includes queue
managers where fields, you can enter the criteria to add
to the new filter. For example, enter the following information:
- 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*
- 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.
- 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.
-
Click OK.
The Add Filter window closes. The new filter is displayed in the
Manage Filters window with any other available filters.
-
In the Manage Filters window, click OK.
The Manage Filters window closes.
Your new filter is added to the list of available filters.
-
[OPTION 2] Edit a filter
- Open the Manage Filters window, as described at the beginning of this topic.
-
In the Manage Filters window, click Edit...
The Edit Filter dialog opens.
-
In the Edit Filter dialog, add, remove, or change the criteria that are
set for the filter, then click OK.
- 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.
-
[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.
- Open the Manage Filters window, as described at the beginning of this topic.
-
In the Manage Filters window, select the filter you want to copy, then
click Copy As...
The Copy Filter dialog opens.
-
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.
-
In the Manage Filters window, click Edit...
The Edit Filter dialog opens.
-
In the Edit Filter dialog, add, remove, or change the criteria that are
set for the filter, then click OK.
- Click OK to close the Manage Filters window.
The new filter is available to apply.
-
[OPTION 4] Remove a filter
- Open the Manage Filters window, as described at the beginning of this topic.
-
In the Manage Filters window, select the filter you want to delete, then
click Remove...
The Remove Filter confirmation dialog opens.
- Click Yes to remove the filter and
close the confirmation dialog.
- Click OK to close the Manage Filters window.
The filter you deleted is removed from the list of filters
for the selected queue manager set. Any queue managers added to the
set by the filter will no longer be a member of the set in the Navigator
view.