Setting General Preferences

From the General page, you can set these options.
Option
Description
Show generated code in the SAS log
displays the ODS statements, %LET statements, and any other code that is automatically generated by SAS in the log file. This option applies to both SAS tasks and SAS program files.
Include a Show Details button in error messages
adds a Show Details button to any error messages that SAS Studio generates.
Start new programs in interactive mode
opens new programs with the interactive mode on. This option is available only if you are running the first maintenance release for SAS 9.4 or later. For more information, see Working in Interactive Mode.
Size grid columns to content
Automatically adjusts the width of the columns in the table viewer to fit the size of the column content.
Time-out interval: (hours)
specifies the amount of time that SAS Studio allows you to be logged on without any activity. The default value is one hour.
SAS variable name policy
enables you to specify one of the following sets of rules to apply to SAS variable names.
  • ANY — specifies that the variable names can begin with or contain any characters, including blanks, must contain at least one character, and cannot contain any null bytes. Variable names can contain mixed-case letters as well as special and multi-byte characters. Names can be up to 32 bytes in length. This option is selected by default. Leading blanks are preserved, but trailing blanks are ignored.
  • V7 — specifies that the variable names must begin with a letter of the Latin alphabet (A-Z, a-z) or the underscore character. They cannot contain blanks or special characters except for the underscore and cannot be assigned the names of special SAS automatic variables or variable list names. Variable names can contain mixed-case letters and can be up to 32 bytes in length.
Default text encoding
specifies the character-set encoding that is used when text files are read or written. The default value is UTF-8. This option is not available for SAS servers running on z/OS. For a list of some of the encoding options and the languages that they are associated with, see Text Encoding Options and Language Mappings.
Note: You can also specify the text encoding when you open a single file by holding down the Alt key and double-clicking the file. The Choose Text Encoding window appears and you can select the encoding. This option applies to SAS program files (*.SAS), text files (*.txt), comma-separated values files, (*.csv), and log (*.log) file types.
Display a message on arrival
Displays a message when batch jobs are started and when they are complete. You can adjust the number of seconds that the message is displayed. The range of time that a message can be displayed is between 3 seconds and 30 seconds. The default value is 5 seconds.
Capture all log events
Records all diagnostic messages each time you run a program, task, or query. You can view the diagnostic messages by clicking Messages in the lower right corner of your SAS Studio browser window. In the Messages window, click the Filter by drop-down list and select Debug. The debug messages are available in the Messages window only when you have selected this option.