PIC X(n)where n is an integer between 1 and the maximum length.
01 char-field1 PIC X(5). 01 char-field2 PIC X(254).
The largest supported fixed length character string is 254 bytes for the DB2 ECM. If you need a character string greater than 254 bytes in length, use a VARCHAR field.
01 char-field3 SQL TYPE IS CHAR(200).
The char-field3 format uses the CHAR SQL TYPE.
01 char-net string(200).