Environment Division [ Micro Focus COBOL Language Reference - Additional Topics ] MPE/iX 5.0 Documentation
Micro Focus COBOL Language Reference - Additional Topics
Environment Division
The OBJECT-COMPUTER Paragraph
General Rule.
The compileris designed to allow only 8-bit characters to be used in the
PROGRAM COLLATING SEQUENCE IS phrase.
It is meaningless to define a collating sequence using an ALPHABET clause
in which the literals contain double-byte characters. This is because
double-byte appears as two separate 8-bit characters. If you attempt to
use double-byte in this way, double-byte characters are collated as two
single bytes -- any double-byte meaning is ignored.
You can, however, use non-ASCII characters in the ALPHABET clause
literals when you define the program collating sequence. For example, in
a Japanese environment single-byte Katakana can be used in a Shift-JIS
environment as they are stored and displayed as one byte. If you are
using EUC you cannot use single-byte characters in the ALPHABET IS
phrase, because such characters are hybrid two-byte characters.
The SPECIAL-NAMES Paragraph
Syntax Rules.
1. In the CURRENCYSIGN clause, literal-6 must not be an NCHAR literal
and must not be "N".
2. In the ALPHABET clause, literal-1, -2, and -3 must not be NCHAR
literals.
3. In the CLASS clause, literal-4 and -5 must not be NCHAR literals.
The FILE-CONTROL Paragraph
Syntax Rule.
In the ASSIGNclause, literal-1 can be an NCHAR literal and
external-file-reference can contain DBCS characters.
MPE/iX 5.0 Documentation