Inquire SMDS Connection on z/OS
The response to the Inquire SMDS Connection (MQCMD_INQUIRE_SMDSCONN) command returns status and availability information about the connection between the queue manager and the shared message data sets for the specified CFStrucName.
Required parameters
- SMDSCONN (MQCFST)
- Specify the queue manager which owns the SMDS for which the connection information is to be returned, or an asterisk to return the connection information for all shared message data sets associated with the specified CFStrucName (parameter identifier: MQCACF_CF_SMDSCONN).
- CFStrucName (MQCFST)
- The name of the CF application structure with SMDS connections properties that we want to
inquire on (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 executed 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 executed on the queue manager on which it was entered.
- a queue manager name. The command is executed 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, we must be using a queue sharing group environment, and the command server must be enabled.
- an asterisk (*). The command is executed 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.
Parent topic: Definitions of the Programmable Command Formats