The STATSCON utility consolidates one or more statistics files into a single file with only the most recent statistics records for each request. The output file can be created in the standard client or server statistics record format or as a CSV file.
The general syntax to start the STATSCON program from TACL is
> run STATSCON / run-options / [ command-line-parameters ]
run-options
The standard TACL run options.
command-line-parameters
-infile <command-file>
An input file specification that selects the input statistics file or files. The specification can contain wildcard characters to allow the selection of multiple files. This parameter is required.
-outfile <file name> [!]
The consolidated output file name. If the file already exists, specify the '!' option to indicate that the existing file should be overwritten. This parameter is required.
-outformat < record | CSV >
The desired output format. This parameter is optional and if not specified, "record" is the default.
-help
Displays documentation for the program command line options.
Remarks
If the input specification selects both client and server statistics files an error will be returned.
Examples
>run statscon –infile zzsstats -outfile statsout !
>run statscon -infile zzsst* -outfile sstats ! -outformat csv