Micro FocusĀ Visual COBOLĀ 2.3 for Visual Studio 2015
>
Programming
>
Data Access
>
Database Access
>
Reference
>
SQL TYPEs
>
CHAR
CHAR SQL Type
Note:
OpenESQL only
Syntax
SQL [TYPE] [IS] CHAR(
n
)
Example
01 hv-name SQL TYPE IS CHAR(200).
generates
01 hv-name PIC X(200).
Parent topic:
SQL TYPEs
Related reference
Fixed-length Character Strings