ChannelCreateContainer Method (String, Byte, Int32)

CICS Transaction Gateway V9.3.0.0
Creates a new Container of type CHAR within this Channel.

Namespace:  IBM.CTG
Assembly:  IBM.CTG.Client (in IBM.CTG.Client.dll) Version: 9.1.0.0 (9.1.0.4)
Syntax

public Container CreateContainer(
	string containerName,
	byte[] charData,
	int ccsid
)

Parameters

containerName
Type: SystemString
The name of the new Container.
charData
Type: SystemByte
A byte array to be placed in the Container.
ccsid
Type: SystemInt32
The CCSID of the character data supplied.

Return Value

Type: Container
The newly created Container.
Exceptions

ExceptionCondition
InvalidNameExceptionAn invalid name was specified for the Container.
ArgumentNullExceptionname is .
ArgumentOutOfRangeExceptionccsid is set to zero or a negative number.
NotSupportedExceptionccsid is not a supported CCSID.
ContainerExistsExceptionA Container with the same name already exists within the Channel.
ObjectDisposedExceptionThe Channel has been disposed.
See Also

Reference