Delete a named channel container.
DELETE CONTAINER (CHANNEL)
>>-DELETE--CONTAINER(data-value)--+---------------------+------><
'-CHANNEL(data-value)-'
Conditions: CHANNELERR, CONTAINERERR, INVREQ
This command is threadsafe.
Description
DELETE CONTAINER (CHANNEL)
deletes a container from a channel and discards any data that it contains.
The
container is identified by name and by the channel for which it is
a container - the channel that “owns” it. The channel that owns the
container can be identified:
- Explicitly, by specifying the CHANNEL option.
- Implicitly, by omitting the CHANNEL option. If this is omitted,
the current channel is implied.
Options
- CHANNEL(data-value)
- specifies the name (1–16 characters)
of the channel that owns the container.
- CONTAINER(data-value)
- specifies the name (1–16 characters)
of the container to be deleted.
Conditions
- 122 CHANNELERR
- RESP2 values:
- 2
- The channel specified on the CHANNEL option could not be found.
- 3
- Either the current channel or the channel specified on the CHANNEL
option is read-only.
- 110 CONTAINERERR
- RESP2 values:
- 10
- The container named on the CONTAINER option could not be found.
- 16 INVREQ
- RESP2 values:
- 4
- The command was issued outside the scope of a currently-active
channel.
- 30
- You cannot delete a CICS-defined read-only container.