Previous Page | Next Page

Automatic Macro Variables

SYSENCODING Automatic Macro Variable



Contains the name of the SAS session encoding.
Type: Automatic macro variable (ready only)

Details
Example
Using SYSENCODING to Display the SAS Session Encoding

Details

SYSENCODING displays the name with a maximum length of 12 bytes.


Example


Example 1: Using SYSENCODING to Display the SAS Session Encoding

The following statement displays the encoding for the SAS session:

%put The encoding for this SAS session is: &sysencoding;

When this statement executes, the following comment is written to the SAS log:

The encoding for this SAS session is: wlatin1 

Previous Page | Next Page | Top of Page