Start of change

DELETE CONTAINER (CHANNEL)

Delete a named channel container.

Start of change
Read syntax diagramSkip visual syntax diagram
DELETE CONTAINER (CHANNEL)

>>-DELETE--CONTAINER(data-value)--+---------------------+------><
                                  '-CHANNEL(data-value)-'   

Conditions: CHANNELERR, CONTAINERERR, INVREQ

This command is threadsafe.

End of change

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

CHANNELERR
RESP2 values:
2
The channel specified on the CHANNEL option could not be found.
CONTAINERERR
RESP2 values:
10
The container named on the CONTAINER option could not be found.
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.
End of change