Copies the COMMAREA data associated with the request into a new array.

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

Syntax

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

Return Value

An array of bytes representing the COMMAREA associated with the request, or nullNothingnullptra null reference (Nothing in Visual Basic) if no COMMAREA has been set.

Remarks

The returned array is a clone of the COMMAREA held within the EciRequest. 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.

See Also