A system variable that contains the routing option for the current message, as set by the screening table.
A message processed in the AOM screening table can go down two paths. One path relates to system console delivery while the other relates to Automation Services delivery.
The delivery of a message to Automation Services is specified by the ROUTE operand in the screening table. See the description of the GLOBAL, SET, and MSGGROUP screening table statements.
&AOMROUTE contains the local delivery ROUTE option.
Example: &AOMROUTE
.LOOP &AOMREAD SET &GOTO .&AOMID . . . .SPECMSG &IF &AOMROUTE = PROC &THEN &AOMCONT COLOR=RED . . . &GOTO .LOOP
Notes:
If &AOMROUTE contains BOTH, then the message has already been delivered to relevant OCS screens.
This system variable always contains the same value as the &AOMLROUT system variable.
| Copyright © 2009 CA. All rights reserved. |
|