Create a scheme
We can create schemes for most of the tables of data in IBM MQ Explorer.
We can create schemes for queues, channels, and listeners; we 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.
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 .
We can easily adapt the instructions to create schemes for other types of object too.
To create a scheme, complete the following steps.
Procedure
- In the Content view or dialog that contains the table, click the small arrow next to the current filter name. A menu is displayed.
- From the menu, click Manage Schemes The Manage Schemes dialog opens displaying schemes that already exist for the object type.
- In the Manage Schemes dialog, click Add The Add Scheme dialog opens.
- In the Add Scheme dialog, in the Scheme Name field, type a name for the scheme; for example, Monitor the depth of my queues By default, all of the attributes are included in the scheme.
-
Edit the scheme as required for distributed objects and for z/OS objects. For example:
- On the Distributed page, click Remove All. All the attributes in the Displayed attributes list are removed.
- In the Available attributes list, click Queue name, then click Add. The Queue name attribute is added to the Displayed attributes list.
- Repeat step 6 for the Queue type and Current queue depth attributes.
- Click the z/OS tab to change to the z/OS page.
- 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.
- In the Available attributes list, click QSG disposition, then click Add. The QSG disposition attribute is added to the Displayed attributes list.
- Click OK. The Add Scheme dialog closes. The new scheme is displayed in the Manage Schemes dialog along with the other available schemes.
- Click OK to close the Manage Schemes dialog.
Results
We can now apply the scheme to a table of data.
Parent topic: Define schemes to change the order of columns in tablesRelated concepts
Related tasks