CFTXLATE - Conversion tables

This topic describes how to define a translation table to be used during a transfer.

Related topics

Description

Use this object to define translation tables between 2 alphabets for:

  • Transfer direction
  • File data code type (FCODE: ASCII or EBCDIC)
  • Data network code type (NCODE: ASCII or EBCDIC)

Parameters

DIRECT 

Transfer direction for which the table applies:

  • SEND: translation table for send transfers
  • RECV: translation table for receive transfers
  • BOTH: translation table which can be used for send transfers and receive transfers

If the value of the parameter is BOTH, the data read in the file allows a translation table for send transfers (SEND) to be created. The translation table for receive transfers (RECV) is deduced automatically.

To provide for bijection (i.e. any character of the source alphabet translated into the target alphabet, and then re-translated from the target alphabet into the source alphabet, takes up its initial value again), the table has to contain 256 different values. It is not essential to strictly comply with this principle for transfer applications using reduced alphabets.

FCODE 

Data code of the file sent.

FNAME 

Name of the file containing the description of the translation table.

This file must have a sequential organization. Examples of such files are given with the various products (refer to the Operations Guide specific to each system).

ID 

Translation table identifier.

Several CFTXLATE commands may have the same identifier, if the values of DIRECT, FCODE or NCODE are different.

NCODE

Code of data sent over the network.

Example

CFTXLATE

ID = DEFAUT,

DIRECT = BOTH,

FCODE = ASCII,      Dft: OS

FNAME = ATOE,

NCODE = EBCDIC

 

CFTPARM

DEFAULT = DEFAUT,

DIRECT = BOTH,

FCODE = ASCII,      Dft: OS

FNAME = ATOE,

NCODE = EBCDIC

 

The Transfer CFT internal translation tables (identifier DEFAUT) are replaced by the user tables, which can be used in both transfer directions.

For send transfers, the Transfer CFT monitor translates from ASCII into EBCDIC and for receive transfers, from EBCDIC into ASCII. The ASCII to EBCDIC table is defined in the file ATOE and the EBCDIC to ASCII table is deduced automatically.

Related Links