Copies the COMMAREA data associated with the request into the specified array.

Namespace:  IBM.CTG
Assembly:  IBM.CTG.Client (in IBM.CTG.Client.dll) Version: 1.0.0.0

Syntax

C#
public void GetCommareaData(
	byte[] array
)
Visual Basic
Public Sub GetCommareaData ( _
	array As Byte() _
)
Visual C++
public:
void GetCommareaData(
	array<unsigned char>^ array
)

Parameters

array
Type: array<System..::..Byte>[]()[][]
A byte array to copy the COMMAREA data into.

Remarks

The COMMAREA held within the EciRequest is copied in to the specified array. Subsequent modifications to the array will not be reflected in the COMMAREA that is sent to CICS unless SetCommareaData(array<Byte>[]()[][]) is invoked with the modified array.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionarray is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::..ArgumentOutOfRangeExceptionThe size of the COMMAREA data is greater than the length of array.

See Also