DISCARD MQCONN

Start of changeRemove an MQCONN resource definition. Any dynamically created MQMONITOR resource and any user-defined MQMONITOR resources are also discarded.End of change

Read syntax diagramSkip visual syntax diagram
DISCARD MQCONN

>>-DISCARD MQCONN----------------------------------------------><

Conditions: INVREQ, NOTAUTH, NOTFND

This command is threadsafe.

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.

Start of changeDiscarding an MQCONN resource definition discards all installed MQMONITOR resources including any MQMONITOR resource that was dynamically installed because the MQCONN resource contains a valid queue name in the INITQNAME attribute.End of change

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.


dfha8_discardmqconn.html | Timestamp icon Last updated: Monday, 5 June 2017