Receive text options (MVS/TSO and VM/CMS)
The following options are used (by default) when receiving files in text mode. For VM/CMS,
remember to type an open parenthesis '(' before the first option.
Options include:
- ASCII
- Use this option for text files and for files that you want to be converted from EBCDIC
to ASCII. This is valid for SBCS languages, Traditional Chinese, and Korean. EBCDIC codes are converted
to PC 1-byte codes. For DBCS, removes shift out/shift in SO/SI characters from DBCS
fields.
- JISCII
- This option is valid for Japanese DBCS sessions only and converts EBCDIC code to 1-byte
codes and 2-byte codes to IBM Kanji. JISCII removes shift out/shift in (SO/SI) characters
from DBCS fields.
- CRLF
- Carriage Return and Line Feed. CRLF (x'0D0A') is added at the end of each line. EOF (x'1A')
is added at the end of the file. If APPEND is specified, EOF is removed from the end of an
existing file and is added at the end of an appended file.
- SO
- This option is valid only for DBCS and only when used with the JISCII or ASCII option. It
allows the conversion of SO (x'0E') and SI (x'0F') to RS (x'1E') and US (x'1F').
- USER
- This option is valid only for DBCS and only when used with the ASCII (JISCII) and SO
options. If USER is specified, SO (x'0E') and SI (x'OF') will not be converted to RS(x'1E')
and US(x'1F').
- APPEND
- The transferred file will be appended to an existing PC file that has the same name,
if one exists. If APPEND is not specified, the transferred file overwrites the existing
PC file.
- NEW
- The transfer stops if the file already exists. This option can be used to protect
against accidentally erasing an existing file.
- UNICODE (encoding)
- This option is only for DBCS code pages. It allows you to receive text files saved in
EBCDIC from the host and convert them to UNICODE. Valid encoding options are UCS2 or UTF8.
The default encoding option UCS2 is used if neither option is specified. The UTF-8 encoding
option is the same as UTF8.