HELP: Default CCSID / character encoding [auto] TYPE: STRING SYNTAX: CCSID='str'/DEFAULT/ASCII/EBCDIC/SYSTEM/LOCAL
The CCSID defines the encoding string or CCSID for the input text stream. For read operations, the default value is usually known. If it is unknown, the local character set is derived from the environment variable LANG. If LANG is not set, the default ASCII or EBCDIC system-codepage is used, depending on the platform.
To get a list of supported encoding strings, please use the command below:
flcl INFO GET.ENCODINGS
Depending on the platform, this function lists all known encoding strings. Some encodings may not be supported. To determine the supported CCSIDs and corresponding encoding strings and charsets please use:
flcl INFO GET.CCSIDS
To define the CCSID, you can use one of the encoding strings or the decimal number for a CCSID displayed by the command above. Example:
CCSID='37' will be equal to CCSID='IBM037' CCSID='1208' will be equal to CCSID='UTF-8'
A numeric CCSID must start with a decimal digit.
DEFAULT - Use default CCSID (environment)
ASCII - Use default ASCII CCSID (environment)
EBCDIC - Use default EBCDIC CCSID (environment)
SYSTEM - Use system character set (same as DEFAULT)
LOCAL - Use local character set (system/physical)