Resetting message flow accounting and statistics archive data

You can reset message flow accounting and statistics archive data to force the current interval to complete. You can request this at any time; you do not have to stop data collection and restart it to perform reset.

You cannot reset snapshot data.

Before you start:

To complete this task, you must have completed the following task:

To reset message flow accounting and statistics archive data:

  1. Identify the broker, and optionally the execution group, for which you want to reset archive data. You cannot reset archive data on a message flow basis.
  2. Issue the mqsichangeflowstats command with the appropriate parameters to reset archive data.

    For example, to reset archive data for BrokerA, enter:

    mqsichangeflowstats BrokerA -a -g -j -r  

    Using SDSF on z/OS, enter:

    /F BrokerA,cs a=yes,g=yes,j=yes,r=yes

When this command completes, all accounting and statistics data accumulated so far for this interval are recorded and made available according to the output option currently in effect. The information recorded might therefore represent an incomplete interval. Data collection is restarted from this point. All archive data for all flows (indicated by -j or j=yes) in all execution groups (indicated by -g or g=yes) is reset.

This command has no effect on snapshot data. It does not effect the settings for archive data collection that are currently in force. When the command has completed, data collection resumes according to the current settings.

You can change any other options that are currently in effect when you reset archive data, for example accounting origin settings or output type.

Related concepts
Message flows
Message flow accounting and statistics data
Related tasks
Developing message flow applications
Starting to collect message flow accounting and statistics data
Modifying message flow accounting and statistics data collection parameters
Related reference
Issuing commands to the z/OS console
mqsichangeflowstats command
mqsireportflowstats command
Message flow accounting and statistics data