CCSID code page tagging for iSeries files

When File Transfer Protocol (FTP) creates a new file on an iSeries™ server, it is tagged with a Coded Character Set Identifier (CCSID) or the code page of that CCSID to identify the character data in that file. When replacing or appending data to an existing file, the tag of the file is not changed.

The following table summarizes how FTP assigns these values for different file systems and transfer types.

Table 1. CCSID code page tagging for iSeries files
Receiving file system Transfer type A (ASCII) Transfer transfer type C ('ccsid') Transfer type E (EBCDIC) Transfer type I (Image/Binary)
QSYS.LIB CCSID specified by the EBCDIC coded character set identifier for new database files (CRTCCSID) setting. 'ccsid' if EBCDIC CCSID. If ccsid is ASCII, then related default EBCDIC CCSID. 65535 65535
"root", QOpenSys, QDLS, QOPT Default ASCII CCSID. 'ccsid' value specified in TYPE C ccsid# subcommand. Job CCSID if it is not 65535. If Job CCSID is 65535, assign Default Job CCSID. Default ASCII CCSID.
QLanSrv ASCII code page of the network server description for file directory. ASCII code page of the network server description for file directory. Not supported. ASCII code page of the network server description for file directory.
Note: The default ASCII CCSID is defined when the FTP job is started: For the client, the CCSID parameter of the STRTCPFTP (and FTP) command. For the server, the CCSID parameter of the FTP Configuration attributes which can be changed using the CHGFTPA command. QFileSvr.400 file assignments depend on the file system receiving the file.
Related reference
Transfer root, QOpenSys, QLANSrv, QDLS, and QOPT files