If you select either the Statistics property (STATS option) or Statistics Only property (STATS ONLY option), the statistics are written to a disk file, in addition to being printed. This disk file might be accessed by your own analysis programs to provide for any additional analysis you require.
The statistics file resides on the LOG pack, and is named LOGSTATS/system.
If you wish to retain this file for analysis, use the Retain file property (RETAIN option) to prevent automatic purging. Refer to Activity Log Options for more information.
The file attributes and record format of the Log Statistics file (in COBOL terms) are as follows.
In the Input-Output Section:
Organization is INDEXED Access mode is DYNAMIC Reserve 10 AREAS Record key is STATS-KEY
In the Data Division, File Section:
BLOCK contains 32 RECORDS Value of AREAS is 30 Value of AREASIZE is 320 01 LINC-STATSR. 03 STATS-KEY. 05 STATS-TYPE PIC 9. [ 1 = Ispec [ 2 = station [ 3 = Ispec by station 05 STATS-ITEM PIC X(17). [ Station name 05 STATS-ISPEC PIC X(5). [ Ispec name 03 STATS-TOT PIC 9(8) COMP. [ Total transactions 03 STATS-ERR PIC 9(8) COMP. [ Total error trans. 03 STATS-TIM PIC 9(8)V99 COMP. [ Total time in seconds 03 STATS-DMS PIC 9(8) COMP. [ logical reads and writes
In this section:
The STATS-TYPE record determines the order of the STATS-ITEM and STATS-Ispec records.
The STATS-DMS value refers to logical database reads and writes, and does not include FIND KEY OF accesses.
More information about individual properties is given in the following subsection.