ASPLMQ User Guide v 1.00
© 2026 Bassem W. Jamaleddine


H

   Middleware's MQ Monitoring at ACME Co.


At ACME Co., the middleware engineering team deployed IBM MQ across two distinct hosts: nynymq and vavamq. To monitor the active infrastructure, the team requires real-time tracking of configuration modifications applied to the queue managers, including their underlying queue and channel objects. The team also needs to compare disparate queue managers and their associated objects, with the capability to dispatch automated email notifications reporting any detected anomalies. To implement this solution, the team deployed ASPL and integrated the utility scripts outlined in the following tables. Refer to the appendix Adding MQ Scripting to ASPL for instructions on provisioning these scripts within a local environment.

At ACME Co., the middleware team deployed IBM MQ on hosts nynymq and vavamq. To track and compare configuration changes across queue managers, queues, and channels—and to automate email alerts when drift occurs—the team deployed ASPL and implemented the scripts listed in the following tables. See the appendix Adding MQ Scripting to ASPL to make these scripts available on a local target system.

The scripts to compare qmgrs are shown in Table H.1. Each namedspace listed in the table uses the IBMMQ_QMGR_GROUP element grouping class.
 Tab. H.1   [Scripts to Display and Compare IBM MQ QMGRs]
Script Name Namedspace Description
qmgrsdisp.pl  TRANSIENT  Display Qmgr Attributes 
qmgrscompare.pl  TRANSIENT  Compare Qmgrs 
acme_qmgrs.aspl  IBMMQ_QMGRS  Display incremental changes in a qmgr 
acme_delta_qmgrs.aspl  IBMMQ_DELTA_QMGRS  Record and display incremental changes in a qmgr 
clustered_delta_qmgrs.aspl  CLUSTERED_TESTA_QMGRS  Compare clustered qmgr TESTA 
monitor_clustered_delta_qmgrs.aspl  CLUSTERED_TESTA_QMGRS  Notify via email on changes in clustered qmgr TESTA 





The scripts to compare queues are shown in Table H.2. Each namedspace listed in the table uses the IBMMQ_QUEUES_GROUP element grouping class.
 Tab. H.2   [Scripts to Display and Compare IBM MQ Queues]
Script Name Namedspace Description
queuesdisp.pl  TRANSIENT  Display queue attributes 
queuescompare.pl  TRANSIENT  Compare queues based on their attributes 
acme_queues.aspl  IBMMQ_QUEUES  Display incremental changes in queues 
acme_delta_queues.aspl  IBMMQ_QUEUES  Record and display incremental changes in queues 
clustered_delta_queues.aspl  CLUSTERED_TESTA_QUEUES  Compare clustered queue in qmgr TESTA 
monitor_clustered_delta_queues.aspl  CLUSTERED_TESTA_QUEUES  Notify via email on changes in clustered queues in qmgr TESTA 





The scripts to compare channels are shown in Table H.3. Each namedspace listed in the table uses the IBMMQ_CHANNELS_GROUP element grouping class.
 Tab. H.3   [Scripts to Display and Compare IBM MQ Channels]
Script Name Namedspace Description
channelsdisp.pl  TRANSIENT  Display channel attributes 
channelscompare.pl  TRANSIENT  Compare channels based on their attributes 
acme_channels.aspl  IBMMQ_CHANNELS  Display incremental changes in channels 
acme_delta_channels.aspl  IBMMQ_CHANNELS  Record and display incremental changes in channels 
clustered_delta_channels.aspl  CLUSTERED_TESTA_CHANNELS  Compare clustered channel in qmgr TESTA 
monitor_clustered_delta_channels.aspl  CLUSTERED_TESTA_CHANNELS  Notify via email on changes in clustered channels in qmgr TESTA