z/OS Communications Server: IP User's Guide and Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Support for MBCS languages

z/OS Communications Server: IP User's Guide and Commands
SC27-3662-00

MBCS translation can be performed on the data connection.

The FTP client and server provide double-byte language support using a set of subcommands at the client and corresponding TYPE B commands at the server. This support is described in FTP with traditional DBCS support. An alternative to using the subcommands and TYPE B commands is to use the multibyte support in FTP that is activated by the ENCODING keyword in the FTP.DATA file, LOCSITE subcommand, or SITE command. Use the ENCODING and MBDATACONN keywords to enable translation using system supplied codepages. This method supports most of the double-byte languages currently handled by the traditional DBCS (TYPE B) support.

For example, you can specify that you want to use the Chinese standard GB18030 provided by the codepage IBM-5488 for data conversion on your data connections. To use the codepage IBM-5488, you must specify that multibyte encoding is to be used. You can do this in one of the following ways:
  • Code the following statement in the FTP.DATA file:
    ENCODING MBCS
  • Issue a subcommand:
    LOCSITE ENCODING=MBCS
You can then specify which codepage the IBM-5488 encoded data is to be converted to or from in the file system by doing one of the following:
  • Code one of the following statements in the FTP.DATA file:
    MBDATACONN  (IBM-1388,IBM-5488)
    or
    MBDATACONN  (UTF-8,IBM-5488)
  • Issue one of the following subcommands:
    LOCSITE MBDATACONN=(IBM-1388,IBM-5488
    or
    LOCSITE MBDATACONN=(UTF-8,IBM-5488)
Guideline: These steps control the client end of the data connection. To request the same conversions at the server end of the data connection, the same statements must be added to the server FTP.DATA file or use the SITE subcommand.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2013
This information center is Built on Eclipse™ ( www.eclipse.org ).