Published on :
Configuration INTERNAL_CREATION

Configuring SAS Log Colors (Legacy)

This code is also available in: Deutsch Español Français
This script uses the 'dm' command to configure the display of the SAS© Log. It sets errors to inverse red and warnings to inverse green. It is important to note that the 'dm' command is specific to the classic SAS© environment (Windowing Environment) and is generally not supported or has no effect in web interfaces like SAS© Studio on SAS© Viya.
Data Analysis

Type : INTERNAL_CREATION


The script does not manipulate any data; it solely consists of interface configuration commands.

1 Code Block
DM COMMAND
Explanation :
Commands sent to the display system to modify the color attributes of log messages and save the window configuration.
Copied!
1dm 'log;
2color error red reverse;
3wsave;
4';
5dm 'log;
6color warning green reverse;
7wsave;
8';
9 
This material is provided "as is" by We Are Cas. There are no warranties, expressed or implied, as to merchantability or fitness for a particular purpose regarding the materials or code contained herein. We Are Cas is not responsible for errors in this material as it now exists or will exist, nor does We Are Cas provide technical support for it.