Customizing Language Environment locale callable services

Locale callable services allow you to customize culturally-sensitive output for a given national language, country, and code set by specifying a locale name.

Related callable services:
CEEFMON
Formats monetary string
CEEFTDS
Formats date and time into a character string
CEELCNV
Query locale numeric conventions
CEEQDTC
Queries locale, date, and time conventions
CEEQRYL
Queries the active locale environment
CEESCOL
Compares the collation weights of two strings
CEESETL
Sets the locale operating environment
CEESTXF
Transforms string characters into collation weights
See z/OS Language Environment Programming Reference for syntax information.

Although C or C++ routines can use the locale callable services, it is recommended that they use the equivalent native C library services instead for portability across platforms. Table 1 shows the Language Environment locale callable services and the equivalent C library routines.

Table 1. Language Environment locale callable services and equivalent C library routines
Language Environment locale callable service C library routine
CEEFMON strfmon()
CEEFTDS strftime()
CEELCNV localeconv()
CEEQDTC localdtconv()
CEEQRYL setlocale()
CEESCOL strcoll()
CEESETL setlocale()
CEESTXF strxfrm()