Highlighting or sending colored text from CL to QSYOPR
Is it possible to send a break message or User Message from a CL Program to QSYSOPR message queue with highlighted text or in different color? The purpose of this is to catch the operators attention to this message from other normal messages.

Software/Hardware used:
ASKED: November 11, 2008  5:42 PM
UPDATED: November 18, 2008  2:48 PM

Answer Wiki:
You should be able to "CONCAT" the correct hex char in front of the text you send to QSYSOPR and the console should display the attrib from the front char of the message (I assume the monitor will handle colors and/or handle highlites). Hex codes 27 & 37 are dark and not permitted. Hex codes 21-23 may cause the line to be shifted one char to left on some printers. HEX '20' (Black/Back to GREEN) HEX '21' (REVERSE GREEN) HEX '22' (WHITE) HEX '23' (REVERSE WHITE) HEX '24' (UNLINED GREEN) HEX '25' (UNLINED REVERSE GREEN) HEX '26' (UNLINED WHITE) HEX '28' (RED) HEX '29' (REVERSE RED) HEX '2C' (UNLINED RED) HEX '2D' (UNLINED REVERSE RED) HEX '30' (TURQUOISE) HEX '31' (REVERSE RUTQUOISE) HEX '32' (YELLOW) HEX '33' (REVERSE YELLOW) HEX '34' (UNLINED TURQOISE) HEX '35' (UNLINED REVERSE TURQOISE) HEX '36' (UNLINED YELLOW) HEX '38' (PINK) HEX '39' (REVERSE PINK) HEX '3A' (BLUE) HEX '3B' (REVERSE BLUE) HEX '3C' (UNLINED PINK) HEX '3D' (UNLINED REVERSE PINK) HEX '3E' (UNLINED BLUE) HEX '40' (GREEN (NORMAL)) Hi, I've tried the above method before, but never got it to work. It seems that any hex attributes that you send get removed before the message gets put on the queue. Regards, Martin Gilbert.
Last Wiki Answer Submitted:  November 14, 2008  12:54 pm  by  MDratwa   645 pts.
All Answer Wiki Contributors:  MDratwa   645 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Try sending it as a break message.
Also QSYSOPR MSGQ gets filled up with tons of information.

How about setting up an application MSGQ and they can monitor from there.

I utilize SMS and monitoring software.
So anything critical I have it send out emails and text messages to the appropriate staff. Who wants to pay operators to sit around staring at consoles and playing solitaire.

a few bucks a year for maintenance costs and no worries about important messages not getting read immediately by the support staff.

 2,680 pts.

 

Hi,
Gilbert is right. I tried the same method but it is not functioning except just creating a highlighed character in front of the message. Any one have another Idea?
Regards
Baba

 195 pts.

 

I read a tip one time that said to add a new message to the MSGF that had the desired HEX attribute and a substitution parameter for the text

then you use the new file to send the text to QSYSOPR

Kevin – Affiliated

 7,175 pts.