Micro FocusĀ Visual COBOLĀ 2.3 for Visual Studio 2012
>
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