SELECT STATISTICS Command

The SELECT STATISTICS command is one of the most useful commands for problem determination. This section provides a brief overview of the SELECT STATISTICS command. For more detailed information, refer to the IBM® Sterling Connect:Direct® for z/OS® User Guide.

If an error occurred during a file transfer, issue the SELECT STATISTICS command on both the PNODE and SNODE to review the statistics for the Process. Process statistics are stored in the IBM Connect:Direct statistics log. You can request them by either using the IUI Select Statistics (SS) screen, if applicable, or issuing the IBM Connect:Direct SELECT STATISTICS command.

The statistics log records the following types of information for IBM Connect:Direct Processes:

  • Function requested (COPY, RUN TASK, RUN JOB, SUBMIT)
  • Process name and number
  • Start and stop times, and date of the function
  • Completion code
  • Messages associated with the Process
  • Location and ID of the user requesting IBM Connect:Direct services
  • Sending and receiving file names
  • Amount of data sent and received
  • Security violations
  • All IBM Connect:Direct WTO messages, allocation information, and mount requests
Note: WTO messages are created during IBM Connect:Direct Process execution to document the execution steps and are stored in the IBM Connect:Direct statistics file. This type of message is an excellent debugging tool for determining a IBM Connect:Direct Process execution failure.

The optional parameters associated with the SELECT STATISTICS command enable you to define the search criteria and the form in which the report is presented.

IBM Connect:Direct IUI Select Statistics Screen

The Select Statistics screen provides a convenient, easy method for issuing the SELECT STATISTICS command. Use the fields to specify statistics selection criteria. The selection criteria enable you to determine what records to select from the statistics log, limit the statistics to a certain period of time, or limit the statistics to a certain Process. The selection criteria also allow IBM Connect:Direct to select the requested statistics from the file more efficiently.

The SELECT STATISTICS screen displays general IBM Connect:Direct Process information.

  • To display the requested information in a formatted report, type a D in the CMD field and press Enter.
  • To print the formatted report, type a P in the CMD field and press Enter. The output is sent to your TSO sysout.
  • For a summary report display, type an S in the CMD field and press Enter.
  • To view your statistics file in an unformatted display, type FIL or F in the CMD field and press Enter.
  • The SELECT STATISTICS screen also enables you to exclude certain types of information from being displayed. Type a Y in any of the following fields and press Enter.
    • MEMBERS - Statistics generated for each partitioned data set (PDS) member
    • WTO - WTO (Write to Operator) messages
    • WTO - All statistics other than WTO messages

      When statistics are requested by Support, do not exclude any information. Set all the fields listed to N. Support must receive all information to solve the problem.