
Chapter 2. Service-oriented architecture and CICS 33
Example 2-2 API to convert codepage
EXEC CICS PUT CONTAINER(temp) DATATYPE(CHAR)
FROMCCSID(codepage1) FROM(input-data)
EXEC CICS GET CONTAINER(temp) INTOCCSID(codepage2)
SET(data-ptr) FLENGTH(data-len)
2.7.5 Migrating COMMAREA to channels and containers
To migrate programs exchanging data via a COMMAREA on a LINK command,
the format of the command must be changed and proper commands must be
added to use channels and containers.
Figure 2-9 shows an example of this.
Figure 2-9 Changes from commarea to channels using LINK
The same applies to programs using the START command with the
COMMAREA. Figure ...