You can modify the parameters that you have set for
message flow accounting and statistics data collection. For example, you can
start collecting data for a new message flow that you have deployed to an
execution group for which you are already collecting data.
You can
modify parameters while data collection is active; you do not have to stop
data collection and restart it.
Before you start:
To modify message flow accounting and statistics parameters:
- Decide which data collection parameters you want to change. You can modify the parameters that are in force for a broker, an execution
group, or an individual message flow.
- Issue the mqsichangeflowstats command
with the appropriate parameters to modify the parameters that are currently
being used by the broker to control archive data collection or snapshot data
collection.
For example, to modify parameters to extend
snapshot data collection to a new message flow MFlow2 in execution group EG2
for BrokerA, enter:
mqsichangeflowstats BrokerA -s -e EG2 -f MFlow2 -c active
Using SDSF on z/OS, enter:
/F BrokerA,cs s=yes,e=EG2,f=MFlow2,c=active
If
you want to specify an accounting origin for archive data for a particular
message flow in an execution group, enter:
mqsichangeflowstats BrokerA -a -e EG4 -f MFlowX -b basic
Using SDSF on z/OS, enter:
/F BrokerA,cs a=yes,e=EG4,f=MFlowX,b=basic
Refer
to the mqsichangeflowstats command for further examples.
When the command completes successfully, the new parameters that
you have specified for data collection are in force. These parameters remain
in force until you stop data collection or make further modifications.