API rules process all events that are generated through the API. To write an API rule, you must know the name of the event you want to process and the names of the environmental variables that are available to the rule when the event occurs. The event name can be up to 10 characters long and is used on the API statement. For example:
)API EVNAME
A rule may or may not be coded for each event name the application creates. Wildcard matches can be used to allow a single rule to react to more than one event. It is possible for two or more rules to react to a single event. For example, EVENT1 and EVEN* both match event EVENT1.
You must know the format of the data that the application places in environmental variables that are available to your rule, whether each environmental variable is read-only or read/write, and the format of the data that the application should receive from CA OPS/MVS.
|
Copyright © 2014 CA.
All rights reserved.
|
|