Previous Topic: Set the Keep Window to Display Variables in Current StatementNext Topic: Set Structure Display Form


Set Code Coverage

Code Coverage (Counts) lets you see the number of times a verb was executed.

The initial setting for Code Counting is off, which is the default. However, use the Profile screen to turn Code Coverage off or on again at any time.

How the counts are displayed or not displayed is handled by the primary line command COUNTS with its associated parameters.

This feature, due to its nature, causes overhead during monitoring and should be turned off as soon as it is no longer needed.

Code Counting=

To change the setting for Code Coverage, perform the following steps:

  1. Type profile on the command line and press Enter, or press PF4 to access the Profile screen from any Source Listing Screen. The Code Counting= field shows the current setting.
  2. Overtype the current value with one of the following:
    YES

    Enables code counting and turns on the COUNTER display feature.

    NO

    Removes the COUNTER display and stops the counting feature.

  3. Press Enter to process the new setting and to return to the Source Listing Display screen.