Creating a scheme

You can create schemes for most of the tables of data in IBM® MQ Explorer.

About this task

You can create schemes for queues, channels, and listeners; you can also create schemes for status tables in the Status dialogs, such as the Queue Status dialog. A scheme can be applied only to one type of object because different types of objects have different attributes.

[UNIX, Linux, Windows, IBM i]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.

[z/OS]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:
    1. On the Distributed page, click Remove All. All the attributes in the Displayed attributes list are removed.
    2. In the Available attributes list, click Queue name, then click Add. The Queue name attribute is added to the Displayed attributes list.
    3. Repeat step 6 for the Queue type and Current queue depth attributes.
    4. Click the z/OS tab to change to the z/OS page.
    5. 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.
    6. 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.