Previous Topic: &AOMDOMID

Next Topic: &AOMHLITE


&AOMEVCLS

Returns the EVENT class value.

When an EVENT statement is executed by a screening table, or an &AOMALERT TYPE=EVENT verb is executed, the generated event is assigned a class. This class is a 1- to 12-character value. &AOMEVCLS returns this event class, or a null value if no event class is specified for this event.

The meaning of event classes is user defined.

Example: &AOMDOMID

-* process events
.LOOP 
&AOMREAD SET 
-* if NRD001 save domid 
&IF &AOMTYPE = EVENT &THEN &DO -* want notify
   &GOTO .&AOMEVCLS            -* use class as label. 
&DOEND

Notes:

AOM places no meaning on an event class. It is entirely user defined.

An event class is specified along with an ID value (as set in &AOMID). This is useful for major and minor subdivision of events.

More information:

&AOMTYPE

&AOMID