This statement can be embedded in an application program or issued interactively. It is an executable statement that can be dynamically prepared.
A character string constant that must not be longer than 50 bytes and must represent a valid locale.
A variable with a data type of CHAR or VARCHAR and a length that is not longer than 50 bytes. The value of host-variable must not be null and must represent a valid locale. If the host variable has an associated indicator variable, the value of the indicator variable must not indicate a null value.
The locale must:
A locale can be specified in uppercase characters, lowercase characters, or a combination of the two.
Some examples of locales include:
Description
The value of CURRENT LOCALE LC_CTYPE is replaced by the string constant or host variable specified. The value must be a CHAR or VARCHAR character string that is no longer than 50 bytes.
If a host variable is specified, its value must not be null. If it has an associated indicator, the value of the indicator value must not indicate a null value. The locale must:
The value of CURRENT LOCALE LC_CTYPE is replaced by the value specified. The value must not be longer than 50 bytes and must be a valid locale.