File statistics

You can use file statistics to monitor input and output activity of application requests against your files. File statistics indicate the number of service requests that CICS® processes against each file. If CICS totals the number of requests on every CICS invocation, you can monitor any changes that occur in the input and output activity for each file. Because these file statistics might have been reset during the day, see the summary report to obtain a figure of total activity against a particular file during the day.

The statistics do not tell you directly how many input and output accesses CICS has performed for each transaction. You require a single-transaction measurement for this. Nevertheless, by regularly totaling the service requests against individual files, you can anticipate file problems that might occur when input and output activity increases.

The statistical information that is provided by CICS for files lists the number of service requests that are processed against each file that is defined in the File Definitions (FD). The information is dependent on the types of requests that are allowed on the file.

Table 1. File statistics
Statistic ID High-level language names, statistic message, explanation
020000
C
CICSSTAT_FILE_NOREADS
COBOL
CS-FILE-NOREADS
Message
Number of file control reads

Explanation: This is used in the statistic record label, to indicate the number of reads that were performed by file control.

020001
C
CICSSTAT_FILE_NOWRITES
COBOL
CS-FILE-NOWRITES
Message
Number of file control writes

Explanation: This is used in the statistic record label, to indicate the number of writes that were performed by file control.

020002
C
CICSSTAT_FILE_NOBROWSES
COBOL
CS-FILE-NOBROWSES
Message
Number of file control browses

Explanation: This is used in the statistic record label, to indicate the number of browse operations that are performed by file control. It includes the number of READNEXT and READPREV requests only. It does not include the number of STARTBR, ENDBR, or RESETBR requests.

020003
C
CICSSTAT_FILE_NODELETES
COBOL
CS-FILE-NODELETES
Message
Number of file control deletes

Explanation: This is used in the statistic record label, to indicate the number of deletes that were performed by file control.

020004
C
CICSSTAT_FILE_NOUPDATES
COBOL
CS-FILE-NOUPDATES
Message
Number of file control updates

Explanation: This is used in the statistic record label, to indicate the number of updates that were performed by file control.

020005
C
CICSSTAT_FILE_NOOPENS
COBOL
CS-FILE-NOOPENS
Message
Number of file control opens

Explanation: This is used in the statistic record label, to indicate the number of opens that were performed by file control.

020006
C
CICSSTAT_FILE_NOCLOSES
COBOL
CS-FILE-NOCLOSES
Message
Number of file control closes

Explanation: This is used in the statistic record label, to indicate the number of closes that were performed by file control.

020007
C
CICSSTAT_FILE_NOREADS_TOTAL
COBOL
CS-FILE-NOREADS-TOTAL
Message
Total number of file control reads

Explanation: This is used in the statistic record label, to indicate the number of reads that were performed by file control.

020008
C
CICSSTAT_FILE_NOWRITES_TOTAL
COBOL
CS-FILE-NOWRITES-TOTAL
Message
Total number of file control writes

Explanation: This is used in the statistic record label, to indicate the total number of writes that were performed by file control.

020009
C
CICSSTAT_FILE_NOBROWSES_TOTAL
COBOL
CS-FILE-NOBROWSES-TOTAL
Message
Total number of file control browses

Explanation: This is used in the statistic record label, to indicate the total number of browses that were performed by file control.

02000A
C
CICSSTAT_FILE_NODELETES_TOTAL
COBOL
CS-FILE-NODELETES-TOTAL
Message
Total number of file control deletes

Explanation: This is used in the statistic record label, to indicate the total number of deletes that were performed by file control.

02000B
C
CICSSTAT_FILE_NOUPDATES_TOTAL
COBOL
CS-FILE-NOUPDATES-TOTAL
Message
Total number of file control updates

Explanation: This is used in the statistic record label, to indicate the total number of updates that were performed by file control.

02000C
C
CICSSTAT_FILE_NOOPENS_TOTAL
COBOL
CS-FILE-NOOPENS-TOTAL
Message
Total number of file control opens

Explanation: This is used in the statistic record label, to indicate the total number of opens that were performed by file control.

02000D
C
CICSSTAT_FILE_NOCLOSES_TOTAL
COBOL
CS-FILE-NOCLOSES-TOTAL
Message
Total number of file control closes

Explanation: This is used in the statistic record label, to indicate the total number of closes that were performed by file control.