26 Developing Web Services Using CICS, WMQ, and WMB
2.7.1 Advantages over COMMAREAs
The containers and channels approach has several advantages over
COMMAREAs:
Containers can be any size and, as a result, can extend beyond the maximum
32KB size of a COMMAREA. There is no limit to the number of containers
that can be added to a channel, and the size of the individual containers is
limited only by the amount of storage available.
A channel consists of multiple containers, enabling it to be used to pass data
in a more structured way. In contrast, a COMMAREA is a single block of data.
Unlike COMMAREAs, channels do not require the programs that use them to
know the exact size of data returned, making programming easier.
2.7.2 Channels
A channel ...