Previous Topic: &AOMMMASK

Next Topic: &AOMMPFSP


&AOMMONIT

A system variable that indicates whether or not the current message is also to be delivered to monitor class receivers.

&AOMMONIT is set to YES if the message is to be delivered to Monitor class users, otherwise NO, if delivery is to AOM receivers only.

AOM messages are normally only delivered to users who are profiled to receive AOM messages. There is instances when it is desirable to deliver messages to all MON class OCS users. The decision to also send an AOM message to MON class OCS users is initially made in the screening table by specifying MONITOR=YES at either the GLOBAL or MSGGROUP level.

This system variable is used to check that the screening table specification for the current message is still valid before the message is delivered to OCS consoles.

Example &AOMMONIT:

.LOOP 
&AOMREAD SET &MSGPRF = &SUBSTR &AOMMSGID 1 3 
&GOTO .&MSGPRF
   .
   .
   . -* Ensure VTAM messages are sent to Monitor class Users.
   .
.IST 
&IF &AOMMONIT = NO &AOMCONT MONITOR=YES 
&GOTO .LOOP

Note: Messages destined for monitor users would normally be identified within the screening table, but there might be specific conditions that require message analysis within AOMPROC before delivery can continue.

More information:

&AOMROUTE