CCSID

Synopsis

HELP:   Read/write BSD/GNU format in this CCSID [DEFAULT]
TYPE:   STRING
SYNTAX: CCSID='str'/DEFAULT/ASCII/EBCDIC/SYSTEM/LOCAL

Description

The TO code defines the encoding string or CCSID for the output text stream.

The default value of this CCSID for read operations is UTF-8.

For write operations, the default value 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 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. Optionally, you can use one of the keywords below to use the system-specific default ASCII or EBCDIC CCSID.

Selections