Defining automatic sets

We can define queue manager sets that automatically include relevant queue managers.


To define a new set:


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 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
    If you need to create, copy, edit, or delete filters, we can do so now by clicking on Manage Filters... and following the instructions as described in: Managing filters for automatic sets. Alternatively, filters can be managed at a later time if required.
  5. 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