File Options

The file options that can be used depend on the type of the connected host system and the host code page selected when the session was configured. Mode Values for File Transfer Options lists the mode values for the file transfer options. Transfer File Options lists the transfer options.

Table 1. Mode Values for File Transfer Options
Mode Host Code Page
DBCS

930 (Japan Katakana)
930 (Japan Katakana - Extended)
939 (Japan Latin - Extended)
1390 (New Japanese Katakana - Extended)
1399 (New Japanese Latin - Extended)
933 (Hangeul)
1364 (Hangeul 1364)
935 (Simplified Chinese)
937 (Traditional Chinese)
1371 (Taiwan 1372)

SBCS Others

Transfer File Options lists the options for PC/3270.

Table 2. Transfer File Options
File Option Host System Mode Conversion Details
ASCII

VM/CMS
MVS/TSO
ICS

SBCS
DBCS

Converts codes as follows when a file is sent:
  • Converts 1-byte workstation codes to EBCDIC codes
  • Converts 2-byte workstation codes to IBM host DBCS codes
  • Adds SO (hex 0E) and SI (hex 0F) before and after the DBCS field
  • Converts RS (hex 1E) and US (hex 1F) to SO (hex 0E) and SI (hex 0F)
Converts codes as follows when a file is received:
  • Converts EBCDIC codes to 1-byte workstation codes
  • Converts IBM host DBCS codes to 2-byte workstation codes
  • Removes SO (hex 0E) and SI (hex 0F) from before and after a DBCS field
JISCII

VM/CMS
MVS/TSO
CICS

DBCS
Converts codes as follows when a file is sent:
  • Converts 1-byte workstation codes to EBCDIC codes
  • Converts 2-byte workstation codes to IBM kanji codes
  • Adds SO (hex 0E) and SI (hex 0F) before and after the kanji field
  • Converts RS (hex 1E) and US (hex 1F) to SO (hex 0E) and SI (hex 0F)
Converts codes as follows when a file is received:
  • Converts EBCDIC codes to 1-byte workstation codes
  • Converts IBM kanji codes to 2-byte workstation codes
  • Removes SO (hex 0E) and SI (hex 0F) from before and after a kanji field
CRLF

VM CMS
MVS/TSO
CICS

SBCS
DBCS

Converts codes as follows when a file is sent:
  • Does not remove CRLF (hex 0D0A) from the end of each line. The code is treated as a delimiter for each record.
  • Removes EOF (hex 1A) from the end of the file.
Converts codes as follows when a file is received:
  • Adds CRLF (hex 0D0A) to the end of each line.
  • Adds EOF (hex 1A) to the end of the file. Removes EOF from the existing file, and appends EOF to the end of the added file when APPEND is specified.
APPEND

VM/CMS
MVS/TSO

SBCS
DBCS

Appends the sent file to the existing host file. Appends the received file to the existing workstation file.
SO

VM/CMS
MVS/TSO
CICS

DBCS This option is valid only for DBCS when used with the JISCII and ASCII options when receiving a file. SO (hex 0E) and SI (hex 0F) are converted to RS (hex 1E) and US (hex 1F).
NOSO

VM/CMS
MVS/TSO
CICS

DBCS
This option is valid only for DBCS when used with the JISCII and ASCII options when sending a file.
  • SO (hex 0E) and SI (hex 0F) are not added before and after the DBCS field.
  • RS (hex 1E) and US (hex 1F) are not converted to SO (hex 1F) and SI (hex 0F).
BLANK

VM/CMS
MVS/TSO
CICS

DBCS This option is valid with the CRLF option when receiving a file. BLANK (hex 40) is not removed from the end of each line.
USER

VM/CMS
MVS/TSO
CICS

DBCS This option is valid only for DBCS when used with the JISCII, ASCII, and SO options when receiving a file. SO (hex 0E) and SI (hex 0F) are not converted to RS (hex 1E) and US (hex 1F); they are written to a file without being converted.