Code page conversion for CICS Web support

When CICS® exchanges messages with a Web client or server, character data in the messages normally needs to undergo code page conversion on entering and leaving the CICS environment.

Code page conversion for text in messages is required for two reasons: Non-text content of messages, such as images or application data, does not require code page conversion.

In releases of CICS before CICS Transaction Server for z/OS®, Version 3 Release 1, code page conversion for CICS Web support was handled using a code page conversion table (DFHCNV). In CICS Transaction Server for z/OS, Version 5 Release 1, the code page conversion table is no longer required for CICS Web support, except in limited circumstances for upgrade purposes. CICS Web support handles code page conversion using z/OS conversion services.

In CICS Web support, the defaults for code page conversion of text are:
Sometimes a more suitable alternative code page can be identified:

CICS does not support all the character sets named by IANA. The IANA character sets supported by CICS for code page conversion are listed in HTML coded character sets.

In most circumstances, the media type for the message can determine whether or not code page conversion takes place. Request or response bodies with a non-text media type usually do not undergo code page conversion. An exception is made for compatibility with Web-aware applications coded in earlier releases; if the options used on a command indicate that the application was coded before CICS Transaction Server for z/OS, Version 3 Release 1, the media type does not influence code page conversion.

Depending on the type of message and the processing path, code page conversion information might be identified automatically by CICS, or specified in the URIMAP definition, or specified by an analyzer program, or specified in the commands issued by a Web-aware application program. Code page conversion for CICS as an HTTP server explains the process for CICS as an HTTP server, and Code page conversion for CICS as an HTTP client explains the process for CICS as an HTTP client.



dfhtlt0.html | Timestamp icon Last updated: Thursday, 27 June 2019