[z/OS]

Inquire Storage Class

HP Integrity NonStop Server IBM® i UNIX and Linux® Windows z/OS®
        X

The Inquire Storage Class (MQCMD_INQUIRE_STG_CLASS) command returns information about storage classes.

Required parameters

StorageClassName (MQCFST)
Storage class name (parameter identifier: MQCA_STORAGE_CLASS).

Generic storage class names are supported. A generic name is a character string followed by an asterisk (*), for example ABC*, and it selects all storage classes having names that start with the selected character string. An asterisk on its own matches all possible names.

The maximum length of the string is MQ_STORAGE_CLASS_LENGTH.

Optional parameters

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. You 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, you 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.

You cannot use CommandScope as a parameter to filter on.

IntegerFilterCommand (MQCFIF)
Integer filter command descriptor. The parameter identifier must be any integer type parameter allowed in StgClassAttrs except MQIACF_ALL. Use this parameter to restrict the output from the command by specifying a filter condition. See MQCFIF - PCF integer filter parameter for information about using this filter condition.

If you specify an integer filter for PageSetId, you cannot also specify the PageSetId parameter.

If you specify an integer filter, you cannot also specify a string filter using the StringFilterCommand parameter.

PageSetId (MQCFIN)
Page set identifier that the storage class is associated with (parameter identifier: MQIA_PAGESET_ID).

If you omit this parameter, storage classes with any page set identifiers qualify.

QSGDisposition (MQCFIN)
Disposition of the object within the group (parameter identifier: MQIA_QSG_DISP).
Specifies the disposition of the object (that is, where it is defined and how it behaves). The value can be:
MQQSGD_LIVE
The object is defined as MQQSGD_Q_MGR or MQQSGD_COPY. MQQSGD_LIVE is the default value if the parameter is not specified.
MQQSGD_ALL
The object is defined as MQQSGD_Q_MGR or MQQSGD_COPY.

If there is a shared queue manager environment, and the command is being executed on the queue manager where it was issued, this option also displays information for objects defined with MQQSGD_GROUP.

If MQQSGD_LIVE is specified or defaulted, or if MQQSGD_ALL is specified in a shared queue manager environment, the command might give duplicated names (with different dispositions).

MQQSGD_COPY
The object is defined as MQQSGD_COPY.
MQQSGD_GROUP
The object is defined as MQQSGD_GROUP. MQQSGD_GROUP is permitted only in a shared queue environment.
MQQSGD_Q_MGR
The object is defined as MQQSGD_Q_MGR.
MQQSGD_PRIVATE
The object is defined with either MQQSGD_Q_MGR or MQQSGD_COPY. MQQSGD_PRIVATE returns the same information as MQQSGD_LIVE.

You cannot use QSGDisposition as a parameter to filter on.

StgClassAttrs (MQCFIL)
Storage class parameter attributes (parameter identifier: MQIACF_STORAGE_CLASS_ATTRS).
The attribute list might specify the following value on its own - is the default value used if the parameter is not specified:
MQIACF_ALL
All attributes.
or a combination of the following:
MQCA_STORAGE_CLASS
Storage class name.
MQCA_STORAGE_CLASS_DESC
Description of the storage class.
MQIA_PAGESET_ID
The page set identifier to which the storage class maps.
MQCA_XCF_GROUP_NAME
The name of the XCF group of which IBM MQ is a member.
MQIA_XCF_MEMBER_NAME
The XCF member name of the IMS system within the XCF group specified in MQCA_XCF_GROUP_NAME.
MQCA_ALTERATION_DATE
The date on which the definition was last altered.
MQCA_ALTERATION_TIME
The time at which the definition was last altered.
StringFilterCommand (MQCFSF)
String filter command descriptor. The parameter identifier must be any string type parameter allowed in StgClassAttrs except MQCA_STORAGE_CLASS. Use this parameter to restrict the output from the command by specifying a filter condition. See MQCFSF - PCF string filter parameter for information about using this filter condition.

If you specify a string filter, you cannot also specify an integer filter using the IntegerFilterCommand parameter.