System Variables › &ZPERRORC
Contains the value of the standard panel field attribute COLOR (or COLOUR) for error fields and messages.
Specified in distributed panel definitions.