ILE COBOL Programmer's Guide
In general, you can use mixed literals wherever nonnumeric literals are
allowed. Literals for the following, however, cannot include
double-byte characters:
- ALPHABET-name clause
- CURRENCY SIGN clause
- ASSIGN clause
- CLASS-name clause
- CALL statement
- CANCEL statement.
You can use DBCS literals whenever nonnumeric literals are allowed except
as a literal in the following:
- ALPHABET clause
- ASSIGN clause
- CLASS clause
- CURRENCY SIGN clause
- LINKAGE clause
- CALL statement program-id
- CANCEL statement
- END PROGRAM statement
- PADDING CHARACTER clause
- PROGRAM-ID paragraph
- ACQUIRE statement
- DROP statement
- As the text-name in a COPY statement
- As the library-name in a COPY statement.
- Note:
- You can use DBCS characters for COBOL words or names. See the WebSphere Development Studio: ILE COBOL Reference
for information on rules for formatting COBOL system-names, reserved words,
and user-defined words such as data names and file names.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.