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;
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.