Previous Topic: &AOMDMASK

Next Topic: &AOMDOMID


&AOMDOM

A system variable that indicates whether or not the current message is a Delete Operator Message notification (DOM-Notify).

If an AOMPROC issues &AOMCONT, REPL, or DEL with the DOM-NOTIFY=YES option for a WTO, WTOR, or MVS-sourced EVENT, then AOM enqueues a DOM-Notify message to the AOMPROC if either of the following happens:

When this message is read by &AOMREAD, &AOMDOM is set to YES.

The &AOMDOMID system variable contains the domain ID of the original message. If the message was sent to AOM receivers, as an NRD message, then the domain ID assigned by Automation Services is also available in &AOMNMDOM.

This system variable is accessed in an AOMPROC only, and is available after an &AOMREAD statement is issued.

Example: &AOMDOM

& AOMREAD SET
 .
 .
 . 
&IF &AOMDOM = YES &THEN ... process dom notify

Notes:

An AOMPROC can indicate an interest in a DOM by issuing &AOMCONT/REPL/DEL with DOM-NOTIFY=YES. AOM handles the various MVS DOM types and automatically queues the notification to the correct AOMPROC.

A value of DOM in system variable &AOMTYPE, after an &AOMREAD DOM=YES verb is executed, also indicates that the current message is a DOM-Notify.

More information:

&AOMDOMID

&AOMNMDOM

&AOMREAD