Modifying message flow accounting and statistics data collection settings by using the mqsichangeflowstats command

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 integration server 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 begin

About this task

To modify message flow accounting and statistics parameters:

Procedure

  1. Decide which data collection parameters you want to change.
    You can modify the parameters that are in force for an integration node, an integration server, or an individual message flow.
  2. Issue the mqsichangeflowstats command with the appropriate parameters to modify the parameters that are currently being used 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 integration server IS2 for integration node INodeA, enter:

    mqsichangeflowstats INodeA -s -e IS2 -f MFlow2 -c active
    
    /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 integration server, enter:

    mqsichangeflowstats INodeA -a -e IS44 -f MFlowX -b basic
    
    /F BrokerA,cs a=yes,e=EG4,f=MFlowX,b=basic

    Refer to the mqsichangeflowstats command for further information.

Results

When the command completes successfully, the new parameters that you have specified for data collection are in effect. These parameters remain in effect until you stop data collection or make further modifications.