MBDATACONN (FTP client and server) statement

Use the MBDATACONN statement to define the conversions between a file system code page and a network transfer code page during data transfer. This statement affects the conversion of double-byte character set (DBCS) and multibyte character set (MBCS) data and is used when the ENCODING MBCS statement is coded. You can also use the SIte and LOCSIte subcommands to set this keyword and to set ENCODING to MBCS.

Server
Specifies the multibyte code pages used by the server.
Client
Specifies the multibyte code pages used by the client.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-MBDATACONN--(file_system_codepage,network_transfer_codepage)-><

Parameters

file_system_codepage
Specifies the name of the file system code page.
network_transfer_codepage
Specifies the network transfer code page.

Examples

To code MBDATACONN:
MBDATACONN    (IBM-1388,IBM-5488)

Usage notes

MBDATACONN is in effect only when ENCODING has a value of MBCS.

Table 1 shows the supported code page pairs.
Table 1. Supported code page pairs
Support for: file_system_codepage network_transfer_codepage
Chinese standard GB18030 IBM-1388 or UTF-8 IBM-5488
BIG5 IBM-937 IBM-950 or BIG5
EUCKANJI IBM-930 IBM-eucJP
JIS78KJ (JISROMAN IBM-930 IBM-5053
JIS78KJ (ASCII IBM-939 IBM-5055
JIS83KJ (JISROMAN IBM-930 IBM-5052
JIS83KJ (ASCII IBM-939 IBM-5054
KSC5601 IBM-933 IBM-949
SCHINESE IBM-935 IBM-1381
SJISKANJI SJISKANJI IBM-930 or IBM-939 IBM-932 or IBM-eucJC
TCHINESE IBM-937 IBM-948
UNICODE file transfer UTF-8, UTF-16 UTF-8, UTF-16, UTF-16BE, UTF-16LE

Other code page pairs might be accepted when specified. However, the ones listed in Table 1 have been verified to produce the support that is listed in the table.

Related topics