A system variable containing the alarm attribute for the current message.
The &AOMALARM system variable is set to either NO or YES corresponding to the value coded on the [ ALARM=NO | YES ] keyword operand of the GLOBAL or MSGGROUP statements in the AOM screening table, or as altered by a SET statement.
If the ALARM= operand is not coded in the screening table then the default value assigned to this system variable is NO.
Example: &AOMALARM
&AOMREAD STRING &MSG
.
.
.
&IF &AOMALARM = NO &THEN &WRITE ALARM=YES DATA=&MSG +
&ELSE &WRITE DATA=&MSG
.
The &ZMALARM system variable contains the ALARM attribute for AOM messages delivered beyond AOMPROC.
Note: For more information, see the GLOBAL, MSGGROUP, and SET statements in the AOM screening table.
| Copyright © 2009 CA. All rights reserved. |
|