For introductory information about channels and containers, and guidance about using channels in non-Java applications, see the CICS® Application Programming Guide.
Table 1 lists the classes and methods that implement JCICS support for channels and containers.
Methods | JCICS class | EXEC CICS Commands |
---|---|---|
containerIterator() | Channel | STARTBROWSE CONTAINER |
createContainer() | Channel | |
deleteContainer() | Channel | DELETE CONTAINER CHANNEL |
getContainer() | Channel | |
getName() | Channel | |
delete() | Container | DELETE CONTAINER CHANNEL |
get(), getLength() | Container | GET CONTAINER CHANNEL [NODATA] |
getName() | Container | |
put() | Container | PUT CONTAINER CHANNEL |
getOwner() | ContainerIterator | |
hasNext() | ContainerIterator | |
next() | ContainerIterator | GETNEXT CONTAINER BROWSETOKEN |
remove() | ContainerIterator | |
link() | Program | LINK |
xctl() | Program | XCTL |
setNextChannel() | TerminalPrincipalFacility | RETURN CHANNEL |
issue() | StartRequest | START CHANNEL |
createChannel() | Task | |
getCurrentChannel() | Task | ASSIGN CHANNEL |
containerIterator() | Task | STARTBROWSE CONTAINER |
The CICS condition CHANNELERR results in a ChannelErrorException being thrown; the CONTAINERERR CICS condition results in a ContainerErrorException; the CCSIDERR CICS condition results in a CCSIDErrorException.