APPENDIX1.6 Appendix F. Locale Considerations (Workstation Only)
A locale is defined by language-specific and cultural-specific conventions
for processing information. All such information should be accessible to
a program at run time so that the same program can display or process data
differently for different countries.
Locale information consists of data from six categories. Each locale is
described by a locale definition file. The following standard categories
can be defined in a locale definition source file:
- LC_CTYPE
- Defines character classification, case conversion, and other
character attributes. Use this category to define the code page
in effect.
- LC_COLLATE
- Defines string-collation order information. For IBM COBOL
workstation products running on AIX, OS/2, and Windows, this
defines the collating sequence in effect. This only impacts any
> or < comparisons, such as relational conditions and the SORT
or MERGE verb.
- LC_MESSAGES
- Defines the format for affirmative and negative responses and
impacts whether messages (error messages and listing headers for
example) are in US English or Japanese. For any locale other
than Japanese, US English is used.
- LC_MONETARY
- Defines rules an symbols for formatting monetary numeric
information.
For IBM COBOL workstation products running on AIX, OS/2, and
Windows, this attribute has no affect. Monetary value
representation is controlled through the COBOL language syntax.
- LC_NUMERIC
- Defines rules and symbols for formatting nonmonetary numeric
information.
For IBM COBOL workstation products running on AIX, OS/2, and
Windows, this attribute has no affect. Nonmonetary numeric
value representation is controlled through the COBOL language
syntax.
- LC_TIME
- Lists rules and symbols for formatting time and date
information.
For IBM COBOL workstation products running on AIX, OS/2, and
Windows, this attribute only affects the date and time shown on
the compiler listings. All other date and time values are
controlled through the COBOL language syntax.
Locale definition files are named by the language, territory, and code set
information they describe.
© Copyright IBM Corp. 1991, 1998
IBM Library Server Copyright 1989, 2005 IBM Corporation. All rights reserved.
Return to library:
z/OS |
z/OS.e |
TPF |
z/VSE |
z/VM |
IBM Hardware |
IBM System z Redbooks
Glossary:
IBM terminology
Publications:
How to order publications
Readers:
Download IBM Library Reader |
Download IBM Softcopy Reader |
Download Adobe® Acrobat® Reader®
Library management:
Download IBM Softcopy Librarian
Contacts:
Contact z/OS
Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks
of Adobe Systems incorporated.