data _null_;
rather than experiment with that old pgm-editor, try the notepad editor. There you can choose the color without restriction (just the limited list of colors).
- mark/select text and use command-line command
color mtext {color name}
Two (more modern) coloring systems exist. Each can be persuaded to deliver rtf-format information including color tags to the clipboard. I guess it would be possible to create a coloring scheme for .LOG files, but I have not had a go, yet.
As well as text (F0), note (10), warning(40) and error(20) line color attrs there is also DATA. This which got attr
'C0'x when I requested magenta
'60'x for yellow
'61'x for yellow highlight
'62'x is yellow underlined
'68'x is yellow reverse-video
'64'x is yellow blinking
guess '6F'x
........ no prizes
Fortunately, my system doesn't render the blinking as flashing attrib, but you could, and probably should, get rtf to carry all these attributes, if you really want to make your log file exactly as it is supposed to display in the SAS Log window of display manager .....
Does SAS Enterprise Guide render color like this for the Log viewer?
Where does the original poster want to draw the line with all this coloring potential?
The old SAS System Viewer renders log files with the words note, warning and error in the familiar coloring (blue, green, red) but that is controlled by options. and only that work is colored, not the whole line.
Does the newer SAS Universal Viewer achieve better support for rendering SAS Logs?
peterC