Controlling the WebSphere MQ extension on i5/OS platforms
- Before starting an extension, enter WRKACTJOB to check that the agent is running. Look for QPEA in the list of running jobs. If it is not running, enter the following command:
SBMJOB CMD(CALL PGM(QPASA/QPEA) PARM('--start')) - Use the commands:
SBMJOB CMD(CALL PGM(QPASA/QPMON) PARM('command parameter'))
SBMJOB CMD(CALL PGM(QPASA/QPCFG) PARM('command parameter'))
The table below lists the command parameters.
For example, to start the WebSphere MQ monitoring extension, enter:
SBMJOB CMD(CALL PGM(QPASA/QPMON) PARM('–start'))
Likewise, to stops the WebSphere MQ configuration extension, enter:
SBMJOB CMD(CALL PGM(QPASA/QPCFG) PARM('--stop'))
Command parameter | Use to... |
---|---|
--console | Run the extension program in the foreground, displaying log messages as they are generated. It is useful when trying to locate or troubleshoot problems. |
--help | List the available command prompt options (this list) and short descriptions. |
--start | Start the extension. If an extension does not start while the TMTM Extensible Agent is running, ensure that MAXJOB is set to *NOMAX. The command is: CHGSBSD QBATCH MAXJOBS(*NOMAX). TrueSight Middleware and Transaction Monitor starts a separate QPMONSUB job for each queue manager that is monitored on i5/OS. For example, when monitoring three queue managers, there is one instance of QPMON and three instances of QPMONSUB. |
--stop | Stop the extension. |
--version | List the version of the extension. |
For information about how to secure individual agents, see Managing-WebSphere-MQ-object-security.