COBOL/400 Language Help

LANGID Option

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".

alphabet-name-1

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 ]