A system variable that indicates whether or not the current message was sourced by the &AOMALERT verb.
If an AOMPROC needs to know whether or not a particular message is sourced by the &AOMALERT verb, this system variable is used. Thus, AOMPROC can prevent critical actions being taken because of counterfeit messages.
&AOMSALRT contains YES if the current message was sourced by an &AOMALERT verb. In all other cases, it is set to NO.
Example: &AOMSALRT
.LOOP &AOMREAD SET &IF &AOMSALRT = YES &THEN &GOTO .LOOP -* ignore . . .
Note: There is no way to alter the setting of this system variable. It is always set to YES for messages sourced by &AOMALERT, and to NO for all messages originating from the operating system.
| Copyright © 2009 CA. All rights reserved. |
|