The value displayed in the CPUTime column of the CSYSDATA display is different than the MVS_CPUTIME obtained running a batch report.
For example:
Taking as a sample the following record in CSYSDATA the CPUTime is 0.005447
Cmd Jobname Date Time Trans Lifetime CPUTime
___ CICSTST1 15/06/22 04:45:01 1 0.006103 0.005447
Running the following job:
//jobcard
// SET SMFIN='HLQ.SYSD.BR01'
//REPORT EXEC PGM=XPFRMAIN
//STEPLIB DD DISP=SHR,DSN=HTML.SYSVIEW.R160.CNM4BLOD
//ERPTPRM DD DISP=SHR,DSN=HTMLSYSVIEW.R160.CNM4RSAM
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//TAPSMF DD DISP=SHR,DSN=&SMFIN,
// SUBSYS=(LOGR,GSVXLGEX,
// 'FROM=OLDEST,TO=YOUNGEST',
// 'STATS,NORDW'),
// DCB=(DSORG=PS,RECFM=VB,LRECL=32756,BLKSIZE=32760)
//SYSIN DD *
COPY GSVSMF28
SELECT JOBNAME(CICSTST1)
EXCLUDE SATURDAY
EXCLUDE SUNDAY
OPTION(SUMMARY=NO,DATAONLY=NO,COPYRIGHT=NO)
TAB DATETIME,
CICS_JOBNAME, HDR1( ) HDR2(JOBNAME ),
CICS INTERVAL SYSTEM MVS_CPUTIME HDR1( ) HDR2(CPU)
EACH 15 MINUTES
END
RUN
/*
//
The output is:
DATE TIME JOBNAME CPU
-------- ----- -------- ----------
06/15/22 04.30 CICSTST1 0.324893
The CPU time is 0.324893 which is different than the CPUTime displayed in CSYSDATA
Why there is this difference?
Release : 16.0
Component : SYSVIEW
Selecting in CSYSDATA the record corresponding to 04:45:01 you will see detailed information for this interval.
In the Degradation Analysis section there is the following information:
Degradation Analysis --------------------------------
Resource Total Average
Transaction lifetime 0.006103
Dispatch time
Dispatch time - MS TCB
Dispatch time - QR TCB
CPU time 0.005447
The CPUTime column in CSYSDATA corresponds to the CPU time average in the degradation analysis section
Below the Degradation Analysis section, there is another section named MVS Information which is the MVS address space statistics for the CICS region.
MVS Information ------------------------------------
Description Value
CPU time used during interval 0.324893
This value of 0.324893 is the same value returned by the MVS_CPUTIME variable of the report and is the CPU time used by the CICS region during the interval.
The CPUTime displayed in the CSYSDATA and the MVS_CPUTIME obtained with the batch report are different concepts.
The CPUTime displayed in the CSYSDATA is the average CPUTIME used by a transaction.
The MVS_CPUTIME obtained with the batch report is the CPU time used by the CICS region during the interval.