16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Localization<br />

blank) and their behavior (for example, the mapping of lowercase letters to<br />

uppercase letters). This locale also determines the interpretation of<br />

sequences of bytes as characters (such as singlebyte versus doublebyte<br />

characters).<br />

LC_MESSAGES<br />

Identifies the locale that controls the processing of affirmative and negative<br />

responses. This locale also defines the language and cultural conventions<br />

used when writing messages.<br />

LC_MONETARY<br />

Determines the locale that controls monetary-related numeric formatting (for<br />

example, currency symbol, decimal point character, and thousands<br />

separator).<br />

LC_NUMERIC<br />

Determines the locale that controls numeric formatting (for example,<br />

decimal point character and thousands separator).<br />

LC_TIME<br />

Identifies the locale that determines the format of time and date strings.<br />

LC_SYNTAX<br />

Identifies the locale that defines the encodings for the variant characters in<br />

the portable character set.<br />

The NLSPATH localization variable specifies where the message catalogs are to be<br />

found.<br />

For example,<br />

NLSPATH="/system/nlslib/%N.cat"<br />

specifies that the z/<strong>OS</strong> shell is to look for all message catalogs in the directory<br />

/system/nlslib, where the catalog name is to be constructed from the name<br />

parameter passed to the z/<strong>OS</strong> shell with the suffix .cat.<br />

Substitution fields consist of a % symbol, followed by a single-letter keyword. These<br />

keywords are currently defined:<br />

%N The value of the name parameter<br />

%L The value of the LC_MESSAGES category, or LANG, depending on how<br />

the catopen() function that opens this catalog is coded. For more<br />

information, refer to catopen() in z/<strong>OS</strong> XL C/C++ Run-Time Library<br />

Reference.<br />

%l The language element from the LC_MESSAGES category<br />

%t The territory element from the LC_MESSAGES category<br />

%c The codeset element from the LC_MESSAGES category<br />

Templates defined in NLSPATH are separated by colons (:). A leading colon or two<br />

adjacent colons (::) are equivalent to specifying %N. For example:<br />

NLSPATH=":%N.cat:/nlslib/%L/%N.cat"<br />

specifies that the z/<strong>OS</strong> shell should look for the requested message catalog in<br />

name, name.cat, and /nlslib/category/name.cat, where category is the value of the<br />

LC_MESSAGES or LANG category of the current locale.<br />

Do not set the NLSPATH variable unless you need to override the default system<br />

path. Otherwise the commands may behave unpredictably.<br />

908 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!