Collector Command Cancels the collection of exact execution counts at specified program locations. Format CANCEL COUNTERS [nodespec, [nodespec...]]
1 – Parameters
nodespec Specifies a node specification to be canceled. This node specification must have been established with a previous SET COUNTERS command. See HELP Nodespec for information about node specifications.
2 – Description
The CANCEL COUNTERS Collector command cancels execution counters at the program locations specified by the node specification or by the /ALL qualifier. Any node specifications you cancel must have been established by previous SET COUNTERS commands. If you first set an execution counter at a program location with SET COUNTERS and then cancel it with CANCEL COUNTERS, no execution count is measured at that location when the GO command is entered.
3 – Qualifiers
3.1 /ALL
Specifies that all execution counters established with earlier SET COUNTERS commands be canceled. If you specify the /ALL qualifier, omit the node specifications.
4 – Examples
PCAC> CANCEL COUNTERS/ALL This command cancels all previously established execution counters. PCAC> CANCEL COUNTERS PROGRAM BY ROUTINE This command cancels the execution counters placed on every routine in the user program.