Hi Rod,
I think no.
Characters attributes are analyzed when the message is displayed on the queue, and all non "normal" characters are displayed with reverse video. (it can be a solution)
exemple :
PGM
DCL VAR(&MSG) TYPE(*CHAR) LEN(30)
DCL VAR(&C) TYPE(*CHAR) LEN(1) VALUE(X'20')
CHGVAR VAR(&MSG) VALUE(&C *CAT 'Test Message' *TCAT &C)
SNDMSG MSG(&MSG) TOUSR(*SYSOPR)
ENDPGM
Message is displayed with reverse video brackerebekahalkhalifa@yahoo.com
Hello...
I wish you best Compliment of the season,with hope that you are physically and healthly alright,l do believe that this mail will reach in good condition. My name is Rebekah i saw your profile in www.itknowledgeexchange.techtarget.com and admire it, i think we can make it together, please i would like you to contact me through my email address:( rebekahalkhalifa@yahoo.com ) i will tell you more about myself, also send you my photo,as soon as you contact me back, hopping for your lovely reply soonest,
Rebekah....
AFAIK, you can’t.
If you are creating the message text, you can embed display color attributes in the message.
However, this doesn’t apply to messages sent to *MSGQs that are displayed with DSPMSG functions. It only applies to display file message displays. So, for example, you couldn’t expect colored messages to show as colored in the QSYSOPR message queue display or in a workstation message display. Undisplayable characters are automatically replaced with x’3F’. Otherwise unpredictable effects would happen from programs with bugs sending messages (or even programs manipulating display attributes on purpose).
But you could use a SNDPGMMSG function to send a *STATUS message out to a display file message subfile and see the appropriate color.
Tom