Micro Focus Visual COBOL 3.0 for Eclipse (Windows)
>
General Reference
>
COBOL Language Reference
>
Part 3. Additional Topics
>
Double-Byte Character Set Support
>
Procedure Division
>
The INSPECT Statement (DBCS)
The INSPECT Statement (DBCS)
Syntax Rules
All the identifiers and literals except identifier-2 must be of class DBCS if any one of them is of class DBCS.
General Rules
The count maintained in identifier-2 is of DBCS characters, not bytes.
Parent topic:
Procedure Division