ChannelCreateContainer Method (String, Byte, Int32)

CICS Transaction Gateway V10.1.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: 10.1.0.0 (10.1.0.0)
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.
Remarks

The Container name must be between 1 and 16 characters in length and must consist of only the following types of character: Uppercase characters (A-Z) Lowercase characters (a-z) Digits (0-9) Special characters < > $ @ # / % & ? ! : | " = ' ; . - and _
See Also

Reference