A system variable that indicates the color attribute of the current message.
After an &AOMREAD verb is issued to get the next available message for processing by AOMPROC, &AOMCOLOR is set to indicate the color attribute for that message.
The &AOMCOLOR system variable is set to one of the following values corresponding to the value coded on the [ COLOR=value ] keyword operand of the GLOBAL or MSGGROUP statements in the AOM screening table, or as altered by a SET statement.
If the COLOR operand is coded on both the GLOBAL and MSGGROUP statements, then the value on the MSGGROUP statement takes precedence for a particular message.
Valid values for message color are:
RED, BLUE, GREEN, WHITE, PINK, YELLOW, TURQUOISE, NONE.
Example: &AOMREAD
&AOMREAD SET . . . &IF .&AOMID EQ .PRODIMS &THEN + &WRITE MSGCODE=04 COLOR=&AOMCOLOR DATA=&ATEXT
Notes:
In MSGPROC, the system variable &ZMCOLOR contains the same value as &AOMCOLOR.
If the screening table does not set a color attribute, then &AOMCOLOR is set to NONE.
| Copyright © 2009 CA. All rights reserved. |
|