DISCARD MQCONN
Remove an MQCONN resource definition. Any implicit MQINI resource definition is also discarded.
Description
The DISCARD MQCONN command removes an installed MQCONN resource definition from the local CICS® system. Only one MQCONN resource definition can be installed in a CICS system at a time, so no name or identifier is required on this command.
An MQCONN resource definition can be discarded only when CICS is not connected to WebSphere® MQ.
If the installed MQCONN resource definition had an INITQNAME attribute, CICS installed an implicit MQINI resource definition to represent the default initiation queue. When you discard the MQCONN resource definition, CICS discards any associated MQINI resource definition.
Options
None
Conditions
- INVREQ
- RESP2 values:
- 2
- CICS is connected to WebSphere MQ.
- NOTAUTH
- RESP2 values:
- 100
- The user associated with the issuing task is not authorized to use this command.
- NOTFND
- RESP2 values:
- 1
- An MQCONN resource definition cannot be found.