DISPLAY SMDS (display shared message data sets information) on z/OS

Use the MQSC command DISPLAY SMDS to display the parameters of existing IBM® MQ shared message data sets associated with a specified application structure.

Using MQSC commands

For information on how you use MQSC commands, see Performing local administration tasks using MQSC commands.

You can issue this command from sources 2CR. For an explanation of the source symbols, see Sources from which you can issue MQSC commands on z/OS®.



Read syntax diagramSkip visual syntax diagramDISPLAY SMDS(qmgr-name*)CFSTRUCT(structure-name)WHERE(FilterCondition)ALLrequested attrs
Requested attrs
Read syntax diagramSkip visual syntax diagram,DSBUFS1DSEXPAND1

Parameter descriptions for DISPLAY SMDS

The parameter descriptions for the DISPLAY SMDS command.
Specifies the queue manager for which the shared message data set properties are to be displayed, or an asterisk to display the properties for all shared message data sets associated with the specified CFSTRUCT.
CFSTRUCT( structure-name )
Specify the coupling facility application structure for which the properties of one or more shared message data sets are to be displayed.
Specify a filter condition to display only the SMDS information that satisfies the selection criterion of the filter condition. The filter condition is in three parts: filter-keyword, operator, and filter-value:
Any parameter that can be used to display attributes for this DISPLAY command.
This is used to determine whether a CF application structure satisfies the filter value on the given filter keyword. The operators are:
Less than
Greater than
Equal to
Not equal to
Less than or equal to
Greater than or equal to
Matches a generic string that you provide as a filter-value
Does not match a generic string that you provide as a filter-value
The value that the attribute value must be tested against using the operator. Depending on the filter-keyword, this can be:
  • An explicit value, that is a valid value for the attribute being tested.

    You can use any of the operators except LK and NL. However, if the value is one from a possible set of values returnable on a parameter (for example, the value YES on the RECOVER parameter), you can only use EQ or NE.

  • A generic value. This is a character string (such as the character string you supply for the DESCR parameter) with an asterisk at the end, for example ABC*. The characters must be valid for the attribute you are testing. If the operator is LK, all items where the attribute value begins with the string (ABC in the example) are listed. If the operator is NL, all items where the attribute value does not begin with the string are listed. You cannot use a generic filter-value for parameters with numeric values or with one of a set of values.

    You can only use operators LK or NL for generic values on the DISPLAY SMDS command.

Specify this keyword to display all attributes. If this keyword is specified, any attributes that are requested specifically have no effect; all attributes are still displayed.
This is the default behavior if you do not specify a generic name and do not request any specific attributes.

Requested parameters for DISPLAY SMDS

The following information is returned for each selected data set:
The queue manager name which owns the shared message data set for which properties are being displayed.
The coupling facility application structure name.
Displays the override value for the number of buffers to be used by the owning queue manager for accessing shared message data sets for this structure, or DEFAULT if the group value from the CFSTRUCT definition is being used.
Displays the override value (YES or NO) for the data set expansion option, or DEFAULT if the group value from the CFSTRUCT definition is being used.