#### TO

#### Synopsis

    HELP:   Conversion to this CCSID
    TYPE:   STRING
    SYNTAX: TO='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 at compression is UTF-8. For decompression, 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:

       flam4 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:

       flam4 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

- `DEFAULT - Use default CCSID (UTF-8)`
- `ASCII - Use default ASCII CCSID (environment)`
- `EBCDIC - Use default EBCDIC CCSID (environment)`
- `SYSTEM - Use system character set (environment/logical)`
- `LOCAL - Use local character set (system/physical)`