STATRCD

The STATRCD system initialization parameter specifies the interval statistics recording status at CICS® initialization.

STATRCD={OFF|ON}
This status is recorded in the CICS global catalog for use during warm and emergency restarts. Statistics collected are written to the SMF data set.
OFF
Interval statistics are not collected (no action is taken at the end of an interval).

End-of-day statistics are collected at the logical end of day and on shutdown. Unsolicited statistics are written to SMF when resources are discarded or closed.

ON
Interval statistics are collected.

On a cold start of a CICS region, interval statistics are recorded by default at hourly intervals. All intervals are timed using the end-of-day time as a base starting time (not CICS startup time). The default end-of-day time is midnight, so the default settings result in collections at 00.00, 01.00, 02.00, 03.00, and so on, regardless of the time that you start CICS.

On a warm or emergency restart, the statistics recording status is restored from the CICS global catalog.

You can change the statistics recording status at any time in the following ways:
  • During a warm or emergency restart by coding the STATRCD system initialization parameter.
  • While CICS is running by using the CEMT or EXEC CICS SET STATISTICS command.

Whatever the value of the STATRCD system initialization parameter, you can ask for requested statistics and requested reset statistics to be collected. You can get statistics on demand for all, or for specified, resource types by using CEMT PERFORM STATISTICS or the PERFORM STATISTICS command. See CEMT PERFORM STATISTICS and PERFORM STATISTICS.

The period covered for statistics requested in this way is from the last reset time up to the time that you issue the PERFORM STATISTICS command. The last reset time is one of the following:
  • The beginning of the current interval.
  • The logical end-of-day collection time.
  • The time that you last issued a SET or PERFORM STATISTICS command specifying the RESETNOW option.

For information about the statistics utility program DFHSTUP, see Statistics utility program (DFHSTUP).