EXEC CICS and CEMT commands for the CICS-WebSphere MQ connection and monitors

Start of changeYou can use EXEC CICS system programming interface (SPI) commands and CEMT commands to manage MQCONN and MQMONITOR resource definitions, start and stop the CICS®-WebSphere® MQ connection and MQ monitors, display information and statistics for the connection and MQ monitors, and purge tasks that are using the connection.End of change

You can issue the EXEC CICS SPI commands in a CICS application program. You can issue CEMT commands directly through the CICS CEMT transaction, without using an application program.

The following table shows the EXEC CICS SPI and CEMT commands and their functions.

Table 1. SPI and CEMT commands for the CICS-WebSphere MQ connection and monitors

EXEC CICS command CEMT command Function
CREATE MQCONN Not available Set up an MQCONN resource definition
DISCARD MQCONN CEMT DISCARD MQCONN Discard an MQCONN resource definition
Note: Start of changeWhen you discard an MQCONN resource that includes a setting for the INITQNAME attribute, the dynamically created MQMONITOR resource and any user-defined MQMONITOR resources are also discarded.End of change
INQUIRE MQCONN CEMT INQUIRE MQCONN Inquire on MQCONN resource definition attributes, status of connection, and number of tasks using connection
SET MQCONN CEMT SET MQCONN Start and stop connection, and change default queue manager or queue-sharing group name and resynchronization strategy
Start of changeCREATE MQMONITOREnd of change Start of changeNot availableEnd of change Start of changeSet up an MQMONITOR resource definitionEnd of change
Start of changeDISCARD MQMONITOREnd of change Start of changeCEMT DISCARD MQMONITOREnd of change Start of changeDiscard an MQMONITOR resource definitionEnd of change
Start of changeINQUIRE MQMONITOREnd of change Start of changeCEMT INQUIRE MQMONITOREnd of change Start of changeInquire on MQMONITOR resource definition attributes and the current status of the monitor (for example, MONSTATUS(STARTED) with a task ID that is not zero)End of change
Start of changeSET MQMONITOREnd of change Start of changeCEMT SET MQMONITOREnd of change Start of changeStart and stop MQMONITOREnd of change
INQUIRE SYSTEM CEMT INQUIRE SYSTEM Find name of installed MQCONN resource definition
SET TASK FORCEPURGE CEMT SET TASK FORCEPURGE Purge tasks that are using the CICS-WebSphere MQ connection
EXTRACT STATISTICS MQCONN not available View statistics online for the CICS-WebSphere MQ connection
SET STATISTICS CEMT SET STATISTICS Reset all statistics including those for the CICS-WebSphere MQ connection


execcemt.html | Timestamp icon Last updated: Sunday, 4 June 2017