Data conversion using a CICS-supplied interface

If you are using a CICS-supplied interface to invoke a service flow, you might have to perform data conversion in the CICS Service Flow Runtime region using a customized version of the standard CICS® conversion table, DFHCNV.

You might need a data conversion table if the CICS system is using ISC to communicate with a member of the CICS family that runs on a hardware platform that does not use EBCDIC. The conversion table defines how data is changed from ASCII format at the workstation to EBCDIC format in CICS.

ECI applications use the CICS mirror program to call the CICS data conversion program, DFHCCNV, passing the request and reply messages found in the COMMAREA. DFHCCNV performs the necessary conversion of the COMMAREA as defined in the customized conversion table, DFHCNV. It applies standard conversion to those fields in the conversion templates for which you have not specified nonstandard, user-handled conversion.

If DFHCCNV finds a conversion template in the DFHCNV table that matches the CICS SFR interface program name DFHMADPL, it performs code page translation and data conversion for the COMMAREA associated with the ECI request. A conversion template is a table entry defining fields in a data area to be converted and the conversion method to be applied to each field.

The conversion template must specify the following:

See Conversion template for DFHMADPL for a sample conversion template of DFHMADPL.

For detailed information about the DFHCCNV conversion program, conversion templates, the DFHCNV conversion table, and the syntax of DFHCNV macros, see the following publications:
You can use other methods to perform Unicode or ASCII to EBCDIC data conversion. For example, you could perform data conversion within a Java™ application. See the following publications for further information regarding these methods:

For information on how to install and configure DFHCNV, see Setting up data conversion.



datacnvsynch.html | Timestamp icon Last updated: Sunday, 4 June 2017