Data conversion for transaction routing

The data that flows between two CICS® systems when a CICS transaction is using a remote terminal consists of:

Data conversion for transaction routing is required when the terminal-owning region (TOR) and application-owning region (AOR) use a different code page or byte ordering.

CICS on Open Systems and CICS on Windows Systems can be configured to convert automatically the screen data (3270 data streams) that is sent to, and received from, a remote CICS system. Data conversion is triggered by the RemoteCodePageTR attribute of the Communications Definition (CD) entry for a connection. If this attribute is set to a code page that is different from the local code page, TXSeries for Multiplatforms ensures that the screen data that is sent to the remote system is converted to the code page that is specified in RemoteCodePageTR. TXSeries for Multiplatforms also assumes that screen data that is received from the remote system is in the code page that is specified in RemoteCodePageTR and will convert it to the local code page. So the code page that is specified in RemoteCodePageTR can be viewed as the code page of all transaction-routed screen data that is flowing between the two CICS systems.

Choosing an appropriate value for RemoteCodePageTR depends upon the particular remote CICS system.

RemoteCodePageTR is expressed by use of the code page names that are defined in your local machine. Table 1 shows the code page names for your operating system. In addition, ensure that an iconv data conversion table that can convert both ways between the code page that is specified in RemoteCodePageTR and the local code page, is installed on your machine. The default local code page for the region is displayed in one of the messages that is output in the console.nnnnnn file during region startup.

TXSeries for Multiplatforms can convert transaction routing screen data automatically because the structure of the 3270 data streams is well understood. TXSeries for Multiplatforms cannot automatically convert the data in a TCTUA or a COMMAREA that is flowed during transaction routing because its contents are application defined. It might contain a mixture of character and binary data that must be converted by different techniques. TXSeries for Multiplatforms therefore provides a user exit called DFHTRUC, which can be customized to your region's applications. The default version of DFHTRUC that is supplied with your TXSeries for Multiplatforms region does nothing. You might have to change it if:

The information that follows discusses how to write your own version of DFHTRUC.