The EVENT macro issues an N00102 event message that can be retrieved by NCL processes. To receive the message, the NCL process must be profiled for the event by using the PROFILE EDS command. For a description of the command, see the Network Control Language Reference Guide.
You can wait for the event message from within a process by using the WAITEVNT macro.
Parameters: EVENT Macro
Identifies the event. The name can contain alphanumeric, @ and # characters, and . or _ characters (for example, SESSION_COMPLETION).
Indicates the type of information contained in the event. Use the types as follows:
To contain user-defined information.
To contain security alarm information.
To contain object definition and relationship information.
To contain scheduling and process control information.
To contain availability, degradation, error, fault, and recovery information.
To contain accounting, performance, response time, and statistics information.
Specifies the scope of delivery of the event. Valid values are as follows:
Restricts event delivery to processes in the region of the event issuer.
Enables event delivery to processes in the entire region.
Specifies a user-defined object class for the resource or resource pair for which the event is issued. If the value contains embedded spaces, the spaces are translated to underscore (_) characters.
Names the resource or resource pair (separated by a comma) for which the event is issued. An event can be issued for a pair of resources (for example, a session pair).
Specifies a code for the event.
Specifies the data in the event.
Example: EVENT Macro
In the following example, the EVENT macro issues an OPERATIONS_CONDITION event. The event contains operations information in the &ZREVATTENDED user-defined EventView variable.
PROD------ Automation Services : EVENT Macro Parameter Definition ------------- Command ===> Function=BROWSE .- Event Parameters ----------------------------------------------------------. | | | Name........ OPERATIONS_CONDITION | | | | Type.......+ SERVICEABILITY | | Scope......+ SYSTEM | | | | Object...... | | (Blanks will be translated to underscores) | | | | Resource.... | | Reference... | | | | Data..... &ZREVATTENDED | | | | | | | ’-----------------------------------------------------------------------------’ F1=Help F2=Split F3=Exit F9=Swap
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |