The Values in the Trans column on CSYSDATA online view are different than the number of transactions reported by the XPFRMAIN batch report from the same Sysview SMF logstream data.
For example:
SYSVIEW ISPF1 XXXX CSYSDATA, CICS System Interval Summary
Command ====>
Formats DEFAULT DEG STORAGE
Status NoSRT NoLIM NoSEL NoDST NoPFX NoOWN NoUPD
LogStream HLQ.SYSD.XXXX Retention
Available 19:30:27 27/01/22 to 11:15:0
Searched 19:30:27 27/01/22 to 11:15:0
Displayed 19:30:27 27/01/22 to 11:15:0
Options Lines 25000 Limit 1000000 Period NO
-------------------------------------------------
Cmd Jobname Date Time Trans Lifetime
___ CICSTST1 14/06/22 11:15:00 9 00:03:29
Running the following XPFRMAIN batch report:
//jobcard
// SET SMFIN='HLQ.SYSD.XXXX'
//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 CICS_TRANSCNT HDR1( ) HDR2(TRANVOL)
EACH 15 MINUTES
END
RUN
/*
//
The output shows this record:
DATE TIME JOBNAME TRANVOL
-------- ----- -------- --------
06/14/22 11.00 CICSTST1 8
In the Trans column of CSYSDATA the value is 9 but in the Batch report the value in the TRANVOL is 8. Why there is this difference?
The Trans column in the CSYSDATA displays the number of transactions monitored for the interval. When you run the report, the variable for the transactions monitored for the interval is not CICS_TransCnt but CICS_TranGSVI
Run the report using CICS_TranGSVI instead of CICS_TransCnt
Replace the line:
CICS INTERVAL SYSTEM CICS_TRANSCNT HDR1( ) HDR2(TRANVOL)
By
CICS INTERVAL SYSTEM CICS_TranGSVI HDR1( ) HDR2(TRANVOL)
The CICS System Interval Data Variables that can be used in a report are documented in the R16.0 CICS System Interval Data Variables section of the SYSVIEW Performance Mangement R16.0 PDF.
For R17, review the section CICS System Interval Data Variables.