OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/W, TP1/Client/P

[Contents][Index][Back][Next]

2.8.1 When not using a code mapping table

When TP1/Client/P (Windows environment) issues the dc_clt_code_convert function by specifying DCCLT_JISSJIS_TO_EBCKEIS for the request code, the character strings consisting of JIS code or Shift JIS code can be converted to the character strings consisting of EBCDIC/EBCDIK code or KEIS code. The client passes the converted character strings to the server to make requests using the dc_rpc_call_s function.

When the dc_clt_code_convert function is issued with DCCLT_EBCKEIS_ TO_JISSJIS for the request code to the response message after the dc_rpc_call_s function is executed, the character strings consisting of EBCDIC/EBCDIK code or KEIS code are converted to character strings consisting of JIS code or Shift JIS code.

The following figure gives an overview of the character code converter.

Figure 2-34 Overview of the character code converter

[Figure]