Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright
|
Modifier and Type | Method and Description |
---|---|
void |
delete()
Deletes this channel and all the containers that are in it
- Any data in containers is discarded - All storage related to the channel and its containers is released |
default boolean |
exists()
Determines if this channel exists in CICS
|
BITContainer |
getBITContainer(java.lang.String containerName)
Get a container of BIT type, i.e.
|
CHARContainer |
getCHARContainer(java.lang.String containerName)
Get a container of CHAR type, i.e.
|
int |
getContainerCount()
Get the number of containers in this channel
|
java.lang.String |
getName()
Get the name of this channel
|
java.util.Iterator<Container> |
iterator()
Returns an iterator over elements of type
Container . |
static final java.lang.String COPYRIGHT
CHARContainer getCHARContainer(java.lang.String containerName)
containerName
- The name of the container.BITContainer getBITContainer(java.lang.String containerName)
containerName
- The name of the container.java.lang.String getName()
int getContainerCount() throws CICSConditionException
EXEC CICS API commands:
EXEC CICS QUERY
CICSConditionException
- if there's a problem
RespCodes:
void delete() throws CICSConditionException
EXEC CICS API commands:
EXEC CICS DELETE CHANNEL
CICSConditionException
- if there's a problem deleting the channel.
RespCodes:
default boolean exists() throws CICSConditionException
EXEC CICS API commands:
EXEC CICS QUERY
CICSConditionException
- if there's a determining channel existence
RespCodes:
java.util.Iterator<Container> iterator() throws CICSConditionRuntimeException
Container
. Note that this throws
a CICSConditionRuntimeException
on any failures performing the CICS API
commands, in order to conform to the Iterable
interface. The EXEC CICS
commands are executed when creating the iterator, the data in the iterator should
be considered representative of the state within CICS when the iterator was
constructed. Methods on the returned Iterator
do not throw any CICS-specific
exceptions.
EXEC CICS API commands:
EXEC CICS STARTBROWSE CONTAINER
EXEC CICS GETNEXT CONTAINER
EXEC CICS ENDBROWSE CONTAINER
iterator
in interface java.lang.Iterable<Container>
CICSConditionRuntimeException
- if there is a problem getting the information from CICS
RespCodes: