Hello guys,
When we run cocd: %put you are beautiful.
this will show on the log ,in black color,
how we can change it show in other color?
Thanks!
189 %put NOTE: makes it blue;
NOTE: makes it blue
190 %put NOTE- does too.;
does too.
Thank you,
Is that possible just change the color and not put the keywords :NOTE or ERROE or WARNING in the log?
Thanks!
Mike
I don't know. If you use - instead of : as in my example the word is omitted but not the space.
This mothod is good enough.
Thanks a lot.
Mike
And similar changes for
ERROR: ERROR- and WARNING: WARNING-
You can change the colors in the log using the DM command.
in a program you can use to set the colors for the ERROR: WARNING: text.
colors accepted are red black white gray yellow cyan magenta or those colors and reverse (which makes the stated color the background and the text the background color.
the WSAVE will save the current settings across SAS sessions.
dm 'log; color error red; color warning yellow; wsave;'
Thank you!
except error, warning and note, is there any other options?
If we use dm statement for change color of NOTE ,we will change every NOTEs' color in the log,
Is that possible we just change one Note's color in the log and keep other notes' color as their original?
Thanks
Thanks
Or, you can simply do something like:
log "color warning green reverse" continue;
log "color error red reverse" continue;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.