The $NMAUAPI OPT=ADJUST-COUNTER API option gathers statistics for the audited activities. You use this option after you register the counter.
This API option has the following format:
$NMAUAPI OPT=ADJUST-COUNTER
OBJCLASS=#class
[OBJNAME=object_name]
ACTION=action_type
VALUE=adjust_value
[TRACE={NO | YES}]
Specifies that the value of the counter be adjusted. The other parameters should match those used when the counter is created.
Specifies the class (user-defined) of the objects to be audited. The class name must start with # (for example, #CLASS01).
Limits: Eight characters, including #
(Optional) Identifies the object for which statistics is to be gathered.
Specifies the performed action. The API provides the following predefined actions:
|
ACTION |
ADD |
CLOSE |
|
COMMAND |
COMPILE |
CREATE |
|
DELETE |
ENHANCE |
EXECUTE |
|
ISSUE |
LOAD |
MODIFY |
|
REPLY |
RESET |
SET |
|
START |
STATECHANGE |
STOP |
|
SUPPRESS |
TRIGGER |
UPDATE |
In SMF, actions are represented in hexadecimal values.
If you specify your own action, it will be recorded in SMF as X'FFFF' (USER-DEFINED) with the TEXT field as action_type:action_text. If you want to assign a specific hexadecimal ID to a user action not in the list, you can define it through Common Application Services (CAS).
Limits: 12 characters
Specifies a number to decrement or increment the counter.
Limits: Integer, either negative or positive
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
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |