Controlling file level statistics
You can dynamically control the collection of access statistics for VSAM, DLI, and third-party database products.
For these products, you can decide whether you want only statistics by task or you also want to collect statistics by file or database. For DB2®, only task statistics can be collected. For VSAM, task statistics are always collected if CICS Monitoring is active, but you may decide whether you want file statistics. Select the Collection Control option (P) on the Control Options path (Main Menu option O) or enter fast path O.P from any panel to access the Database Collection Control panel as shown in the following figure:
This panel controls the collection of file statistics for online historical displays (ONDV) and SMF records. One line displays for each product specified in the global module. You can turn on or turn off monitoring for each product by over typing the current value with ON or OFF.
You can collect task statistics without collecting file statistics. If you turn off task statistics, file statistics automatically turn off. If you want to turn on file statistics, you must also turn on task statistics.
The file statistics for DB2 are not collected, but you may decide whether you want DB2 task statistics.
The task statistics for VSAM are collected as long as CICS Monitoring is active. Therefore, the task-level field for VSAM is only informational.
The Write to ONDV and Write to SMF columns refer only to file level statistics. The task level statistics are always written as long as task level monitoring is ON.