Change the recording of CICS statistics.
SET STATISTICS >>-SET STATISTICS--+----------------------------------+---------> +-ENDOFDAY(data-value)-------------+ | .------------------------------. | | V | | '---+--------------------------+-+-' +-ENDOFDAYHRS(data-value)--+ +-ENDOFDAYMINS(data-value)-+ '-ENDOFDAYSECS(data-value)-' >--+----------------------------------+-------------------------> +-INTERVAL(data-value)-------------+ | .------------------------------. | | V | | '---+--------------------------+-+-' +-INTERVALHRS(data-value)--+ +-INTERVALMINS(data-value)-+ '-INTERVALSECS(data-value)-' >--+--------------------------------------------------+-------->< '-+-RECORDING(cvda)-+--+-----------+--+----------+-' +-ON--------------+ '-RECORDNOW-' '-RESETNOW-' '-OFF-------------'
Conditions: INVREQ, NOTAUTH
For more information about the use of CVDAs, see CICS-value data areas (CVDAs).
The SET STATISTICS command allows you to change values that control the recording of CICS statistics and to reset the counts.
CICS records system and resource statistics periodically if the RECORDING switch is on, at a frequency governed by the INTERVAL option. These statistics are called interval statistics. At end-of-day time (the ENDOFDAY option), CICS records end-of-day statistics--which are the statistics for the interval since the last resetting--whether or not the switch is on, ensuring that statistics are written at least once a day. Recording occurs on a system management facility (SMF) data set, and the counts are reset after recording.
When CICS is initialized, the length of the first interval is adjusted so that an integral number of intervals remains until end-of-day time. If you change the recording interval, the same adjustment is made to the current interval. The arrival of end-of-day time, whether changed or not, ends the current recording interval. After the statistics are written out, the next interval is adjusted again if necessary, so that the recording interval divides the time remaining to the next end-of-day evenly.
These rules are illustrated by the following example. I indicates an interval recording and E indicates an end-of-day recording. The system is cold started with STATRCD, the option that sets the initial value for the RECORDING switch, set to ON.
The CICS® Performance Guide contains more detail about CICS statistics, including the values to which various types of statistics are reinitialized.
The two time values that you can set with this command can be expressed in several ways:
For example, you could express an INTERVAL of 1 hour and 30 minutes in any of the following ways:
End-of-day time is expressed in local time and must be in the range 00:00:00-23:59:59. When you use the ENDOFDAY option, or more than one of the separate end-of-day options, neither the minutes nor the seconds portions can exceed 59. If you use ENDOFDAYMINS alone the limit is 1439 and for ENDOFDAYSECS used alone it is 86399.
CVDA values are: