A system variable that contains the Automation Services domain ID of the last handler of this message, event, or DOM-Notify.
Since AOM traffic can arrive across an ISR link, a way is needed to identify the system that originated this message, and the system that passed the message to this system.
&AOMLDID contains the 4-character domain ID, as set by the NMDID JCL parameter, of either the system that sent this message to this system, if it originated across an ISR link, or the domain ID of this system, if sourced locally.
This allows an AOMPROC, when handling automation centrally, to identify the sender (but not originator) of this message.
Example: &AOMLDID
&IF .&AOMLDID NE .&ZNMDID &THEN &GOTO .REMOTE
Notes:
For messages sourced locally, the value is equal to the value in the &ZNMDID system variable.
For messages that originated from a directly linked system, the value is that system's &ZNMDID value.
For messages that originated at least two systems away, the value is that of the system that the message was last handled by.
A MSGPROC can use the &ZMDIDL system variable to access this value if the message is delivered to AOM receivers.
All messages, events, and so on, including DOM-Notify messages, carry this attribute.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |