Use the mqsideleteexecutiongroup command to delete an execution group from a broker.
You must start the Configuration Manager, using mqsistart on Windows platforms, Linux, and UNIX systems, or startcomponent on z/OS, (see mqsistart command) before you can issue this command.
If you are deleting an execution group to which a deployment has previously been made, you must also start the broker before issuing this command.
<?xml version="1.0" encoding="UTF-8"?> <configmgr host="localhost" listenerPort="1414" queueManager="QNAME" securityExit="test.myExit"/>
<?xml version="1.0"?>and remove the value for the host attribute, to leave the statement as:
<configmgr host="" listenerPort="1414" queueManager="QNAME" securityExit="test.myExit"/>
If you are using this file on z/OS and want to connect to the local host you must set the value to "".
If you do not supply the -i, -p, and -q parameters, you must specify the -n parameter.
You need to be a member of the 'mqm' group and the command only succeeds if the user Id running the command has the correct authority defined in the Configuration Manager’s access control list.
In order to delete an execution group, full control authority is required over the broker object; see ACL permissions for a list of permissions that can be defined in the Configuration Manager.
On the domain controlled by theConfiguration Manager whose queue manager is called QMGR and is listening on fred.abc.com:1414, delete an execution group called ‘EG1’ on broker 'BROKER’.
mqsideleteexecutiongroup -i fred.abc.com -p 1414 -q QMGR -b BROKER –e EG1
On the domain specified by the file domain1.configmgr, delete an execution group called ‘EG2’ on broker 'BROKER’.
mqsideleteexecutiongroup –n domain1.configmgr –b BROKER –e EG2
On the domain specified by the file domain2.configmgr, delete an execution group ‘EG3’ on broker ‘FRED’. Wait five minutes for the Configuration Manager to tidy up any resources and send output to trace.txt.
mqsideleteexecutiongroup –n domain2.configmgr –b FRED –e EG3 –w 300 –v trace.txt
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
an26010_ |