DFHCNV example for Link3270

This shows an example of a DFHCNV for a CICS® region using code page 939 for the server programs and code page 943 for most of the clients.

The COPY DFHBRCTD statement follows the DFHCNV TYPE=INITIAL statement, so it will use 939 and 943. This is used in the conversion of BRIHs.

PROG1 uses the same code pages, but PROG2 uses client code page 932 instead of 939. In order to achieve this, the TYPE=ENTRY statement for PROG2 contains overrides for the client and server code pages.
Figure 1. DFHCNV example for Link3270
DFHCNV TITLE 'EXAMPLE DFHCNV CONVERSION TABLE'
*
DFHCNV TYPE=INITIAL,SRVERCP=939,CLINTCP=943
*
COPY DFHBRCTD
*
DFHCNV TYPE=ENTRY,RTYPE=PC,RNAME=PROG1
DFHCNV TYPE=SELECT,OPTION=DEFAULT
DFHCNV TYPE=FIELD,OFFSET=0,DATATYP=CHARACTER,DATALEN=10018, *
LAST=YES
*
DFHCNV TYPE=ENTRY,RTYPE=PC,RNAME=PROG2, *
SRVERCP=939,CLINTCP=932
DFHCNV TYPE=SELECT,OPTION=DEFAULT
DFHCNV TYPE=FIELD,OFFSET=0,DATATYP=CHARACTER,DATALEN=500, *
LAST=YES
*
DFHCNV TYPE=FINAL
END