User`s guide

uSet Locale
162 Sybase IQ ETL 4.1
string value
The value to set
Examples uSetEnv(“LOAD_MAX_VALUE”, IN.Date)
uSet Locale
Description Changes the current date and time settings to a different language.
Syntax string uSetLocale([language] [, country] [, codepage])
Parameters
string language
The name of the language.
string country
The string for the country.
string codepage
The codepage string.
Examples To retrieve month names in a different locale:
uSetLocale("English") // switch to english
uMonthName("2005-03-22") // returns "March"
uSetLocale("German") // switch to german
uMonthName("2005-03-22") // returns "März"
uSetLocale("C") // switch back to default
Usage Language Strings
The following language strings are recognized. uSetLocale does not accept any
language that is not supported by the operating system.
Note The three-letter language-string codes are valid only in Windows NT and
Windows 95.
Primary
Language Sub-language Language String
Chinese Chinese “chinese”
Chinese Chinese (simplified) “chinese-simplified” or “chs”
Chinese Chinese (traditional) “chinese-traditional” or “cht”