Functions for NLS |
Category: | Locale |
Syntax | |
Details | |
Examples |
Syntax |
GETLOCENV( ) |
Details |
The GETLOCENV function returns the locale/language environment value for a valid SAS locale. The following environment values are possible:
SBCS |
The SAS session encoding is SBCS (Single-Byte Character Set). SASWZSD is loaded for string manipulation. |
DBCS |
The SAS session encoding is DBCS (Double-Byte Character Set). SASWZSD is loaded for string manipulation. |
MBCS |
The SAS session encoding is Unicode(UTF8). SASWZSU is loaded for string manipulation. |
If you receive a blank value, then the WZSS subsystem is not available. This action suggests a configuration or installation error.
Examples |
In the following example, the LOCALE= system option is set to French_France.
Statements | Results |
---|---|
option locale=french_france;
environ=getlocenv(); put environ; |
SBCS |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.