Data Types - Strings

String data (CHAR and CHAR VARYING) may hold data that is either EBCDIC or ASCII.

Use the -ebcdic compiler option when mainframe files are being accessed and/or you require the character comparisons to be compatible with z/OS. This option will use the EBCDIC collating sequence when performing character comparisons, and may cause the compiler to generate extra code.