COBOL/400 Language Help
LANGID specifies the language identifier which is used in conjunction with
the sort sequence. The LANGID option is used only when the SRTSEQ value
in effect is LANGIDUNQ or LANGIDSHR. LANGID takes the form:
LANGID(a)
Where a is JOBRUN, JOB or
"language-identifier".
- JOBRUN indicates that the language identifier of the program will be
resolved at run time. When the compiled program is run, the language
identifier of the job is used. This value allows a program to be
compiled once and used with different language identifiers at run time.
This is the default value.
- JOB indicates that the language identifier of the program will be resolved
at compile time.
- "language-identifier" is a valid 3 character language
identifier.
You must specify alphabet-name-1 in the ALPHABET clause of the
SPECIAL-NAMES paragraph. You may specify any one of the alphabet-name
clause phrases with the following results:
- STANDARD-1
- The ASCII collating sequence is used for all nonnumeric
comparisons.
- STANDARD-2
- The International Reference Version of the ISO 7-bit code defined in
International Standard 646, 7-bit Coded Character Set for Information
Processing Interchange is used for all nonnumeric comparisons
- NATIVE
- The EBCDIC collating sequence is used for all nonnumeric
comparisons.
- EBCDIC
- The EBCDIC collating sequence is used for all nonnumeric
comparisons.
- NLSSORT
- The Sort sequence (SRTSEQ) and Language identifier (LANGID) specifications
in the compiler options (or implied defaults) are used to determine the
character code set used for all nonnumeric comparisons.
- literal
- The collating sequence established by the specification of literals in the
alphabet-name clause is used for all nonnumeric comparisons.
[ Top of Page | Previous Page | Next Page | Table of Contents ]
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.