Statistics
Statistics are often overlooked as a source of debugging information, but statistics that relate to an application program can help solve problems.
It is useful to have a statistical profile (as mentioned in Documentation) to use for problem determination. If you compare the information in the profile with the statistical information produced by CICS®, any differences you find might indicate the source of a problem.
Statistics are most often used in system tuning and diagnosis, but they also contain information that can indicate problems with the way your application handles resources. For example, you might notice from these statistics that tables are being loaded, or programs are being linked, for which there is no known requirement.
You can also use statistics to check terminals, files, queues, and other resources, for irregularities in their activity. For example, if a terminal has a number of errors that are recorded for a particular transaction that equal the number of times that transaction was run, this might indicate that an incorrect data stream is being sent to that terminal. For more information about statistics, see Introduction to CICS statistics.