/AWS1/CL_M2_PRIMARYKEY¶
The primary key for a KSDS data set.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_offset TYPE /AWS1/M2_INTEGER /AWS1/M2_INTEGER¶
A positive integer value representing the offset to mark the start of the primary key in the record byte array.
iv_length TYPE /AWS1/M2_INTEGER /AWS1/M2_INTEGER¶
A strictly positive integer value representing the length of the primary key.
Optional arguments:¶
iv_name TYPE /AWS1/M2_STRING /AWS1/M2_STRING¶
A name for the Primary Key.
Queryable Attributes¶
name¶
A name for the Primary Key.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
offset¶
A positive integer value representing the offset to mark the start of the primary key in the record byte array.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_OFFSET() |
Getter for OFFSET |
length¶
A strictly positive integer value representing the length of the primary key.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LENGTH() |
Getter for LENGTH |