/AWS1/CL_M2_DATASET¶
Defines a data set.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_datasetname TYPE /AWS1/M2_STRING /AWS1/M2_STRING¶
The logical identifier for a specific data set (in mainframe format).
io_datasetorg TYPE REF TO /AWS1/CL_M2_DATASETORGATTRS /AWS1/CL_M2_DATASETORGATTRS¶
The type of dataset. The only supported value is VSAM.
io_recordlength TYPE REF TO /AWS1/CL_M2_RECORDLENGTH /AWS1/CL_M2_RECORDLENGTH¶
The length of a record.
Optional arguments:¶
iv_storagetype TYPE /AWS1/M2_STRING /AWS1/M2_STRING¶
The storage type of the data set: database or file system. For Micro Focus, database corresponds to datastore and file system corresponds to EFS/FSX. For Blu Age, there is no support of file system and database corresponds to Blusam.
iv_relativepath TYPE /AWS1/M2_STRING /AWS1/M2_STRING¶
The relative location of the data set in the database or file system.
Queryable Attributes¶
storageType¶
The storage type of the data set: database or file system. For Micro Focus, database corresponds to datastore and file system corresponds to EFS/FSX. For Blu Age, there is no support of file system and database corresponds to Blusam.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STORAGETYPE() |
Getter for STORAGETYPE, with configurable default |
ASK_STORAGETYPE() |
Getter for STORAGETYPE w/ exceptions if field has no value |
HAS_STORAGETYPE() |
Determine if STORAGETYPE has a value |
datasetName¶
The logical identifier for a specific data set (in mainframe format).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DATASETNAME() |
Getter for DATASETNAME, with configurable default |
ASK_DATASETNAME() |
Getter for DATASETNAME w/ exceptions if field has no value |
HAS_DATASETNAME() |
Determine if DATASETNAME has a value |
datasetOrg¶
The type of dataset. The only supported value is VSAM.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DATASETORG() |
Getter for DATASETORG |
relativePath¶
The relative location of the data set in the database or file system.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RELATIVEPATH() |
Getter for RELATIVEPATH, with configurable default |
ASK_RELATIVEPATH() |
Getter for RELATIVEPATH w/ exceptions if field has no value |
HAS_RELATIVEPATH() |
Determine if RELATIVEPATH has a value |
recordLength¶
The length of a record.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RECORDLENGTH() |
Getter for RECORDLENGTH |