Previous Topic: $NMAUAPI OPT=ADJUST-COUNTER—Gather Statistics

Next Topic: $NMAUAPI OPT=DEREGISTER-COUNTER—Deregister Counter

$NMAUAPI OPT=RESET-COUNTER—Reset Counter

The $NMAUAPI OPT=RESET-COUNTER API option resets the collected statistics to zero.

This API option has the following format:

$NMAUAPI OPT=RESET-COUNTER
         OBJCLASS=#class
        [OBJNAME=object_name]
         ACTION=action_type
        [TRACE={NO | YES}]
OPT=RESET-COUNTER

Resets the value of the counter. Match the other parameters to the values used when the counter is created.

OBJCLASS=#class

Specifies the class (user-defined) of the objects being audited.

Limits: Eight characters, including #

OBJNAME=object_name

(Optional) Identifies the object for which statistics are being gathered.

ACTION=action_type

Specifies the performed action.

TRACE

Specifies whether to trace each invocation of the API by writing NMAU0001 messages to the activity log.

TRACE=NO has effect only if the &GLBL$NMAUTRC global variable is not set to YES or Y.

Default: NO