Stop SMDS Connection on z/OSĀ®

Use the Stop SMDS Connection (MQCMD_STOP_SMDSCONN) command to terminate the connection from this queue manager to one or more specified shared message data sets (causing them to be closed and deallocated) and to mark the connection as STOPPED.


Required parameters

    SMDSConn (MQCFST)
    Specifies the queue manager name relating to the connection between the shared message data set and the queue manager (parameter identifier: MQCACF_CF_SMDSCONN).

    An asterisk value can be used to denote all shared message data sets associated with a specific CFSTRUCT name.

    The maximum length of the string is 4 characters.

    CFStrucName (MQCFST)
    The name of the CF application structure with SMDS connections properties to stop (parameter identifier: MQCA_CF_STRUC_NAME).

    The maximum length of the string is MQ_CF_STRUC_NAME_LENGTH.

    CommandScope (MQCFST)
    Command scope (parameter identifier: MQCACF_COMMAND_SCOPE). Specifies how the command is processed when the queue manager is a member of a queue-sharing group. We can specify one of the following:

    • blank (or omit the parameter altogether). The command is processed on the queue manager on which it was entered.
    • a queue manager name. The command is processed on the queue manager you specify, providing it is active within the queue sharing group. If you specify a queue manager name other than the queue manager on which it was entered, you must be using a queue sharing group environment, and the command server must be enabled.
    • an asterisk (*). The command is processed on the local queue manager and is also passed to every active queue manager in the queue sharing group.

    The maximum length is MQ_QSG_NAME_LENGTH.