Infocenter

Receive text options (OS/400)

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 IBM Kanji to 2-byte codes. JISCII removes shift out/shift in (SO/SI) characters from DBCS fields.


UNICODE (encoding)
This option lets you receive text files (saved in EBCIDIC) from the host and converts the data from EBCDIC to UNICODE. You can specify either UCS2 or UTF8 as the encoding option. If neither is specified, the default, UCS2, is used.


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.


DSTADDR(dstaddr)
This option specifies the destination address of the host to be used for the file transfer.


USERID(usr)
This option specifies the user ID to be used for the file transfer.


PASSWORD(pwd)
This option specifies the password to be used for the file transfer.