Middleware Approach for Configuration Monitoring of IBM MQ
ASPLMQ 1.00

 

PREFACE

7 October 2026

This guide shows you how to use SetSphere's ASPL calculator to monitor and to detect changes in IBM MQ objects. You should have installed ASPL on your computer.

In this user guide we refer to the ASPL prompt with aspl> as shown here

aspl> 

If the order of command is important, then we will number them as follows

aspl 1 > acmeny = ggqmgrchann(hostname,nynymq,qmgrname,ACMENYNY)

aspl 2 > v gad acmeny

aspl 3 > ? acmeny



We refer to the UNIX shell prompt with a hash as shown here

#  aspl -v



All commands issued on the command prompt are preceded by a hash #. What precedes the hash # can be informative on where the command was entered. For instance, since IBM MQ is typically hosted on a server under the UNIX user mqm, and for the purpose of testing, we need to issue some commands on the host serving the queue manager, for clarity we will use the following notation for the command prompt.

Say the qmgr ACMECO is running on the host server vavamq, we want to issue the command to list the queue of ACMECO, then we will use the following command:

(vavamq's qmgr:ACMECO) 18:23 mqm@vavamq: ~ #  echo "dis ql(*)" | runmqsc ACMECO

Notice the shell prompt is always the # and the host and the qmgr name are shown in parenthesis at the beginning of the line and prior to the prompt. This command is being executed by the user mqm on the host vavamq.

If the order of commands execution is important, then the commands are numbered as follows:

1) - (vavamq's qmgr:ACMECO) 18:23 mqm@vavamq: ~ #  echo "dis QL(FOO) MAXMSGL" | runmqsc ACMECO

2) - (vavamq's qmgr:ACMECO) 18:23 mqm@vavamq: ~ #  echo "echo "DEFINE QL(FOO) MAXMSGL(10111222) REPLACE" | runmqsc ACMECO

3) - (vavamq's qmgr:ACMECO) 18:23 mqm@vavamq: ~ #  echo "dis QL(FOO) MAXMSGL" | runmqsc ACMECO

Here, the first command displays the MAXMSGL of the local queue FOO, the second command changes the MAXMSGL to 10111222, and the third command displays the MAXMSGL again to make sure the change took place.

The formatting of the command was made possible with a specialized formatter PPAGES that I wrote to convey information in a distributed UNIX environment that depends on the shell command prompt.

The commands shown in this manual have been captured on one host where ASPL is installed, and two hosts: nynymq and vavamq where IBM MQ has been installed.

Throughout this text, commands issued at either the system shell prompt or the ASPL prompt are presented within scrollable boxes, each labeled with the word "Display" followed by an identification number. These display boxes illustrate the exact command-line entries; however, due to the scrollable container format, their complete contents are unexpanded within the printed edition of this manual. Full command-line listings can be viewed and expanded exclusively within the HTML distribution of the text.

The chapter "Introduction to IBM MQ Configuration Objects Monitoring with ASPL" is a brief description of what is being addressed in this text.
The MQ parser is the Perl module shown in appendix "The module MQutils::MQparser to Parse IBM MQ Objects".
The code distribution is in ASPLMQ-v1.tgz can be downloaded from ASPL's home site at TCND.COM. If you have installed ASPL, you can quickly install the code distribution as an add-on to your ASPL installation by going over appendix "Adding MQ Scripting to ASPL".

Bassem Jamaleddine
New York, NY
October 2026

Contents