Extract command

The Statistics extract can be requested from a Report Set in the CICS PA dialog. Select the Statistics extract in the Extracts category.

In batch, the EXTRACTSTATISTICS command is used to request the Statistics extract:

CICSPA EXTRACTSTATISTICS(
                       [OUTPUT(ddname),]
                       [DELIMIT('field-delimiter'),]
                       [LABELS|NOLABELS,]
                       [TYPE(EOD,INT,USS,REQ,RRT),]
                        STTSxxxx(ddname)|STTGxxxx(ddname),...)

The STTSxxxx and STTGxxxx operands specify the CICS® Transaction Server (TS) or CICS Transaction Gateway (TG) statistics that you want to extract, where xxxx is the statistics ID. For example, specify STTS010A(TS010A01) to extract Transaction Manager statistics (ID: 010A) to the data set specified in the DD statement TS010A01.

The format of the extract records depends on the statistics ID of the extracted data: each statistics ID defines its own set of fields.