DOCUMENTATION
  • Software
    • Software
    • SAS Viya
    • Industries
    • Solutions
    • Products
  • Learn
    • Learn
    • Training
    • Certification
    • Academics
    • Books
    • Video Tutorials
  • Support
    • Support
    • Communities
    • Documentation
    • Developers
    • Support & Services
    • User Groups
  • About Us
    • About Us
    • Why SAS?
    • Company
    • Careers
    • Newsroom
    • Events
    • Contact Us
  • Explore
    • Explore
    • Try & Buy
    • Why SAS?
    • Customer Stories
    • Partners
    • Consulting
  • Software
  • SAS Viya
  • Industries
  • Solutions
  • Products
  • Learn
  • Training
  • Certification
  • Academics
  • Books
  • Video Tutorials
  • Support
  • Communities
  • Documentation
  • Developers
  • Support & Services
  • User Groups
  • About Us
  • Why SAS?
  • Company
  • Careers
  • Newsroom
  • Events
  • Contact Us
  • Explore
  • Try & Buy
  • Why SAS?
  • Customer Stories
  • Partners
  • Consulting
  • Contact Us
Sign In

Create Profile

My SAS

Get access to My SAS, trials, communities and more.

SAS Sites

sas.com
Support
Blogs
Communities
Developer
Curiosity
Videos

Documentation

Learn
Brand
PartnerNet
Merchandise
SAS® Help Center
SAS® Viya® Programming Documentation
2022.1.1
|PDF 
Feedback
 
This documentation is for a version of the software that is not covered by Standard Support. Select a different version from the version selector in the banner, or access the latest documentation.
  • Welcome to SAS Programming Documentation
  • What's New
  • Learning SAS Viya
  • Syntax Quick Links
  • Advanced Analytics
  • Data Access
  • Cloud Analytic Services
  • SAS Language Reference
    • Base SAS Procedures
    • DATA Step Programming
      • DATA Step Programming for CAS
      • Data Set Options
      • Formats and Informats
      • Functions and CALL Routines
      • DATA Step Statements
      • National Language Support (NLS)
      • SAS Viya Logging: Configuration and Reference
      • Base SAS Utilities
    • Global Statements
    • System Options
    • Macro Language Reference
    • FedSQL Programming
    • DS2 Programming
    • SAS Component Objects
  • Migrating to UTF-8
  • Example Data Sets
  • SAS Code Debugging
  • Output and Graphics
  • In-Database Technologies
  • Security and Administration
  • SAS Servers
  • Using the batch Plug-In for the SAS Viya CLI
  • SAS Data Quality
  • SAS Job Execution Web Application
  • Accessibility in SAS Viya
  • SAS Visual Analytics
  • SAS Viya: Administration
  • SAS Viya Operations
  • SAS Studio
  • Other Resources
National Language Support (NLS)
 

SAS® National Language Support (NLS): Reference Guide

Syntax Conventions for the SAS Language
NLS Concepts
National Language Support (NLS)
Locale for NLS
Encoding for NLS
Transcoding for NLS
Double-Byte Character Sets (DBCS)
Time Zones
Autocall Macros for NLS
Dictionary of Autocall Macros for NLS
Data Set Options for NLS
Dictionary of Data Set Options for NLS
Formats for NLS
Overview to NLS Formats
Dictionary of Formats for NLS
Functions for NLS
Internationalization Compatibility for SAS String Functions
VARCHAR Support in Functions
Dictionary of Functions for NLS
Informats for NLS
Dictionary of Informats for NLS
Macro Functions for NLS
Dictionary of Macro Functions for NLS
System Options for NLS
Dictionary of System Options for NLS
Options for Commands, Statements, and Procedures for NLS
Dictionary of Command, Statement, and Procedure Option for NLS
Procedures for NLS
DBCSTAB Procedure
LOCALEDATA Procedure
TRANTAB Procedure
Values for Locale, Encoding, and Transcoding
Values for the LOCALE= System Option
SAS System Options for Processing DBCS Data
Encoding Values in SAS Language Elements
Encoding Values for a SAS Session
Appendixes
Encoding and Alias Names
Time Zone IDs and Time Zone Names
TK_NLS_REPLACE_ICVEXT
Last updated: September 15, 2026
Privacy Statement Terms of Use 
Copyright © SAS Institute Inc. All Rights Reserved