Previous Topic: $NMAUAPI OPT=RESET-COUNTER—Reset Counter

Next Topic: Return Codes

$NMAUAPI OPT=DEREGISTER-COUNTER—Deregister Counter

The $NMAUAPI OPT=DEREGISTER-COUNTER API option deletes a counter. No more statistics are gathered for the corresponding activities.

This API option has the following format:

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

Specifies that the counter be deleted. The other parameters should match those 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 the counter is deregistered.

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