The OPSCOLOR function returns the numeric value that, if moved into the MSG.COLOR variable while a message rule executes, determines the color of the message in the OPSLOG Browse display.
Note: You can use the OPSCOLOR function in OPS/REXX or AOF rules and is especially useful in AOF rules for changing the color of a message as it appears in OPSLOG Browse.
This function has the following format:
var = OPSCOLOR('color')
Specifies a valid color. Valid colors are NONE, BLUE, WHITE, YELLOW, GREEN, RED, PINK, and TURQ.
Example: OPSCOLOR Function
This example sets a message color (in an MSG rule) to turquoise.
)MSG somemsg
)PROC
MSG.COLOR = OPSCOLOR('TURQ')
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |