ILE COBOL Programmer's Guide

How the COBOL Compiler Checks DBCS Characters

When the COBOL compiler finds a DBCS string, it checks the DBCS string by scanning it one DBCS character at a time.

The following conditions cause the COBOL compiler to diagnose a literal containing DBCS characters as not valid:

For each DBCS, mixed, or SBCS literal that is not valid, the compiler generates an error message and accepts or ignores the literal.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]