mqsireportflowstats command

Supported Platforms

  • Windows
  • Linux and UNIX systems
  • z/OS

Purpose

Use the mqsireportflowstats command to display the current options for accounting and statistics that have been set using the mqsichangeflowstats command.

Syntax

Windows platforms, Linux, and UNIX systems

z/OS

Synonym rs

Parameters

brokername
(Required - Windows platforms, Linux, and UNIX systems) Specify the label of the broker for which the previously stored accounting and statistics options are to be reported.
-a
(Required) Specify that the command reports the stored settings for the archive accounting and statistics collection.
Note: Start of changeYou must specify -a or -s, or both arguments. If you do not specify at least one of these arguments you receive a warning message.End of change
-s
(Required) Specify that the command reports the stored settings for the snapshot accounting and statistics collection.
Note: Start of changeYou must specify -a or -s, or both arguments. If you do not specify at least one of these arguments you receive a warning message.End of change
Start of change-e ExecutionGroupNameEnd of change
Start of change(Required) Specify the name for the execution group, for which accounting and statistics options are to be changed.
Note: You must specify either -e or -g. If you do not specify one of these arguments you receive a warning message.
End of change
-f MessageFlow
(Required) Specify the label for the message flow, for which accounting and statistics options are to be changed.
Note: You must specify either -f or -j. If you do not specify one of these arguments you receive a warning message.
-g
(Required) Specifies that the command applies to all execution groups that belong to the broker.
Note: You must specify either -e or -g. If you do not specify one of these arguments you receive a warning message.
-j
(Required) Specifies that the command applies to all message flows that belong to the execution group.
Note:
  1. You must specify either -f or -j. If you do not specify one of these arguments you receive a warning message.
  2. If you set the -g option for all execution groups, you must use -j instead of -f.

Authorization

The user Id used to issue the command must have mqbrkrs authority.

Responses

This command returns the following responses:
  • BIP2268 Request to report on message flow node ' ': message flow does not exist
  • BIP8001 Unknown flag selected
  • BIP8004 Invalid flags or arguments missing
  • BIP8007 Mandatory argument missing
  • BIP8013 Component does not exist
  • BIP8020 Unable to access the database
  • BIP8029 Broker not configured
  • BIP8033 Unable to send XML message
  • BIP8038 Unsupported command option
  • BIP8039 Execution group not available
  • BIP8040 Unable to connect to database
  • BIP8071: Successful command completion

Examples

Request a report for message flow "MyFlow1" in the execution group "default" for broker "BrokerA" for both archive and snapshot statistics collection:
mqsireportflowstats BrokerA -s -a -e default -f MyFlow1
Request a report of the snapshot options that are currently stored for all message flows in all execution groups for broker "BrokerA" :
   mqsireportflowstats BrokerA -s -g -j
Related concepts
Message flows overview