Copies the COMMAREA data associated with the request into the specified array.
Namespace:
IBM.CTGAssembly: IBM.CTG.Client (in IBM.CTG.Client.dll) Version: 9.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
Exception | Condition |
---|---|
System..::..ArgumentNullException | array is nullNothingnullptra null reference (Nothing in Visual Basic). |
System..::..ArgumentOutOfRangeException | The size of the COMMAREA data is greater than the length of array. |