CHAR

An item of type CHAR is interpreted as a series of single-byte characters. The length reflects both the number of characters and the number of bytes and ranges from 1 to 32767.

Workstation platforms like Windows® 2000 use the ASCII character set; mainframe platforms like z/OS® UNIX® System Services use the EBCDIC character set. Differences in collating sequence generally cause greater-than and less-than comparisons to have different results in the two types of environments.

Related reference
Primitive types

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.