Defining automatic sets
We can define queue manager sets that automatically include relevant queue managers.
To define a new set:
Procedure
- In the Navigator view, right-click the Queue Managers folder, then click Sets > New Set... The New Set wizard opens.
- 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.
- Click Automatic to add queue managers using automatic filters and click Next.
- 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 we 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
- Click Finish to create your set and close the wizard.
Results
The new automatic queue manager set is displayed in the Navigator view.What to do next
We 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