Values for the LOCALE= System Option |
Table 15.1 lists the valid LOCALE= values, specified by using the SAS name or the Posix name. The alias name is also listed. Some locales do not have an alias.
SAS Name | Posix Locale | Alias |
---|---|---|
Afrikaans_SouthAfrica | af_ZA | Afrikaans |
Albanian_Albania | sq_AL | Albanian |
Arabic_Algeria | ar_DZ | |
Arabic_Bahrain | ar_BH | |
Arabic_Egypt | ar_EG | |
Arabic_India | ar_IN | |
Arabic_Iraq | ar_IQ | |
Arabic_Jordan | ar_JO | |
Arabic_Kuwait | ar_KW | |
Arabic_Lebanon | ar_LB | |
Arabic_Libya | ar_LY | |
Arabic_Morocco | ar_MA | |
Arabic_Oman | ar_OM | |
Arabic_Qatar | ar_QA | |
Arabic_SaudiArabia | ar_SA | |
Arabic_Sudan | ar_SD | |
Arabic_Syria | ar_SY | |
Arabic_Tunisia | ar_TN | |
Arabic_UnitedArabEmirates | ar_AE | Arabic |
Arabic_Yemen | ar_YE | |
Bengali_India | bn_IN | Bengali |
Bosnian_BosniaHerzegovina | bs_BA | |
Bulgarian_Bulgaria | bg_BG | Bulgarian |
Byelorussian_Belarus | be_BY | Byelorussian |
Catalan_Spain | ca_ES | Catalan |
Chinese_China | zh_CN | Chinese |
Chinese_HongKong | zh_HK | |
Chinese_Macau | zh_MO | |
Chinese_Singapore | zh_SG | |
Chinese_Taiwan | zh_TW | |
Cornish_UnitedKingdom | kw_GB | Cornish |
Croatian_BosniaHerzegovina | hr_BA | |
Croatian_Croatia | hr_HR | Croatian |
Czech_CzechRepublic | cs_CZ | Czech |
Danish_Denmark | da_DK | Danish |
Dutch_Belgium | nl_BE | |
Dutch_Netherlands | nl_NL | Dutch |
English_Australia | en_AU | |
English_Belgium | en_BE | |
English_Botswana | en_BW | |
English_Canada | en_CA | |
English_Caribbean | en_CB | |
English_HongKong | en_HK | |
English_India | en_IN | |
English_Ireland | en_IE | |
English_Jamaica | en_JM | |
English_NewZealand | en_NZ | |
English_Philippines | en_PH | |
English_Singapore | en_SG | |
English_SouthAfrica | en_ZA | |
English_UnitedKingdom | en_GB | |
English_UnitedStates | en_US | English |
English_Zimbabwe | en_ZW | |
Estonian_Estonia | et_EE | Estonian |
Faroese_FaroeIslands | fo_FO | Faroese |
Finnish_Finland | fi_FI | Finnish |
French_Belgium | fr_BE | |
French_Canada | fr_CA | |
French_France | fr_FR | French |
French_Luxembourg | fr_LU | |
French_Switzerland | fr_CH | |
German_Austria | de_AT | |
German_Germany | de_DE | German |
German_Liechtenstein | de_LI | |
German_Luxembourg | de_LU | |
German_Switzerland | de_CH | |
Greek_Greece | el_GR | Greek |
Greenlandic_Greenland | kl_GL | Greenlandic |
Hebrew_Israel | he_IL | Hebrew |
Hindi_India | hi_IN | Hindi |
Hungarian_Hungary | hu_HU | Hungarian |
Icelandic_Iceland | is_IS | Icelandic |
Indonesian_Indonesia | id_ID | Indonesian |
Italian_Italy | it_IT | Italian |
Italian_Switzerland | it_CH | |
Japanese_Japan | ja_JP | Japanese |
Korean_Korea | ko_KR | Korean |
Latvian_Latvia | lv_LV | Latvian |
Lithuanian_Lithuania | lt_LT | Lithuanian |
Macedonian_Macedonia | mk_MK | Macedonian |
Malay_Malaysia | ms_MY | Malay |
Maltese_Malta | mt_MT | Maltese |
ManxGaelic_UnitedKingdom | gv_GB | ManxGaelic |
Marathi_India | mr_IN | Marathi |
NorwegianBokmal_Norway | nb_NO | NorwegianBokmal |
NorwegianNynorsk_Norway | nn_NO | NorwegianNynorsk |
Norwegian_Norway | no_NO | Norwegian |
Persian_India | fa_IN | |
Persian_Iran | fa_IR | Persian |
Polish_Poland | pl_PL | Polish |
Portuguese_Brazil | pt_BR | |
Portuguese_Portugal | pt_PT | Portuguese |
Romanian_Romania | ro_RO | Romanian |
Russian_Russia | ru_RU | Russian |
Russian_Ukraine | ru_UA | |
Serbian_BosniaHerzegovina | sr_BA | |
Serbian_Montenegro | sr_ME | |
Serbian_Serbia | sr_RS | |
Serbian_Yugoslavia | sr_YU | Serbian |
SerboCroatian_BosniaHerzegovina | sh_BA | |
SerboCroatian_Montenegro | sh_ME | |
SerboCroatian_Serbia | sh_RS | |
Slovak_Slovakia | sk_SK | Slovak |
Slovenian_Slovenia | sl_SI | Slovenian |
Spanish_Argentina | es_AR | |
Spanish_Bolivia | es_BO | |
Spanish_Chile | es_CL | |
Spanish_Colombia | es_CO | |
Spanish_CostaRica | es_CR | |
Spanish_DominicanRepublic | es_DO | |
Spanish_Ecuador | es_EC | |
Spanish_ElSalvador | es_SV | |
Spanish_Guatemala | es_GT | |
Spanish_Honduras | es_HN | |
Spanish_Mexico | es_MX | |
Spanish_Nicaragua | es_NI | |
Spanish_Panama | es_PA | |
Spanish_Paraguay | es_PY | |
Spanish_Peru | es_PE | |
Spanish_PuertoRico | es_PR | |
Spanish_Spain | es_ES | Spanish |
Spanish_UnitedStates | es_US | |
Spanish_Uruguay | es_UY | |
Spanish_Venezuela | es_VE | |
Swedish_Sweden | sv_SE | Swedish |
Tamil_India | ta_IN | Tamil |
Telugu_India | te_IN | Telugu |
Thai_Thailand | th_TH | Thai |
Turkish_Turkey | tr_TR | Turkish |
Ukrainian_Ukraine | uk_UA | Ukrainian |
Vietnamese_Vietnam | vi_VN | Vietnamese |
Table 15.2 lists the valid Posix values and the default settings for the ENCODING= option, by operating environment. The settings for DFLANG, DATESTYLE, and PAPERSIZE system options are set automatically.
Here is an example:
sas9 -locale arabic_algeria
When the Arabic_Algeria LOCALE= value is specified, corresponding default settings for the system options are as follows:
DFLANG=English DATESTYLE=DMY PAPERSIZE=A4
Posix Locale | Windows Encoding | UNIX Encoding | z/OS Encoding | DFLANG= | DATESTYLE= | PAPERSIZE= |
---|---|---|---|---|---|---|
af_ZA | wlatin1 | latin1 | open_ed-1047 | English | YMD | A4 |
ar_AE | warabic | arabic | open_ed-425 | English | DMY | A4 |
ar_BH | warabic | arabic | open_ed-425 | English | DMY | A4 |
ar_DZ | warabic | arabic | open_ed-425 | English | DMY | A4 |
ar_EG | warabic | arabic | open_ed-425 | English | DMY | A4 |
ar_IN | warabic | arabic | open_ed-425 | English | DMY | A4 |
ar_IQ | warabic | arabic | open_ed-425 | English | DMY | A4 |
ar_JO | warabic | arabic | open_ed-425 | English | DMY | A4 |
ar_KW | warabic | arabic | open_ed-425 | English | DMY | A4 |
ar_LB | warabic | arabic | open_ed-425 | English | DMY | A4 |
ar_LY | warabic | arabic | open_ed-425 | English | DMY | A4 |
ar_MA | warabic | arabic | open_ed-425 | English | DMY | A4 |
ar_OM | warabic | arabic | open_ed-425 | English | DMY | A4 |
ar_QA | warabic | arabic | open_ed-425 | English | DMY | A4 |
ar_SA | warabic | arabic | open_ed-425 | English | DMY | A4 |
ar_SD | warabic | arabic | open_ed-425 | English | DMY | A4 |
ar_SY | warabic | arabic | open_ed-425 | English | DMY | A4 |
ar_TN | warabic | arabic | open_ed-425 | English | DMY | A4 |
ar_YE | warabic | arabic | open_ed-425 | English | DMY | A4 |
be_BY | wcyrillic | cyrillic | open_ed-1025 | English | DMY | A4 |
bg_BG | wcyrillic | cyrillic | open_ed-1025 | English | YMD | A4 |
bn_IN | wlatin1 | latin1 | open_ed-1047 | English | DMY | A4 |
ca_ES | wlatin1 | latin1 | open_ed-1148 | English | DMY | A4 |
cs_CZ | wlatin2 | latin2 | open_ed-870 | Czech | DMY | A4 |
da_DK | wlatin1 | latin9 | open_ed-1142 | Danish | DMY | A4 |
de_AT | wlatin1 | latin9 | open_ed-1141 | German | DMY | A4 |
de_CH | wlatin1 | latin9 | open_ed-1148 |
Swiss_
German |
DMY | A4 |
de_DE | wlatin1 | latin9 | open_ed-1141 | German | DMY | A4 |
de_LI | wlatin1 | latin9 | open_ed-1141 | German | DMY | A4 |
de_LU | wlatin1 | latin9 | open_ed-1141 | German | DMY | A4 |
el_GR | wgreek | greek | open_ed-875 | English | DMY | A4 |
en_AU | wlatin1 | latin1 | open_ed-1047 | English | DMY | A4 |
en_BE | wlatin1 | latin9 | open_ed-1148 | English | DMY | A4 |
en_BW | wlatin1 | latin1 | open_ed-1047 | English | DMY | A4 |
en_CA | wlatin1 | latin1 | open_ed-1047 | English | DMY | letter |
en_CB | wlatin | latin1 | open_ed-1047 | English | MDY | letter |
en_GB | wlatin1 | latin9 | open_ed-1146 | English | DMY | A4 |
en_HK | wlatin1 | latin9 | open_ed-1146 | English | DMY | A4 |
en_IE | wlatin1 | latin9 | open_ed-1146 | English | DMY | A4 |
en_IN | wlatin1 | latin9 | open_ed-1146 | English | DMY | A4 |
en_JM | wlatin1 | latin1 | open_ed-1047 | English | DMY | letter |
en_NZ | wlatin1 | latin1 | open_ed-1047 | English | DMY | A4 |
en_PH | wlatin1 | latin1 | open_ed-1047 | English | MDY | A4 |
en_SG | wlatin1 | latin9 | open_ed-1146 | English | DMY | A4 |
en_US | wlatin1 | latin1 | open_ed-1047 | English | MDY | A4 |
en_ZA | wlatin1 | latin1 | open_ed-1047 | English | DMY | A4 |
en_ZW | wlatin1 | latin1 | open_ed-1047 | English | DMY | A4 |
es_AR | wlatin1 | latin1 | open_ed-1047 | Spanish | DMY | letter |
es_BO | wlatin1 | latin1 | open_ed-1047 | Spanish | DMY | letter |
es_CL | wlatin1 | latin1 | open_ed-1047 | Spanish | DMY | letter |
es_CO | wlatin1 | latin1 | open_ed-1047 | Spanish | DMY | letter |
es_CR | wlatin1 | latin1 | open_ed-1047 | Spanish | DMY | letter |
es_DO | wlatin1 | latin1 | open_ed-1047 | Spanish | DMY | letter |
es_EC | wlatin1 | latin1 | open_ed-1047 | Spanish | DMY | letter |
es_ES | wlatin1 | latin9 | open_ed-1145 | Spanish | DMY | A4 |
es_GT | wlatin1 | latin1 | open_ed-1047 | Spanish | DMY | letter |
es_HN | wlatin1 | latin1 | open_ed-1047 | Spanish | MDY | letter |
es_MX | wlatin1 | latin1 | open_ed-1047 | Spanish | DMY | letter |
es_NI | wlatin1 | latin1 | open_ed-1047 | Spanish | MDY | letter |
es_PA | wlatin1 | latin1 | open_ed-1047 | Spanish | MDY | letter |
es_PE | wlatin1 | latin1 | open_ed-1047 | Spanish | DMY | letter |
es_PR | wlatin1 | latin1 | open_ed-1047 | Spanish | MDY | letter |
es_PY | wlatin1 | latin1 | open_ed-1047 | Spanish | DMY | letter |
es_SV | wlatin1 | latin1 | open_ed-1047 | Spanish | MDY | letter |
es_US | wlatin1 | latin1 | open_ed-1047 | Spanish | DMY | letter |
es_UY | wlatin1 | latin1 | open_ed-1047 | Spanish | DMY | A4 |
es_VE | wlatin1 | latin1 | open_ed-1047 | Spanish | DMY | letter |
et_EE | wbaltic | latin6 | open_ed-1122 | English | DMY | A4 |
fa_IN | warabic | arabic | open_ed-1097 | English | YMD | A4 |
fa_IR | warabic | arabic | open_ed-1097 | English | YMD | A4 |
fi_FI | wlatin1 | latin9 | open_ed-1143 | Finnish | DMY | A4 |
fo_FO | wlatin1 | latin1 | open_ed-1047 | English | DMY | A4 |
fr_BE | wlatin1 | latin9 | open_ed-1148 | French | DMY | A4 |
fr_CA | wlatin1 | latin1 | open_ed-1047 | French | DMY | letter |
fr_CH | wlatin1 | latin9 | open_ed-1148 | Swiss_French | DMY | A4 |
fr_FR | wlatin1 | latin9 | open_ed-1147 | French | DMY | A4 |
fr-LU | wlatin1 | latin9 | open_ed-1147 | French | DMY | A4 |
gv_GB | wlatin1 | latin8 | open_ed-1148 | English | DMY | A4 |
he_IL | whebrew | hebrew | open_ed-424 | English | DMY | A4 |
hi_IN | PCISCII806 | latin1 | open_ed-1137 | English | DMY | A4 |
hr_HR | wlatin2 | latin2 | open_ed-870 | Croatian | YMD | A4 |
hu_HU | wlatin2 | latin2 | open_ed-870 | Hungarian | YMD | A4 |
is_IS | wlatin1 | latin1 | open_ed-1047 | English | DMY | A4 |
id_ID | wlatin1 | latin1 | open_ed-1047 | English | DMY | A4 |
it_CH | wlatin1 | latin9 | open_ed-1148 | Italian | DMY | A4 |
it_IT | wlatin1 | latin9 | open_ed-1144 | Italian | DMY | A4 |
ja_JP | not applicable | not applicable | not applicable | Japanese | YMD | A4 |
kl_GL | wlatin1 | latin1 | open_ed-1047 | English | DMY | A4 |
ko_KR | not applicable | not applicable | not applicable | Locale | YMD | A4 |
kw_GB | wlatin1 | latin1 | open_ed-1148 | English | DMY | A4 |
lt_LT | wbaltic | latin6 | open_ed-1112 | English | YMD | A4 |
lv_LV | wbaltic | latin6 | open_ed-1112 | English | YMD | A4 |
mk_MK | wcyrillic | cyrillic | open_ed-1154 | English | DMY | A4 |
mr_IN | PCISCII806 | latin1 | open_ed-1137 | English | DMY | A4 |
ms_MY | wlatin1 | latin1 | open_ed-1047 | English | DMY | A4 |
mt_MT | wlatin1 | latin3 | open_ed-905 | English | DMY | A4 |
nb_NO | wlatin1 | latin9 | open_ed-1142 | Norwegian | DMY | A4 |
nl_BE | wlatin1 | latin1 | open_ed-1148 | Dutch | DMY | A4 |
nl_NL | wlatin1 | latin1 | open_ed-1140 | Dutch | DMY | A4 |
nn_NO | wlatin1 | latin9 | open_ed-1142 | Norwegian | DMY | A4 |
no_NO | wlatin1 | latin9 | open_ed-1142 | Norwegian | DMY | A4 |
pl_PL | wlatin2 | latin2 | open_ed-870 | Polish | YMD | A4 |
pt_BR | wlatin1 | latin1 | open_ed-275 | Portuguese | DMY | letter |
pt_PT | wlatin1 | latin1 | open_ed-1140 | Portuguese | DMY | A4 |
ro_RO | wlatin2 | latin2 | open_ed-870 | English | DMY | A4 |
ru_RU | wcyrillic | cyrillic | open_ed-1025 | Russian | DMY | A4 |
ru_UA | wcyrillic | cyrillic | open_ed-1154 | Russian | DMY | A4 |
sh_YU | wlatin2 | latin2 | open_ed-870 | English | DMY | A4 |
sk_SK | wlatin2 | latin2 | open_ed-870 | English | DMY | A4 |
sl_SL | wlatin2 | latin2 | open_ed-870 | Slovenian | YMD | A4 |
sr_YU | wcyrillic | cyrillic | open_ed-1025 | English | DMY | A4 |
sq_AL | wlatin2 | latin2 | open_ed-1153 | English | YMD | A4 |
sv_SE | wlatin1 | latin9 | open_ed-1143 | Swedish | YMD | A4 |
ta_IN | wlatin1 | latin1 | open_ed-1047 | English | DMY | A4 |
te_IN | wlatin1 | latin1 | open_ed-1047 | English | DMY | A4 |
th_TH | pcoem874 | thai | open_ed-838 | English | DMY | A4 |
tr_TR | wturkish | latin5 | open_ed-1026 | English | DMY | A4 |
uk_UA | wcyrillic | cyrillic | open_ed-1025 | English | DMY | A4 |
vi_VN | wvietnamese | latin1 | open_ed-1130 | English | DMY | A4 |
zh_CN | not applicable | not applicable | not applicable | Locale | YMD | A4 |
zh_HK | not applicable | not applicable | not applicable | Locale | YMD | A4 |
zh_MO | not applicable | not applicable | not applicable | Locale | YMD | A4 |
zh_SG | not applicable | not applicable | not applicable | Locale | DMY | A4 |
zh_TW | not applicable | not applicable | not applicable | Locale | YMD | A4 |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.