ASPLMQ User Guide v 1.00
© 2026 Bassem W. Jamaleddine
Visual comparisons of IBM MQ queue manager attribute drift are rendered by executing ASPL operators against the differential group variables representing the queue manager configuration. Additionally, ASPL monitoring operators can dispatch real-time email alerts to notify designated recipients immediately when changes are detected. In this section we show how to use ASPL to detect changes in clustered IBM MQ qmgrs. In the first section, we introduce the script clustered_delta_qmgrs.aspl that detects changes in the clustered qmgr TESTA installed at ACME Co. on hosts nynymq and vavamq. In the second part, we show the usage of ASPL powerful playchanges on differential group variables to visualiase the changes in the qmgrs configuration that occured over time. In the third section, we introduce the script monitor_clustered_delta_qmgrs.aspl that does the same as the previous script, but it also send email notifications to recipients reporting what has changed in the qmgrs.
In the previous section "Grouping Class for IBM MQ Qmgr Attributes" we already created the element grouping class (metagrouping) IBMMQ_QMGR_GROUP that we will use in here.
■ Detecting Configuration Change in a Clustered Qmgr
We need to to detect changes in the clustered qmgr TESTA. For instance, we will make some changes in the qmgr TESTA on host vavamq, then we will run the script clustered_delta_qmgrs.aspl to detect the changes. Before making any change, let's start coding the script clustered_delta_qmgrs.aspl
We edit the script clustered_delta_qmgrs.aspl in ASPL's shared directory.
This section is not included in the SAMPLE PREVIEW.
■ Playing the differential group variable to view changes in qmgr TESTA chronogically
In ASPL, use the operator playchanges on a differential group variable to display the delta changes within the variable over time. For instance, to view the four changes we carried in the differencial group variable vatesta that represents the qmgr TESTA hosted on vavamq, we simply enter the following command.
# asplcmd "load CLUSTERED_TESTA_QMGRS; intermittentarc 1; playchanges vatesta"
To have a better view of the changes of the qmgr TESTA over time, let's start an ASPL session loading the namedspace CLUSTERED_TESTA_QMGRS. Display 3.1.4 shows an ASPL session with playchanges on the differential group variables vatesta and nyvatesta. Note that, the command also prints the rate of change in the states of the differential group variable.
■ Sending Email Notification on Qmgr Configuration Change
From now on, we can monitor changes in the clustered qmgr TESTA simply by invoking the script monitor_clustered_delta_qmgrs.aspl shown in Listing 3.1.2.
This section is not included in the SAMPLE PREVIEW.
Figure 3.1.4 shows the execution of the script monitor_clustered_delta_qmgrs.aspl on the set variable nyvatesta after making the change. Notice how the changes in the qmgr attributes have been detected, and an email notification has been sent to the recipient as an alter.
Figure 3.1.5 shows the email notification that has been sent to the recipients on file to report the change in the qmgrs.