Generating a Summary Report for a Process

You can use the select statistics command to generate a summary report for a Process. The following command generates summary statistics for Process number 9:

sel stat pnumber=9 detail=no startt=(08/10/2008);

The report consists of all records from August 10, 2008.

Sample output that describes all Process steps in summary form is displayed in the following table:

===================================================================================
                          SELECT STATISTICS
===================================================================================
P RECID LOG TIME             PNAME PNUMBER STEPNAME CCOD FDBK MSGID 
-----------------------------------------------------------------------------------
P PSTR 08/10/2008 09:10:39   PR01  9                0         XSMG200I
P IFED 08/10/2008 09:10:44   PR01  9                0         XSMG405I
P CTRC 08/10/2008 09:10:44   PR01  9                0         XSMG405I
P IFED 08/10/2008 09:10:45   PR01  9                4         XSMG400I
P RTED 08/10/2008 09:10:45   PR01  9                0         XSMG400I
P IFED 08/10/2008 09:10:45   PR01  9                4         XSMG400I
P CTRC 08/10/2008 09:10:45   PR01  9                0         XSMG405I
P CTRC 08/10/2008 09:10:45   PR01  9                8         XSMG405I
P CTRC 08/10/2008 09:10:45   PR01  9                8         XSMG405I
===================================================================================

To avoid lengthy search times when issuing the select statistics command, archive or delete statistics files regularly. Also, use the startt and stopt parameters to bracket the desired stats as closely as possible. Execution of a Process generates multiple statistics records. IBM® Connect:Direct® closes the current statistics file and creates a new statistics file every midnight. It can also close the current file before midnight if the file size exceeds the value set for the file.size initialization parameter. The default file size is 1 megabyte.

Statistics files are in the d_dir/work/cd_node directory. Names of the statistics file are in the format Syyyymmdd.ext, where yyyy indicates year, mm indicates month, and dd indicates day. The extension (ext) begins as 001. The extension is incremented by one each time a new statistics file is created in a single day.