4.1.4 ALPHABET Clause
-
ALPHABET alphabet-name-1 IS
-
Provides a means of relating an alphabet-name to a specified character
code set or collating sequence.
It specifies a collating sequence when used in either:
- The PROGRAM COLLATING SEQUENCE clause of the OBJECT-COMPUTER
paragraph
- The COLLATING SEQUENCE phrase of the SORT or MERGE statement
It specifies a character code set when specified in either:
- The FD entry CODE-SET clause
- The SYMBOLIC CHARACTERS clause
X >_Workstation_> Under AIX, OS/2, and Windows, you cannot specify the
X ALPHABET clause if the code page in effect is a DBCS or EUC code page.
X For details, see the IBM COBOL Programming Guide for your platform.
X <_Workstation_<
-
STANDARD-1
-
>_Host_> Under OS/390 and VM, specifies the ASCII character set.
<_Host_<
>_Workstation_> Under AIX, OS/2, and Windows, specifies that the
collating sequence is based on the binary code values of the
characters, ignoring the locale setting. <_Workstation_<
-
STANDARD-2
-
>_Host_> Under OS/390 and VM, specifies the International
Reference Version of the ISO 7-bit code defined in International
Standard 646, 7-bit Coded Character Set for Information Processing
Interchange. <_Host_<
>_Workstation_> Under AIX, OS/2, and Windows, specifies that the
collating sequence is based on the binary code values of the
characters, ignoring the locale setting. <_Workstation_<
-
NATIVE
-
Specifies the native character code set. If the alphabet-name
clause is omitted:
>_Host_> Under OS/390 and VM, EBCDIC is assumed. <_Host_<
>_Workstation_> Under AIX, OS/2, and Windows, the alphabet-name is
X associated with the character set (ASCII or EUC) indicated by the
locale in effect. <_Workstation_<
-
EBCDIC
-
Specifies the EBCDIC character set.
-
literal-1
-
literal-2
-
literal-3
-
Specifies that the collating sequence is to be determined by the
program, according to the following rules:
When literal-1, literal-2, or literal-3 is specified, the
alphabet-name must not be referred to in a CODE-SET clause (see
"CODE-SET Clause" in topic 5.2.11).
Literal-1, literal-2, and literal-3 must not specify a
symbolic-character figurative constant.
X Floating-point literals cannot be used in a user-specified
X collating sequence.
X DBCS literals cannot be used in a user-specified collating
X sequence.
© 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.