This product lets a programmatic interface generate your own site-specific AUDIT events. To invoke this AUDIT API, issue the $NMAUAPI command in NCL or from a command prompt.
The AUDIT parameter group enables the auditing of AUDIT events. The parameter group can be accessed by entering /PARM and selecting U to update the AUDIT parameter group and set the desired values for the event types you want to enable.
Calls to $NMAUAPI deliver AUDIT events based on the settings you have set in the AUDIT /PARM group. You can enable the AUDIT /PARM group events types to be generated as follows:
Note: For information about how to enable auditing, see the Administration Guide.
The following Event Types are available for this API:
Alternatively, you can generate immediate utilization events based on calculations you have already done by using the OPT=RAISE-EVENT.
Your Audit API generates audit events in the local region and SMF. You can also use the API to pass the events to a linked region at the same time as the API call is being executed in the local region using the RMTSYS= parameter in the AUDIT API call.
The API provides two types of options: RAISE-EVENT and counter.
If you want to raise utilization events for statistics that you are not already collecting, you can use the REGISTER-COUNTER and ADJUST-COUNTER API options to create counters and update their values to gather those statistics. At preset intervals (based on the settings in the AUDIT parameter group), each counter generates an audit event using the accumulated value.
Samples of API calls are provided in the dsnpref.OPB9.CC2DSAMP($NMAUSP1) data set member.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |