A system variable that contains the domain ID of the Automation Services system where the message originated, as set by the NMDID JCL parameter.
In an ISR-connected AOM environment, an AOMPROC can tell where a message came from by referencing this variable. The &AOMODID system variable contains the domain ID of the message originator system.
If the message was sourced by the local system, the value is the same as the &ZNMDID system variable. Otherwise, it contains the domain ID of the originator, regardless of how many ISR links it traveled across to arrive here.
Example: &AOMODID
.LOOP &AOMREAD SET &IF &AOMODID NE &ZNMDID &THEN &GOTO .REMOTE . . .
Notes:
This system variable is set for all messages read by &AOMREAD. This includes DOM-notify, event, and so on.
The ISR connected system that actually delivered the message is determined by the &AOMLDID system variable.
| Copyright © 2009 CA. All rights reserved. |
|