DSCallParm class | QSYS API Reference Guide
Estimated reading time: 2 minutes
Describes a Data Structure (either single or Multi) as a parameter for a CALL to an IBMi program.
Namespace: ASNA.QSys.Runtime Assembly: ASNA.QSys.Runtime.dll
Inheritance: Object
Constructors
Name | Description |
---|---|
DSCallParm(IDS) | Constructs a DSCallParm for the given Data Structure. |
DSCallParm(IDS)
Constructs a DSCallParm for the given Data Structure.
DSCallParm(IDS)
Parameters
Type | Parameter name | Description |
---|---|---|
IDS | dataStructure | The Data Structure (single or Multi) to use as parameter. |
Properties
Type | Name | Description |
---|---|---|
List<IDSField> | BufferDescription | Returns the flat description of the data structure buffer. |
String | DSName | Gets the name of this Data Structure object. |
IDS | IDS | Gets the Data Structure |
Methods
Signature | Description |
---|---|
GetProgParm(DataDirection) | IDSCallParm.GetProgParm implementation. |
GetProgParm(DataDirection, Int32) | IDSCallParm.GetProgParm implementation. |
op_Explicit(DSCallParm) | Explicit cast to DataStructure. |
ToDataStructure() | Convert to a DataStructure type. |
ProgParm GetProgParm(DataDirection direction)
IDSCallParm.GetProgParm implementation.
ProgParm GetProgParm(DataDirection direction)
Parameters
Type | Parameter name | Description |
---|---|---|
DataDirection | direction | Direction of the data. |
Returns
Type | Description |
---|---|
ProgParm | A ProgParm describing the Data Structure for use in a CALL. |
ProgParm GetProgParm(DataDirection direction, int modsDimensions)
IDSCallParm.GetProgParm implementation.
ProgParm GetProgParm(DataDirection direction, int modsDimensions)
Parameters
Type | Parameter name | Description |
---|---|---|
DataDirection | direction | Direction of the data. |
Int32 | modsDimensions | Size of the MODS. |
Returns
Type | Description |
---|---|
ProgParm | A ProgParm describing the Data Structure for use in a CALL. |
DataStructure op_Explicit(DSCallParm dsCallParm)
Explicit cast to DataStructure.
Remarks
If the IDS member of the dsCallParm parameter is a DataStructure, the result is the IDS member cast to DataStructure. If the IDS member is a MultiDataStructure,the result is the Current member of IDS.
DataStructure op_Explicit(DSCallParm dsCallParm)
Parameters
Type | Parameter name | Description |
---|---|---|
DSCallParm | dsCallParm | A DSCallParm object. |
Returns
Type | Description |
---|---|
DataStructure |
DataStructure ToDataStructure()
Convert to a DataStructure type.
DataStructure ToDataStructure()