See information about the latest product version
mqsireportflowstats command - z/OS
Use the mqsireportflowstats command on z/OS® to display the current options for accounting and statistics that have been set by the mqsichangeflowstats command.
Syntax
z/OS command - BIPRPMS
z/OS console command
Synonym: rs
>>-+-reportflowstats-+--+-a=yes-+-------------------------------> '- rs ------------' '-s=yes-' >--+-e=ExecutionGroupName--f=MessageFlow-+----------------------> '-g=yes--j=yes------------------------' >--+--------------------+--+----------------+------------------>< '- k=ApplicationName-' '- y=LibraryName-'
Parameters
- BrokerName
- (Required) 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.
You must specify -a or -s, or both arguments. If you do not specify at least one of these arguments you receive a warning message.
- -e ExecutionGroupName
- (Required) Specify the name for the execution group, for which accounting and statistics options are to be reported.
You must specify either -e or -g. If you do not specify one of these arguments you receive a warning message.
- -f MessageFlow
- (Required) Specify the label for the message flow, for which accounting and statistics options are to be reported.
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.
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.
You must specify either -f or -j. If you do not specify one of these arguments you receive a warning message.
Note: If you set the -g option for all execution groups, you must use -j instead of -f. - -k applicationName
- (Optional) This parameter specifies the name of the application
that contains the message flow for which statistics collection options
are reported.
When you set this parameter, you must also set either the -f (message flow) parameter, or the -j (all message flows) parameter. To display statistics collection options for a named message flow in a specific application, set the -k and -f parameters. To display statistics collection options for all message flows in an application, set the -k and -j parameters.
You can use this parameter with the -y (library name) parameter to specify that the message flow is contained in a library referenced by the application.
- -s
- (Required) Specify that the command reports the stored settings for the snapshot accounting and statistics collection.
You must specify -a or -s, or both arguments. If you do not specify at least one of these arguments you receive a warning message.
- -y libraryName
- (Optional) This parameter specifies the name of the library that
contains the message flow for which statistics collection options
are reported.
When you set this parameter, you must also set either the -f (message flow) parameter, or the -j (all message flows) parameter. To display statistics collection options for a named message flow in a specific library, set the -y and -f parameters. To display statistics collection options for all message flows in a library, set the -y and -j parameters.
Examples
- Request a report for message flow "MyFlow1" in the execution group
"default" 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:
mqsireportflowstats BrokerA -s -g -j
mqsireportflowstats s= a= e=default f=MyFlow1